Configuration Error 报错【归纳错误】

您是不是遇到过在本地运行测试正常,但是发布网站是传送到服务器就会报如下的错误呢:

错误提示:
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 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 系统找不到指定的文件。

Source Error:

Line 35:   <compilation debug="true">
Line 36:    <assemblies>
Line 37:     <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies></compilation>
Line 38:   <!--
Line 39:             通过 <authentication> 节可以配置 ASP.NET 用来

Source File: E:\wwwroot\dc580\web.config    Line: 37

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

 

 

可能出现的问题:检查下您的项目中是否用到了Ajax控件或技术呢?如果是的话检查下你的项目bin文件夹下是否有

这3个文件,倘若没有的话可以到本地的  C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025 文件夹下将这3个DLL文件拷贝到你所需上传的服务器相对应网站BIN文件夹下,再次运行估计就没有错误了

 

阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭