asp.net中的配置错误
我正在开发一个应用程序。当我在我的系统中运行应用程序时,它给出了这个错误,请你能帮助我。asp.net中的配置错误
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 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
源错误:
Line 33: <compilation debug="true">
Line 34: <assemblies>
Line 35: <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 36: <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 37: <add assembly ...
错误是由于导致这样的事实,ASP.NET运行时是无法找到已表示在应用配置中,以被称为的组件 - 幅的.config。所有你需要做的解决这个错误的方法是从应用程序中删除所述程序集的引用[如果你没有使用程序集中可用的任何组件] - 或者 - 使程序中的程序集/ DLL可用更值得推荐。以下是你如何做到这一点。
在开发工作站 - 请安装ASP.NET AJAX 1.0。
在生产服务器上 - 如果您的服务器没有安装ASP.NET AJAX 1.0扩展程序来部署应用程序,则需要将Systen.Web.Exntesions.dll放在您可以轻松使用的dll中得到它从
C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025
假设您的程序文件夹在C:您可以从下面的链接找到更多的资源。
那台机器上安装.NET Framework 3.5
从以下链接安装ASP.NET AJAX 1.0: http://www.microsoft.com/downloads/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displaylang=en
这也应该注册系统。 GAC中的Web.Extensions程序集。
雅它解决了我只是安装Ajax,现在它工作正常谢谢你 – 2010-05-17 09:03:22