Skip to main content

Notifications

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

  • Hüseyin Sahin Profile Picture
    on at
    RE: 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,

    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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 671 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 167 Super User 2025 Season 1

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 138 Most Valuable Professional

Product updates

Dynamics 365 release plans