ASP.NET中的错误在web配置文件中
我是一名java开发人员,所以对ASP.NET没有任何了解。请用外行人的名义解释。ASP.NET中的错误在web配置文件中
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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 30:
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 31:<add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 32:<add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 33:<add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 34:<add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
您应该添加缺少的组件(DLL)引用到项目中“参考”一节,然后再进行构建,以检查是否被修正。
您可以安装Microsoft Report Viewer 2010可再发行组件包并更改您的引用,以便它们指向程序包安装的引用。
Microsoft Report Viewer 2010 Redistributable Package
搜索缺少DLL在您的系统
Microsoft.ReportViewer.WebForms.dll
你在找他们 “C:\ WINDOWS \装配\ GAC_MSIL”,并把它们放在你的项目的引用。
“系统找不到指定的文件”的哪一部分。你不明白吗? – 2015-03-03 07:57:08
@JohnSaunders我无法找到该文件。如果你可以给我的文件的链接很好 – 2015-03-03 08:00:38
是的,.NET也不能找到那个文件!它不在那里! – 2015-03-03 10:20:40