An error occurred while importing a Solution – Dynamics 365 CE

Issue
Recently I faced this issue while importing Dynamics 365 CE solution , I got following error:
image_2020_08_24T18_25_38_938Z

Solution
As you can see in the above, there is no error details, but when I tried to look based on the error code, I found below link

https://support.microsoft.com/en-us/help/4464324/input-string-was-not-in-a-correct-format-error-occurs-when-importing-s

But it seems this KB is not updated as currently Dynamics 365 CE supports

v9

And all of our assemblies was referencing correct .net version.

While trying troubleshooting, I tried to check solution list in the target organization and I found plugin profiler solution is installed in the target organization. And when I removed plugin profiler from target organization, I was able to import solution without any issue.

Summary
So if you are getting this error one potential issue could be plugin profiler if it is installed in the target organization. Remove it and try to install it again.

Hope it will help someone!
Keep learning, Keep sharing !!

One thought on “An error occurred while importing a Solution – Dynamics 365 CE

Leave a Reply

Your email address will not be published. Required fields are marked *