locked
Assemblies not exists on server RRS feed

  • Question

  • User1671244787 posted

    Iam trying to get my asp.net app to run on Windows Server 2008 and I get error about these assemplies not being on the server:


    Server Error in '/ContractInvoices' Application.
    --------------------------------------------------------------------------------


    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.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    Source Error:

    Line 20: <compilation debug="false" targetFramework="4.5">
    Line 21: <assemblies>
    Line 22: <add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" />
    Line 23: <add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" />
    Line 24: <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

    Source File: F:\ContractMgmt\ContractInvoices\web.config Line: 22

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' could not be loaded.

    It also cannot load the Microsoft.ReportViewer.Common and stdole.

    How do I get these installed on the server?

    Thursday, November 21, 2013 11:46 AM

Answers

  • User-1509636757 posted

    Line 22: <add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" />

    You can download proper version of reportviewer and have it installed or get the binaries on server: http://www.microsoft.com/en-us/download/details.aspx?id=6442

    hope it helps./.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, November 21, 2013 12:35 PM

All replies

  • User-1509636757 posted

    Line 22: <add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" />

    You can download proper version of reportviewer and have it installed or get the binaries on server: http://www.microsoft.com/en-us/download/details.aspx?id=6442

    hope it helps./.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, November 21, 2013 12:35 PM
  • User-801004448 posted

    How do I get these installed on the server?

    You can log on server remote desktop, download report viewer component and install it. Install is very simple.

    If you don't have server administrator access, you need to ask hosting provider to install Report Viewer for you.

    Monday, November 25, 2013 2:04 AM