Saturday, July 21, 2012

CRM 2011–error when upgrading a CRM 4 database

I recently got an error that stated “could not load file or assembly 'Microsoft.Crm.Sdk, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.” while I was importing a CRM 4 database into a CRM 2011 instance.

The way I managed to get around it was to add the following section right at the end of the CRMWeb’s web.config file (right before the ending configuration tag)

    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <assemblyIdentity name="Microsoft.Crm.Sdk" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="" newVersion="" />

No comments: