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

问题描述:

我收到与ReportsViewer相关的此错误。我需要去掉这个库的所有引用。那么我需要从哪里开始删除引用?错误:无法加载文件或程序集'Microsoft.ReportViewer.WebForms,版本= 9.0.0.0

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"/> 

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