Troubleshooting Plug-in Assembly Error When Importing a Solution in Dynamics CRM

Importing a solution in Dynamics CRM usually goes off without a hitch. There are times though when the error reported is not easy to decipher. The error below is an example of one of them - a plug-in assembly error. The error was displayed as the solution failed to import.

Initial attempts to ensure that the plugin assembly and steps where included in the solution were performed but re-attempts at importing continue to fail.

One of the things to look our for during continuous development is code clean up or changes. This may be a renaming of a class name or the removal of a class all together from the assembly.

With the error above it was tough to determine exactly what about the plugin was different. In this particular case a class was removed from the plugin assembly, so when importing into the new environment CRM had an issue updating the assembly and reported the above error.

One way to determine if anything has changed is to compare the classes in the assembly using the plugin registration tool. It is probably the fastest way to identify what is registered in the source system and will give you the ability to connect to the destination system to correct the problem.

Note: In the latest SDK to Plugin Registration Tool is located under SDKToolsPluginRegistration

In this case the fix was to unregister the removed class of the assembly from the destination. Once complete a re-attempt to import the CRM solution was done and then imported successfully.

We hope you enjoyed our blog! For more information head on over to our main blog page or our CRM 2015 page for all the latest updates!

Happy CRM'ing!

Dynamics CRM Error: Importing Solutions - An Error has Occurred {1}{0}

You may encounter an issue when importing solutions into one or more Dynamics CRM 2013 organizations across a single deployment. This is where the error generated in the CRM Front End Application Event Log indicates that there is not enough disk space, but you have plenty of room on the hard drive to save your solution.

CRM Exception: Message: An unexpected error occurred., ErrorCode: -2147220970, InnerException: System.IO.IOException: There is not enough space on the disk.

 

Dynamics CRM Error: Importing Solutions - An Error has Occurred {1}{0}

The actual error message reads "An error has occurred. {1}{0}".

Check the CRM folder location: SystemDrive:Program FilesMicrosoft Dynamics CRMCustomizationImport

This is used to process data imports. Simply archiving/deleting the contents of this folder location should resolve the issue. You may also want to implement a maintenance script to remove the contents of this folder on a regular basis, to prevent the issue from recurring.

Hopefully this will save you some headache if you encounter this error. Remember to subscribe to our Dynamics CRM blog as we are constantly adding new content, and if you ever need CRM assistance, our support team is always here to help!

Happy CRM'ing!