the application requires that assembly microsoft.reportviewer.processingObjectModel version 11.0.0.0 be installed in the global assembly cache first

前端 未结 9 1018
天涯浪人
天涯浪人 2021-02-08 18:08

I have a small windows forms application created in Visual Studio 2012 that uses ReportViewer version 11.0.0.0.

The application target framework is .NET 4.0 and its depl

相关标签:
9条回答
  • 2021-02-08 19:04

    It depends on the setup type you are using but basically, it means the required library is missing from your server or computer. To enable the application to download from the server (In a client-server architecture), you need to include the file(s) in the project.

    1. Go to your application option and locate the "Publish" tab
    2. Click on "Application files"
    3. In the ensuing dialog, select to include all the libraries you want included (or that are required to run your application on the client machine and click "Ok")
    4. Build your application and then publish to the server.

    I hope this works for you, it worked for me in Visual Studio 2010 Professional

    0 讨论(0)
  • 2021-02-08 19:05

    In case of Windows 10 it won't work installing Microsoft Report Viewer 2010 SP1 as describe by user1236560. First you need to install Prerequisites for SQL Server Management Objects (SQLSysClrTypes.msi) need to choose between x86 and x64 depending on your hardware. You could find it on: http://origin.www.ms.akadns.net/downloads/en/details.aspx?FamilyID=16BC778C-357B-46E9-8356-D575903AC831

    After that you need to install MICROSOFT® REPORT VIEWER 2012 RUNTIME that you could find on: https://www.microsoft.com/en-us/download/details.aspx?id=35747

    Both of this package will have to be installed.

    0 讨论(0)
  • 2021-02-08 19:08

    A better option would be to install the Microsoft Report Viewer 2010 SP1 Redistributable Package at: http://www.microsoft.com/en-us/download/details.aspx?id=6610

    Your users will need to have this package installed as well. If you just copy and paste a MS DLL, you'll have to redeploy it every time you upgrade your application.

    0 讨论(0)
提交回复
热议问题