Parser Error Message: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 41:
Line 42:
Line 43:
Line 44:
Line 45:
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Solution
This error means you're using the SQL Server Reporting Services ReportViewer control in your web application
, and the server can't find the proper DLL. All you have to do is deploy them to your server. With Visual Studio
2008, the location of the ReportViewer DLLs has changed. You now find them at C:\Program Files\Microsoft Visual Studio 9.0\ReportViewer.
The first way to get these on your server, and this only works if you run your own server, is to directly copy them into the C:\Windows\assembly folder, and reboot the server (this reloads the GAC). If a reboot is out of the question, you can use GACUTIL.EXE to copy and register the DLLs.
If you're in a shared hosting environment, reference the DLLs from the VS 9 path listed above, and set the Copy Local=True (select the DLL and open the Properties tab). This will copy the DLLs into your applications BIN folder, and look for them there first. You can then deploy to a shared host, making sure to copy all the contents of BIN.
Dll name
paste following dll in bin folder or windows folder
1> Microsoft.ReportViewer.Common.dll
2> Microsoft.ReportViewer.ProcessingObjectModel.DLL
3> Microsoft.ReportViewer.WebForms.dll
4> Microsoft.ReportViewer.WinForms.dll
The file Microsoft.ReportViewer.ProcessingObjectModel.DLL is missing on my computer at D:\Program Files\Microsoft Visual Studio 9.0\ReportViewer. Instead I have RSClientPrint.cab there with additional two .xml files and the other 3 .dll files. What should I do?
ReplyDelete1> Download ReportViewer.exe
ReplyDelete2> right click on exe and extract it (syatem create same name folder)
3> click on report viewer folder,in that folder another cab file "vb_ros.cab",extrext this cab file(system create vb_ros folder )
4>rename "FL_Microsoft_ReportViewer_ProcessingObject_125592_125592_x86_ln.3643236F_FC70_11D3_A536_0090278A1BB8" this file to "Microsoft.ReportViewer.ProcessingObjectModel.DLL"
this is u r dll file.
and no need to save this dll in your reportciewer folder
Thanks for your quick response. I couldn't check earlier due to a bad car accident.
ReplyDeleteI right click on the exe and have no option for extract but "Open" and "Run as".
Click "Open" it run and install DLLs to somewhere I do not know.
"Run as" with "Protect my computer and data from unauthorized program activity" option on, then I got "Extraction Failed" message box with "Unable to find a volume for file extraction. Please verify that you have proper permissions."
What can I do now?
Thanks Shri
ReplyDeleteThank you for response....
ReplyDeleteI am having the same problem, my application is hosting on shared server, i request you to please guide me step by step process to resolve the error.
ReplyDeleteI will be greatful to you
with Gratitude
Imtiaz
The assemblies 'Microsoft.ReportViewer.WebForms' are in the different server and the application which is calling the assemblies is in the different server.
ReplyDeletePlease guide me how to solve this .
Thanks in advance.
Great solution
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteOur development team is trying to run a report on our report server through web application but they are getting the below error. Report Viewer both version 10 and 11 are already installed on our reporting server.
ReplyDelete[System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
The files are in place in assembly folder 'C:\Windows\assembly' and DLLs are also in place in folder 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\ReportViewer.
Can you please help in resolving this issue without restarting this server?
Copy paste following dll in bin folder or windows folder
Delete1> Microsoft.ReportViewer.Common.dll
2> Microsoft.ReportViewer.ProcessingObjectModel.DLL
3> Microsoft.ReportViewer.WebForms.dll
4> Microsoft.ReportViewer.WinForms.dll