Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Upgrade CRM 2011 to CRM 2015

Posted on by 3,569

Dear Experts,

Kindly note that I successfully imported the CRM organization from CRM 2011 > CRM 2013 SP1 > CRM 2015, but when I tried to open the CRM web application, the following error occurred: "Unable to load plug-in type" and in the event viewer the following exception details entry is created:

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 30/06/2017 15:01:42
Event time (UTC): 30/06/2017 13:01:42
Event ID: b02b6f17b28948fcb34864136ff95ffc
Event sequence: 37340
Event occurrence: 1
Event detail code: 0
 
Exception information:
    Exception type: CrmException
    Exception message: Unable to load the plugin type: Microsoft.Crm.ObjectModel.AddressComputationPlugin
   at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
   at Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveCommand.Execute()
   at Microsoft.Crm.Application.Controls.NavBar.GetCurrentUserProfileImageUrl()
   at Microsoft.Crm.Application.Controls.NavBar.ConfigureHeader()
   at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.ConfigureControlInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Request information:
    Request URL: http://<CRMServerName>/<OrgName>/main.aspx
    Request path: /<OrgName>/main.aspx
    User host address: 22.1.66.104
    User: <DomainName>\<UserName>
    Is authenticated: True
    Authentication Type: Negotiate
    Thread account name: <DomainName>\<UserName>

Thread information:
    Thread ID: 42
    Thread account name: <DomainName>\<UserName>
    Is impersonating: False
    Stack trace:    at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
   at Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveCommand.Execute()
   at Microsoft.Crm.Application.Controls.NavBar.GetCurrentUserProfileImageUrl()
   at Microsoft.Crm.Application.Controls.NavBar.ConfigureHeader()
   at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.ConfigureControlInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

The above error occurred even when I try to open the plugin registration Tool and when enabling the Trace.

Note that the section mentioned in this link is already there:

      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Xrm.Sdk" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="4.0.0.0-7.0.0.0" newVersion="7.0.0.0" />
      </dependentAssembly>

 

Any help is highly appreciated.

Charles.

*This post is locked for comments

  • Charles Abi Khirs Profile Picture
    Charles Abi Khirs 3,569 on at
    RE: Upgrade CRM 2011 to CRM 2015

    In fact I don't know if there are any unsupported customization made because I am temporarily working on the project only to handle the upgrade process and I prefer not to go with the SSIS migration.

  • Wayne Walton Profile Picture
    Wayne Walton 13,726 on at
    RE: Upgrade CRM 2011 to CRM 2015

    Were there unsupported customizations made to the database in the 4.0 or 2011 era?  Any custom indexes or anything else that would be nonstandard practice?  Reverting any unsupported customizations and then trying the upgrade path again might help.

    Alternately, if might be worthwhile to look at a migration.  Look at using something like SSIS to move to a fresh D365 instance without doing the upgrade path.  Note, if you can export the system solution from the upgraded CRM 2013 instance you have, you can import it into a D365 vanilla instance and it will work to create all your custom attributes and entities.  

  • Charles Abi Khirs Profile Picture
    Charles Abi Khirs 3,569 on at
    RE: Upgrade CRM 2011 to CRM 2015

    Note that the CRM2011 environment was previously upgraded from CRM 4.0 since long time ago.

    I tried the suggestion and the CRM 2015 is opened but it gives a lot of errors "The 'RetrieveMultiple' method does not support entities of type 'hierarchyrule'."

  • Wayne Walton Profile Picture
    Wayne Walton 13,726 on at
    RE: Upgrade CRM 2011 to CRM 2015

    I assume this is a test upgrade.  As such, testing a fix against the database seems fine.  Alternately, I'd try upgrading a copy of the 2013 database again, and see if it happens again.

  • Charles Abi Khirs Profile Picture
    Charles Abi Khirs 3,569 on at
    RE: Upgrade CRM 2011 to CRM 2015

    Not at all. CRM 2013 is perfectly working.

    I also read in a forum that: This issue is related to corruption during the upgrade process. If you make a select on plugins on a vanilla (working) CRM, you will see that plugin is actually of type: Microsoft.Crm.Common.ObjectModel.AddressComputationPlugin and Replacing the plugin names in the database, can work but I don't think it will be a good idea.

     

    Should i give it a try?

  • Wayne Walton Profile Picture
    Wayne Walton 13,726 on at
    RE: Upgrade CRM 2011 to CRM 2015

    Hmm, does it happen if you try opening CRM when you have only upgraded to CRM 2013?  

  • Charles Abi Khirs Profile Picture
    Charles Abi Khirs 3,569 on at
    RE: Upgrade CRM 2011 to CRM 2015

    Thank you Wayne for your quick reply.

    Note that there were 2 plugins used in the CRM 2011 system, but i removed them (no need for them anymore) before applying the upgrade.

    In addition, the plugin registration tool is not opening due to the error mentioned above.

  • Suggested answer
    Wayne Walton Profile Picture
    Wayne Walton 13,726 on at
    RE: Upgrade CRM 2011 to CRM 2015

    You should use the plugin registration tool and disable all your old plugins.  Then, if you need, turn them on one by one.  Be aware, all your old 4.0-style plugins will need to be completely rewritten before you can use them in your upgraded system.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans