"Go" error when a Web project uses ReportViewer

Source: Internet
Author: User
Tags parse error microsoft website

"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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.