locked
? Error while deploying webpages in crm 2011 RRS feed

  • Question

  • Hi All,

    I have deployed all webpages to crm 2011 making virtual directory.

    and when i am browse this webpages showing below error :

    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Could not load file or assembly 'Microsoft.Crm.Sdk, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    Source Error:

    Line 106:   <assemblies>

    Line 107:    <add assembly="Microsoft.Crm.SdkTypeProxy, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

    Line 108:    <add assembly="Microsoft.Crm.Sdk, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

    Line 109:    <add assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

    Line 110:    <add assembly="Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>


    Source File: C:\Program Files\Microsoft CRM\CRMWeb\abbprosales\ProjectExplore\web.config    Line: 108

     

    I have to modify something in web.config file ??? or else what to do ??

    Thanks



    Thursday, July 28, 2011 12:00 PM

All replies

  • I would question why your application references a version 3.5 of a CRM assembly. CRM 2011 supports the CRM 4 web service endpoint, so it's OK to use the version 4.0 CRM assemblies, but previous versions won't work. I suggest you change the references in the web site to use version 4.0 of the Micosoft.Crm.Sdk assembly
    Microsoft CRM MVP - http://mscrmuk.blogspot.com  http://www.excitation.co.uk
    Thursday, July 28, 2011 5:03 PM
    Moderator
  • Hi JOHN_M2,

    Check the following link, http://nishantrana.wordpress.com/2011/01/20/could-not-load-file-or-assembly-microsoft-crm-version5-0-0-0-cultureneutral-publickeytoken31bf3856ad364e35-or-one-of-its-dependencies-the-system-cannot-find-the-file-specified-or-deploying/

    Regards,

     

    Sunday, July 31, 2011 11:12 AM