2015-03-03 43 views
0

我是一名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"/>

+0

「系統找不到指定的文件」的哪一部分。你不明白嗎? – 2015-03-03 07:57:08

+0

@JohnSaunders我無法找到該文件。如果你可以給我的文件的鏈接很好 – 2015-03-03 08:00:38

+0

是的,.NET也不能找到那個文件!它不在那裏! – 2015-03-03 10:20:40

回答

0

您應該添加缺少的組件(DLL)引用到項目中「參考」一節,然後再進行構建,以檢查是否被修正。

3

您可以安裝Microsoft Report Viewer 2010可再發行組件包並更改您的引用,以便它們指向程序包安裝的引用。

Microsoft Report Viewer 2010 Redistributable Package


搜索缺少DLL在您的系統

Microsoft.ReportViewer.WebForms.dll 

你在找他們 「C:\ WINDOWS \裝配\ GAC_MSIL」,並把它們放在你的項目的引用。