Unable to export the solution after installing Dynamics 365 Update 2 on Dynamics CRM 2016 On-Premise


  • To investigate this issue enable the tracing on the CRM Server
  • To enable Tracing Click Here
  • After enabling the Tracing. Follow the steps below.
  1. When you try to export the Default Solution if following error occurs
  2. 20
  3. Once you get the error, close it and come back to the CRM Server
  4. Navigate to C:\Program Files\Microsoft Dynamics CRM\Trace and Find the following file.
  5. 16
  6. Open and find the error caused for Export failure
  7. If you find the following exception “Workflow export: FAILURE, workflow id {919e14d1-6489-4852-abd0-a63a6ecaac5d} name Lead to Opportunity Sales Process: System.NullReferenceException: Object reference not set to an instance of an object.
  8. Open the SQL Server Management Studio
  9. Navigate to the Organization Database e.g. Org_MSCRM
  10. Navigate to Views à FilteredWorkflow
  11. Right click on Filtered View and click on “Select Top 1000 Rows”
  12. 17
  13. If you find NULL value in “businessprocesstype” for “Business Process Flow” (categoryname)
  14. 18
  15. Now select the FilteredWorkflow and click “Edit Top 200 Rows” and update the “businessprocesstype” from NULL to 0.
  16. 19
  17. Now Try to export. It should be Successful. 🙂
Advertisements

About Kishore Dhanekula

MS Dynamics CRM and .NET Architect
This entry was posted in CRM, Dynamics 365, Ms Dynamics CRM 2013, MS Dynamics CRM 2015, MS Dynamics CRM 2016 and tagged , , , , , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s