locked
ErrorSerializingRegFile - Plugin Deployment Error RRS feed

  • Question

  • Hi,

    I'm trying to deploy a CRM 2011 plugin to a solution and i keep getting this error.

    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.CrmClient.targets    176    4    CrmPackage

    I've done some browsing on the next and i seen some suggestions to edit the RegisterFile.crmregister file. However mine just contains the default data.  See Below

     

     

    <?xml version="1.0" encoding="utf-8"?>
    <Register xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/crm/2011/tools/pluginregistration">
      <Solutions />
      <XamlWorkflows />
    </Register>

     

    Whats more alarming is i can no longer deploy solutions that i could deploy last week, and they come back with the same error and my co-workers can deploy their solutions but not mine.

     

    Any Ideas?

    Monday, February 6, 2012 4:27 PM

Answers


  • You might also try checking out the RegisterFile.crmregister from the CrmPackage-project.

    Esa Kirvesmäki Avanade

    Thursday, February 16, 2012 11:27 AM

All replies

  • Did you by chance get removed as a Deployment Admin for CRM? Is the assembly signed (I assume so)? The next step would be to look at enabling tracing on the CRM Server to capture more details about the error. If you're able to do this, paste the results in your post so we can take a closer look. Also, have you looked into using the Plug-In Registration tool available in the Tools folder in the CRM 2011 SDK? That gives you a nice GUI to register assemblies & plug-ins instead of having to use a registration file etc. Jeremy

    Jeremy Winchell Avtex http://blog.avtex.com

    Tuesday, February 7, 2012 12:03 AM

  • You might also try checking out the RegisterFile.crmregister from the CrmPackage-project.

    Esa Kirvesmäki Avanade

    Thursday, February 16, 2012 11:27 AM
  • Yes, checking out REgisterFile.crmregister file from Source Control fixes the error.

    View Kevin Dan's LinkedIn profileView Kevin Dan's profile Please click "Mark As Answer" on the post if this post answers the question or "Vote as Helpful" when it helps.

    Wednesday, March 14, 2012 5:57 PM
  • If you are using TFS, try to check-out RegisterFile.crmregister file.

    Edo

    Tuesday, July 31, 2012 6:36 AM
  • Just Open the Visual studio Project in Administrator Login(Run As Administrator) and checkout the RegisterFile.crmregister file and deploy . Some times normal user login will not checkout the required files required !
    Tuesday, October 17, 2017 7:31 PM