今天试用ASP.NET AJAX 1.0 正式版做了一个测试程序,在本地没有任何问题,可是上传到服务器上面后就出现如下问题:=================================================
Server Error in '/' 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. 系统找不到指定的文件。 (D:\web\web.config line 43)Source Error: 
Line 41: 
Line 42:     <httpModules>
Line 43:       <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 44:     </httpModules>
Line 45:   </system.web>
 Source File: D:\web\web.config    Line: 43 
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210 
=================================================

解决方案 »

  1.   

    很明显 没有System.Web.Extensions.dll文件你把这个dll拷贝到bin目录下 或者在服务器安装一下ATLAS
      

  2.   

    这个文件为什么要手工拷贝到bin目录呢,在发布的时候ajax不能自己加入吗,记得以前的版本是你在添加控件的时候就自动帮你添加到bin目录了。想知道是否有其他好办法!
      

  3.   

    只能手工加吧```
    要不删除这个<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies>
      

  4.   

    只能手工加,我也做过一个需要dll的软件,发布时不会自动加入,需要发布后再手工放入bin下就可以了.
      

  5.   

    这个文件为什么要手工拷贝到bin目录呢,在发布的时候ajax不能自己加入吗,记得以前的版本是你在添加控件的时候就自动帮你添加到bin目录了。想知道是否有其他好办法!
    ——————————————————————————————————————————
    本来这个文件默认是安装在GAC的,你的服务器应该安装asp.net Ajax,可是没有装。