Category Archives: Upgrading

CRM 2015: Organization import stops because of JavaScript errors? Check out this workaround!

crm import errorWhen you’re importing your organization, you might find that your import process comes to a dead stop because the verification found JavaScript code that is not compatible with CRM 2015. However, you might want to import your organization regardless, and work with the JavaScript code once it’s up and running (for the most part).

Fortunately, there’s a workaround for this. It’ll require fiddling a bit with the registry, but it’s no biggie and it’s something I learned from a Microsoft engineer.

To allow our import to continue, we needs to add the IgnoreChecks registry key to the computer that is running Microsoft Dynamics CRM.

  1. Click Start, click Run, type regedit, and then click OK.
  2. In the registry, locate the following subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM.
  3. Right-click MSCRM, point to New, click DWORD Value, and then type IgnoreChecks.
  4. Double-click IgnoreChecks, and then type 1 in the Value data field.

That’s it! Now run again your import process and feel happy that you got this stumbling block out of the way. Note that although you will get the error message again, the Next button will not be grayed out, allowing you to continue with the import process.

However, don’t forget to fix your code! This is useful when yo know that the failing code is somewhat isolated and will be hit only on particular occasions. As always, follow this at your own risk. Worst-case scenario would be that you need to fix your code and then re-import your organization.

Have fun!

Tagged , ,

CRM 2013+: Where did my Security menu option go?!

We’ve been working with our migration from CRM 2011 to 2015, and in the process we realized that we lost the Security option from the navigation. It was gone. Lost. Nowhere to be found. How are we going to edit security roles and related items? Hairs were pulled. Questions were asked. And finally, we found the reason why.

If you remember, the Security option is not part of the original CRM 2011 options, since user management was under the Administration area. That was the first clue.

In addition to that, we have been including the Site Map in our master solution since day one into all our environments. That meant that the Site Map is being overwritten with our old navigation! In the process, the Security option was cut out! To fix our new and shiny 2015 organization, we need to manually edit the Site Map. To do so, we need to do the following:

  1. Create a new solution.
  2. Add the Site Map to the solution.
  3. Export.
  4. Unzip the solution and open the customization.xml file.
  5. Include the missing option nodes in the appropriate area.
  6. Save the file.
  7. Zip the solution with the modified file.
  8. Import the solution with the modified customizations.xml file.

In our case, below is the XML line we needed to add (highlighted in white):


This work was facilitated by the wonderful software known as Araxis Merge. Don’t have Araxis? Go get it now. It’s fantastic.

Maybe an easier way to deal with this is to compare your existing Site Map with the one from the newly-minted organization, and note the differences. If something is missing from the old one, include it. Another way to do it (and maybe the easiest one) would be to exclude the Site Map from your main solution.

Whatever approach you take, now you know why some menu options can disappear from your new organization installation.

Have fun!

Tagged , , , ,