CRM 2011 – Error registering plugins and/or workflows. The resource string “ErrorSerializingRegFile” for the “RegisterPlugin” task cannot be found

I got this error today. whilst trying to deploy my updated CRM 2011 plugin

Error      1              Error registering plugins and/or workflows. The resource string “ErrorSerializingRegFile” for the “RegisterPlugin” task cannot be found. Confirm that the resource name “ErrorSerializingRegFile” is correctly spelled, and the resource exists in the task’s assembly.           C:\Program Files (x86)\MSBuild\Microsoft\CRM\Microsoft.CrmDeveloperTools.12.targets             176         4              CrmPackage

 

This is one of those frustrating errors because to my knowledge nothing had really changed.  This forum post was very useful and set me off in the right direction.

http://social.microsoft.com/Forums/en-US/16f85a83-236d-4789-b3e4-02e6d4a4e5f1/errorserializingregfile-plugin-deployment-error?forum=crm

Now I have had this problem before and will no doubt have this problem again in the future.  The reason for the problem in this case was because RegisterFile.crmregister file was read only.  When you click deploy visual studio will try and write to this file and was failing because it couldn’t write to it.

So to resolve the problem you need to check out or make editible the RegisterFile.crmregister file.  Deploy again and it will hopefully work without any problems

 

 

Advertisement

5 thoughts on “CRM 2011 – Error registering plugins and/or workflows. The resource string “ErrorSerializingRegFile” for the “RegisterPlugin” task cannot be found

  1. Kyle May 13, 2014 / 6:52 pm

    Yeap that was it. Thank you!!

    Like

  2. Miles January 15, 2015 / 5:23 pm

    Thanks. That fixed it.

    Like

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 )

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.