Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
fbaker
Starting Member
9 Posts |
Posted - 2008-02-15 : 18:18:21
|
Hi, I am getting the following error when I try to open up my web application now, after installing the report viewer add on and placing it onto one of my pages.Parser Error Message: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=nutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system could not find the file specified.Source Error:Line 47: <add assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />Source File: web.configSo far I have tried to fix this error by installing the reportviewer.exe on the server. I have also verified that the ReportViewer files are in the assembly folder on the server. I also found a site saying to run the reportviewer.exe from a specific location, here is the link http://dotnetslackers.com/_NET/re-49414_Could_not_load_file_or_assembly_Microsoft_ReportViewer_WebForms.aspxbut when I try to browse to the folder it is talking about I found out that I don't even have a BootStrapper folder under Microsoft Visual Studio 8/SDK/v2.0Does anyone have any ideas on how to fix this error? |
|
vosherman
Starting Member
1 Post |
Posted - 2009-02-18 : 21:21:57
|
HI,This error is caused by a missing dll. This dll is part of your visual studio libraries and resides somewhere in your visual studio directory. For me it is: C:\Program Files\Microsoft Visual Studio 9.0\ReportViewerSolution:Go to the reference management screen and make sure that the following dll files are copied localyMicrosoft.ReportViewer.Common.dllMicrosoft.ReportViewer.WebForms.dllAlternative solution:You need to copy Microsoft.ReportViewer.Common.dll and Microsoft.ReportViewer.WebForms.dll to your website bin folder.Good Luck!!! |
 |
|
|
|
|