web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

on Premise upgade from 8.1 to 8.2 giving this error Could not load type 'Microsoft.Crm.Sdk.Messages.AppModuleCollection' from assembly 'Microsoft.Crm.Sdk.Proxy, Version=8.0.0.0,

(0) ShareShare
ReportReport
Posted on by 13

Hi 

i have upgraded a customers D365 from 8.1 to 8.2 recompiled the plugins using 8.2 objects and ran the roll ups to 8.2

im getting this error in event viewer and D365 is not loading

i have checked the C:\Program Files\Microsoft Dynamics CRM\CRMWeb\ folder and Microsoft.Crm.Sdk.Proxy version is 8.2

for some reason its looking for 8.0 i think

Application domain: /LM/W3SVC/1/ROOT-1-133275428880610665
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\
Machine name: ***-CRM-*****

Process information:
Process ID: 3812
Process name: w3wp.exe
Account name: **********\Administrator

Exception information:
Exception type: TypeLoadException
Exception message: Could not load type 'Microsoft.Crm.Sdk.Messages.AppModuleCollection' from assembly 'Microsoft.Crm.Sdk.Proxy, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
at Microsoft.Crm.Application.Controls.NavBar.RetrievePublishedAppModules(Boolean isAppSwitcherShellFeatureEnabled)
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)

Count anyone point me in the right direction to resolve

thanks
R

I have the same question (0)
  • Hüseyin Sahin Profile Picture
    on at

    Hello Roughan, 

    maybe the update did not touch the right DLL files to replace them with the right version. 

    Else sometimes developers place the CRM DLLs inside the Global Assembly Cache (GAC) on the Server. 

    When CRM is updated we replace in the program path inside the CRM bin folder the DLLs but the Global Assembly Cache is not touched by CRM. 

    In the Runtime of the Plugin / CRM it tries to load first the GAC then the BIN DLLs causing such errors. 

    You can run Procmon Process Monitor - Sysinternals | Microsoft Learn to monitor in which path the runtime is looking for the DLLs.

    Should you find any CRM DLLs in the GAC they should be removed and properly used from the BIN folder of CRM. 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 72 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 29 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans