首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

ajax1.0服务器方面需要什么配置吗?该怎么处理

2012-01-22 
ajax1.0服务器方面需要什么配置吗?我的一个WEB项目后引入了AJAX的组件,在.NET环境下可以运行,传到服务器上

ajax1.0服务器方面需要什么配置吗?
我的一个WEB项目后引入了AJAX的组件,在.NET环境下可以运行,传到服务器上就出下面的错误了,服务器端用配置什么吗?还是WEB.CONFIG里需要改些什么?
Server   Error   in   '/sun '   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   23:   <compilation   debug= "true ">
Line   24:   <assemblies>
Line   25:   <add   assembly= "System.Web.Extensions,   Version=1.0.61025.0,   Culture=neutral,   PublicKeyToken=31BF3856AD364E35 "/>
Line   26:   <add   assembly= "System.Drawing.Design,   Version=2.0.0.0,   Culture=neutral,   PublicKeyToken=B03F5F7F11D50A3A "/> </assemblies> </compilation>
Line   27:   <!--
 

Source   File:   C:\Inetpub\wwwroot\sunnet\web.config         Line:   25  

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.210

[解决办法]
顶/....ajax 有点复杂...看高手了..
[解决办法]
顶 可能是bin文件的问题
[解决办法]
还有就是服务器也要装ajax
[解决办法]
将 <add assembly= "System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35 " />
这一行删去.

热点排行