"Server error in the application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred while analyzing the resources required to provide service to this request. Please check the following specific parse error details and modify the source file as appropriate.
Parser error message: Failed to load file or assembly "Microsoft.ReportViewer.WebForms, version=8.0.0.0, Culture=neutral, publickeytoken= B03F5F7F11D50A3A "or one of its dependencies. The system cannot find the file specified.
SOURCE Error:
Line 1: <%@ page language= "C #" masterpagefile= "~/score Management/mastertop.master" Theme= "MyTheme" codefile= " Chengjidayin.aspx.cs "inherits=" score management _chengjidayin "title=" Untitled page "%>
Line 2:
Line 3: <%@ Register assembly= "Microsoft.ReportViewer.WebForms, version=8.0.0.0, Culture=neutral, publickeytoken= B03F5F7F11D50A3A "
Line 4:namespace= "Microsoft.Reporting.WebForms" tagprefix= "Rsweb"%>
Line 5: <%@ MasterType virtualpath= "~/score management/mastertop.master"%>
SOURCE file:/score Management/chengjidayin.aspx line: 3
Assembly Load Tracking: The following information helps determine the assembly "Microsoft.ReportViewer.WebForms, version=8.0.0.0, Culture=neutral, publickeytoken= B03F5F7F11D50A3A "Unable to load the reason.
Warning: Assembly binding logging is turned off.
To enable assembly binding failure logging, set the registry value [hklm\software\microsoft\fusion! Enablelog] (DWORD) is set to 1.
Note there will be some performance loss associated with the assembly binding failure logging.
To turn off this feature, remove the registry value [hklm\software\microsoft\fusion! Enablelog].
--------------------------------------------------------------------------------
Version information: Microsoft. NET Framework Version: 2.0.50727.42; ASP. NET version: 2.0.50727.210
Workaround:
The solution is to copy all DLLs under the virtual directory to the bin directory. The following 3 files must be in the bin directory. (The second file may not be able to find the problem, in fact, the first and the third one is enough)
1) Microsoft.ReportViewer.Common.dll
2) Microsoft.ReportViewer.ProcessingObjectModel.dll
3) Microsoft.ReportViewer.WebForms.dll
The location of this few DLL files: E:\Program Files\Microsoft Visual Studio 8\reportviewer
Also, install Microsoft Report Viewer Redistributable 2005 (in fact, ReportViewer.exe), which can be found on the Microsoft website. The website is as follows: HTTP://WWW.MICROSOFT.COM/DOWNLOADS/DETAILS.ASPX?FAMILYID=E7D661BA-DC95-4EB3-8916-3E31340DDC2C&DISPLAYLANG=ZH-CN
"Go" error when a Web project uses ReportViewer