如何解决:应用了ASP.NET AJAX 1.0 的网站移植到服务器后出现“系统找不到指定的文件”的错误提示
将本机上的网站(应用了ASP.NET AJAX 1.0)移植到服务器上(服务器上是windows 2000 server 操作系统,里面只安装了Framework2.0 和 SQL SERVER 2000,并没有安装 ASP.NET 2.0 和 ASP.NET AJAX 1.0),运行时出现如下错误提示,如何解决啊?谢谢!
错误在第37行的: <add assembly= "System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 "/>
,说“系统找不到指定的文件”……
Server Error in '/YuJieSuanGenZong ' 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 '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 "/>
Line 38: </assemblies>
Line 39: </compilation>
Source File: E:\myweb\yujiesuangenzong\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].
--------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
------解决方案--------------------把System.Web.Extensions.dll拷到bin目录下