Academic Term: Institutions. Academic Terms: Institutions: By Country/State. We are moving from Visual studio 2005 to VS 2012. Our application user report viewer control. With upgrade I had to add references to microsoft.reportviewer.webforms.dll, common.dll of version 11.0.0.0. I use this report viewer control to display rdlc report. It is working fine locally on my work station. Microsoft.ReportViewer.ProcessingObjectModel.dll 2(iv). Now use the following command to copy the dll file to your bin directory: copy.dll d: YourProject bin 3. COPY Microsoft.ReportViewer.Common cd C: WINDOWS assembly GACMSIL Microsoft.ReportViewer.Common 3 (i) Type 'dir' and press 'enter'. You would be able to see the following folder.
- Microsoft Reporting Winforms Reportviewer
- Microsoft Report Viewer Winforms 11.0.0.0 Download
- Microsoft Report Viewer 2012 Runtime
2020腾讯云10周年活动,优惠非常大!(领取2860元代金券),
地址:https://cloud.tencent.com/act/cps/redirect?redirect=1040
2020阿里云最低价产品入口,含代金券(新老用户有优惠),
地址:https://www.aliyun.com/minisite/goods
I recently upgraded my n-tier solution from .NET 3.5 vs 2008 to 4.5 visual studio 2012. Every thing went fine apart from crystal reports and I had to install new runtime crystal reports for visual studio 2012 from the following link http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_5.exe. After installing the above package I had to resolve some deprecated function and properties of CrystalViewer and after that reports rendering properly in development environment (Windows 7 64 bit, SQL Server 2005, Visual Studio 2012). When I deployed the package in test environment windows server 2008 R2 the Application failed to load by throwing error Could not load file or assembly Microsoft.ReportViewer.WebForms, Version=11
I managed to resolve ReportViewer.WebForms error by copying the DLL from C:Program Files (x86)Microsoft Visual Studio 11.0ReportViewer to bin folder of solution and set property copylocal = true and deployed the package. After that I received the error Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=11.0.0.0 . I tried to search that DLL on my machine but couldn't. when project is running in visual studio, In Debug-> Windows->Module the file is not listed however in global assembly cache that file is installed but I don't know how its installed to global cache and from where . I found one solution that I had to install ReportViewer.msi from microsoft package but if i install this package it asks me to install SQL Server 2012 which I dont wan't. Could any one help me to resolve this issue. Thanks
c#asp.net.netvisual-studio-2012reporting-services|
this questionedited Oct 20 '14 at 3:43CrazyPyro 1,184 10 17 asked Mar 7 '14 at 15:03 raja 185 1 2 11 |
7 Answers
7
解决方法You can install the Microsoft Report Viewer 2012 Runtime and change your references so they point to the ones installed by the runtime.
I have installed the runtime without it asking for SQL Server 2012. Before installing try uninstalling any previous versions of report viewer.
|
this answer answered Mar 7 '14 at 15:15 wakthar 395 1 3 11 thanks. when i try to install reportviewer.msi on windows server 2008 it says the 'the file was blocked as it did not have a valid digital signature that verifies its publisher. when i click unknown publisher, check certificate, install certificate. It still does not work. any idea how to get rid from this issue – raja Mar 7 '14 at 15:59 Managed to install the reportviewer on windows server 2008. the dll error is gone but the report page is still blank in crystal viewer. – raja Mar 7 '14 at 16:08 3 If you don't want to install this on the server, there's also a NuGet package by the same name that you can add to your web project. – CrazyPyro Oct 20 '14 at 1:40 I have a web app installed in a server and when I try to access the web application I get the same error. Does the server need to have the ReportViewer.msi installed? I can debug it in my computer and it works fine. – Si8 Sep 28 '15 at 20:41 |
Dont know if this is good to anyone, but search all these dlls:
- Microsoft.ReportViewer.Common.dll
- Microsoft.ReportViewer.ProcessingObjectModel.dll
- Microsoft.ReportViewer.WebForms.dll
- Microsoft.ReportViewer.WinForms.dll
- Microsoft.ReportViewer.DataVisualization.dll
You find them in C:WindowsassemblyGAC_MSIL..
, and then put them in the references of your project.
For each of them say: local copy, and check for 32 or 64 bit solution.
|
this answeredited May 22 '15 at 20:27KyleMit 42.5k 17 176 284 answered Sep 11 '14 at 21:26 Dorschfisch 347 1 3 2 Great Answers
. This worked for me only adding the
MicrosoftReportViewer.Common
and Microsoft.ReportViewer.WebForms
with Copy Local set to true. I imagine the requirement of the others listed in the answer are dependent upon the type of report in use. – T3.0 Sep 3 '15 at 3:26 1 Thanks, you saved my day, for my WinForms 2013 c# app changing to 'Local Copy' for MicrosoftReportViewer.Common.dll
and Microsoft.ReportViewer.WinForms.dll
did the job! – MichaSchumann Oct 2 '15 at 14:42 Thank you very much! I was pulling a package down from our live server and couldn't find the reference in visual studio for this. Browsing to that file location, found them right away. – Khaneliman Oct 12 '15 at 18:27 | As Microsoft.ReportViewer.2012.Runtime has Microsoft.ReportViewer.WebForms
, Microsoft.ReportViewer.Common
and Microsoft.ReportViewer.ProcessingObjectModel
libraries, just run this command on PM Console:
Note : If you want to completely remove the old Microsoft.ReportViewer.xxx
references, you can remove them from Manage NuGet Packages>Installed Packages menu and then remove the related lines from packages.config
file in your project. After that it will not comeback again during building of the project.
|
this answeredited Nov 12 '15 at 11:47 answered Nov 12 '15 at 11:31 Murat Yıldız 2,955 2 20 28 |
You can download the nuget package too.
|
this answer answered Apr 1 '16 at 11:52 Ognyan Dimitrov 2,399 1 12 36 |
Could not load file or assembly 'Microsoft.ReportViewer.Webforms' or
Could not load file or assembly 'Microsoft.ReportViewer.Common'
This issue occured for me in Visual studio 2015.
Reason:
the reference for Microsoft.ReportViewer.Webforms dll is missing.
Possible Fix
Step1:
To add 'Microsoft.ReportViewer.Webforms.dll' to the solution.
Navigate to Nuget Package Manager Console as
'Tools-->NugetPackageManager-->Package Manager Console'.
Then enter the following command in console as below
PM>Install-Package Microsoft.ReportViewer.Runtime.WebForms
Then it will install the Reportviewer.webforms dll in '.packagesMicrosoft.ReportViewer.Runtime.WebForms.12.0.2402.15lib' (Your project folder path)
and ReportViewer.Runtime.Common dll in '.packagesMicrosoft.ReportViewer.Runtime.Common.12.0.2402.15lib'. (Your project folder path)
Step2:-
Remove the existing reference of 'Microsoft.ReportViewer.WebForms'. we need to refer these dll files in our Solution as 'Right click Solution >References-->Add reference-->browse '. Add both the dll files from the above paths.
Step3:
Change the web.Config File to point out to Visual Studio 2015. comment out both the Microsoft.ReportViewer.WebForms and Microsoft.ReportViewer.Common version 11.0.0.0 and Uncomment both the Microsoft.ReportViewer.WebForms and Microsoft.ReportViewer.Common Version=12.0.0.0. as attached in screenshot.
Also refer the link below.
this answeredited Aug 25 '16 at 17:55 answered Aug 23 '16 at 23:14 Krishnakumar Kristamshetty 69 1 5 |
Add Microsot.ReportViewer 2010 or 2012 in prerequisite of setup project then it first install Report Viewer if it's not present in 'C:WindowsassemblyGAC_MSIL..' and after installing, it installs set up project
|
this answer answered Jan 8 '16 at 4:17 Sapna Panjabi 11 1 |
Simply install Microsot.ReportViewer.2012.Runtime nuget package as shown in this answer http://stackoverflow.com/a/33014040/2198830
|
this answer answered Oct 8 '15 at 11:10 Kasper Roma 966 1 10 17 |
- 1C#文件与流(FileStream、StreamWriter 、StreamReader 、File、FileInfo、Directory、DirectoryInfo、Path、Encoding)
- 2【C# 】Parser Error Message: The file 'XXXXXX' does not exist
- 3C# read excel and CSV file
- 4C#多文件上传,客户端input file控件
- 5C# copy file to remote shared folder
- 1微信公众号文章采集,并发布到WordPress
最新文章
- 1Asp.net SignalR 应用并实现群聊功能 开源代码
- 2发布 asp.net网站 到本地IIS
- 3asp.net中的<% %>,<%= %>,<%# %><%$ %>的使用
- 4win10 uwp 从StorageFile获取文件大小
- 5win10 uwp 如何让WebView标识win10手机
- 6系统集成方案(一).NET集成方案
2020腾讯云10周年活动,优惠非常大!(领取2860元代金券),
地址:https://cloud.tencent.com/act/cps/redirect?redirect=1040 Lord of the realms 2 free mac.
2020阿里云最低价产品入口,含代金券(新老用户有优惠),
地址:https://www.aliyun.com/minisite/goods
I recently upgraded my n-tier solution from .NET 3.5 vs 2008 to 4.5 visual studio 2012. Kawasaki zephyr service manual. Every thing went fine apart from crystal reports and I had to install new runtime crystal reports for visual studio 2012 from the following link http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_5.exe. After installing the above package I had to resolve some deprecated function and properties of CrystalViewer and after that reports rendering properly in development environment (Windows 7 64 bit, SQL Server 2005, Visual Studio 2012). When I deployed the package in test environment windows server 2008 R2 the Application failed to load by throwing error Could not load file or assembly Microsoft.ReportViewer.WebForms, Version=11
I managed to resolve ReportViewer.WebForms error by copying the DLL from C:Program Files (x86)Microsoft Visual Studio 11.0ReportViewer to bin folder of solution and set property copylocal = true and deployed the package. After that I received the error Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=11.0.0.0 . I tried to search that DLL on my machine but couldn't. when project is running in visual studio, In Debug-> Windows->Module the file is not listed however in global assembly cache that file is installed but I don't know how its installed to global cache and from where . I found one solution that I had to install ReportViewer.msi from microsoft package but if i install this package it asks me to install SQL Server 2012 which I dont wan't. Could any one help me to resolve this issue. Thanks
c#asp.net.netvisual-studio-2012reporting-services|
this questionedited Oct 20 '14 at 3:43CrazyPyro 1,184 10 17 asked Mar 7 '14 at 15:03 raja 185 1 2 11 |
7 Answers
7
解决方法You can install the Microsoft Report Viewer 2012 Runtime and change your references so they point to the ones installed by the runtime.
I have installed the runtime without it asking for SQL Server 2012. Before installing try uninstalling any previous versions of report viewer.
|
this answer answered Mar 7 '14 at 15:15 wakthar 395 1 3 11 thanks. when i try to install reportviewer.msi on windows server 2008 it says the 'the file was blocked as it did not have a valid digital signature that verifies its publisher. when i click unknown publisher, check certificate, install certificate. It still does not work. any idea how to get rid from this issue – raja Mar 7 '14 at 15:59 Managed to install the reportviewer on windows server 2008. the dll error is gone but the report page is still blank in crystal viewer. – raja Mar 7 '14 at 16:08 3 If you don't want to install this on the server, there's also a NuGet package by the same name that you can add to your web project. – CrazyPyro Oct 20 '14 at 1:40 I have a web app installed in a server and when I try to access the web application I get the same error. Does the server need to have the ReportViewer.msi installed? I can debug it in my computer and it works fine. – Si8 Sep 28 '15 at 20:41 |
Dont know if this is good to anyone, but search all these dlls:
- Microsoft.ReportViewer.Common.dll
- Microsoft.ReportViewer.ProcessingObjectModel.dll
- Microsoft.ReportViewer.WebForms.dll
- Microsoft.ReportViewer.WinForms.dll
- Microsoft.ReportViewer.DataVisualization.dll
You find them in C:WindowsassemblyGAC_MSIL..
, and then put them in the references of your project.
For each of them say: local copy, and check for 32 or 64 bit solution.
|
this answeredited May 22 '15 at 20:27KyleMit 42.5k 17 176 284 answered Sep 11 '14 at 21:26 Dorschfisch 347 1 3 2 Great Answers
. This worked for me only adding the
MicrosoftReportViewer.Common
and Microsoft.ReportViewer.WebForms
with Copy Local set to true. I imagine the requirement of the others listed in the answer are dependent upon the type of report in use. – T3.0 Sep 3 '15 at 3:26 1 Thanks, you saved my day, for my WinForms 2013 c# app changing to 'Local Copy' for MicrosoftReportViewer.Common.dll
and Microsoft.ReportViewer.WinForms.dll
did the job! – MichaSchumann Oct 2 '15 at 14:42 Thank you very much! I was pulling a package down from our live server and couldn't find the reference in visual studio for this. Browsing to that file location, found them right away. – Khaneliman Oct 12 '15 at 18:27 | As Microsoft.ReportViewer.2012.Runtime has Microsoft.ReportViewer.WebForms
, Microsoft.ReportViewer.Common
and Microsoft.ReportViewer.ProcessingObjectModel
libraries, just run this command on PM Console:
Note : If you want to completely remove the old Microsoft.ReportViewer.xxx
references, you can remove them from Manage NuGet Packages>Installed Packages menu and then remove the related lines from packages.config
file in your project. After that it will not comeback again during building of the project.
|
this answeredited Nov 12 '15 at 11:47 answered Nov 12 '15 at 11:31 Murat Yıldız 2,955 2 20 28 |
You can download the nuget package too.
|
this answer answered Apr 1 '16 at 11:52 Ognyan Dimitrov 2,399 1 12 36 |
Could not load file or assembly 'Microsoft.ReportViewer.Webforms' or
Could not load file or assembly 'Microsoft.ReportViewer.Common'
This issue occured for me in Visual studio 2015.
Reason:
the reference for Microsoft.ReportViewer.Webforms dll is missing.
Possible Fix
Step1:
To add 'Microsoft.ReportViewer.Webforms.dll' to the solution.
Navigate to Nuget Package Manager Console as
Contoh soal toeic dan pembahasannya. 'Tools-->NugetPackageManager-->Package Manager Console'.
Then enter the following command in console as below
PM>Install-Package Microsoft.ReportViewer.Runtime.WebForms
Then it will install the Reportviewer.webforms dll in '.packagesMicrosoft.ReportViewer.Runtime.WebForms.12.0.2402.15lib' (Your project folder path)
and ReportViewer.Runtime.Common dll in '.packagesMicrosoft.ReportViewer.Runtime.Common.12.0.2402.15lib'. (Your project folder path)
Step2:-
Remove the existing reference of 'Microsoft.ReportViewer.WebForms'. we need to refer these dll files in our Solution as 'Right click Solution >References-->Add reference-->browse '. Add both the dll files from the above paths.
Step3:
Change the web.Config File to point out to Visual Studio 2015. comment out both the Microsoft.ReportViewer.WebForms and Microsoft.ReportViewer.Common version 11.0.0.0 and Uncomment both the Microsoft.ReportViewer.WebForms and Microsoft.ReportViewer.Common Version=12.0.0.0. as attached in screenshot.
Also refer the link below.
|
this answeredited Aug 25 '16 at 17:55 answered Aug 23 '16 at 23:14 Krishnakumar Kristamshetty 69 1 5 |
Add Microsot.ReportViewer 2010 or 2012 in prerequisite of setup project then it first install Report Viewer if it's not present in 'C:WindowsassemblyGAC_MSIL..' and after installing, it installs set up project
|
this answer answered Jan 8 '16 at 4:17 Sapna Panjabi 11 1 |
Microsoft Reporting Winforms Reportviewer
Simply install Microsot.ReportViewer.2012.Runtime nuget package as shown in this answer http://stackoverflow.com/a/33014040/2198830
|
Microsoft Report Viewer Winforms 11.0.0.0 Download
this answer answered Oct 8 '15 at 11:10 Kasper Roma 966 1 10 17 |
- 1C#文件与流(FileStream、StreamWriter 、StreamReader 、File、FileInfo、Directory、DirectoryInfo、Path、Encoding)
- 2【C# 】Parser Error Message: The file 'XXXXXX' does not exist
- 3C# read excel and CSV file
- 4C#多文件上传,客户端input file控件
- 5C# copy file to remote shared folder
Microsoft Report Viewer 2012 Runtime
- 1微信公众号文章采集,并发布到WordPress
最新文章
- 1Asp.net SignalR 应用并实现群聊功能 开源代码
- 2发布 asp.net网站 到本地IIS
- 3asp.net中的<% %>,<%= %>,<%# %><%$ %>的使用
- 4win10 uwp 从StorageFile获取文件大小
- 5win10 uwp 如何让WebView标识win10手机
- 6系统集成方案(一).NET集成方案