正在开发应用程序VS 2008
。使用报告查看器并在SQL Server 2005
服务器上从SSRS调用报告。如何在Visual Studio 2008中开发并为.Net 2嵌入Report Viewer对象?
Error:
Server Error in '/AppName' Application.
Configuration Error
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.
Source Error:
Line 41: <add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0
我的猜测是,这是因为.Net 3.5
VS .Net 2.0
事情。应用程序服务器没有3.5
,不会。
如何修复VS 2008
以便它将使用适用于.Net 2
应用程序的报告查看器?