错误:无法加载文件或程序集'Microsoft.ReportViewer.WebForms,Version = 9.0.0.0

时间:2010-07-08 15:20:56

标签: c# asp.net .net-3.5 reportviewer

我收到与ReportsViewer相关的此错误。我需要消除对此库的所有引用。那么我需要在哪里开始删除引用?

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

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.

<add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

1 个答案:

答案 0 :(得分:2)

我有类似的问题。查看您的页面指令和报告文件的bin目录。然后查看你的web.config。你的应用程序应该在那之后编译好。