简体   繁体   English

ASP.NET 2.0 AJAX在生产服务器上不起作用

[英]ASP.NET 2.0 AJAX not working on production server

I have an ASP.NET 2.0 application using AJAX Extension 1.0. 我有一个使用AJAX扩展1.0的ASP.NET 2.0应用程序。 Every thing is working fine on WindowsXP (both development & production), but when I deploy my application on windows7 production server, AJAX stopped working. 在WindowsXP(开发和生产)上一切正常,但是当我在Windows7生产服务器上部署应用程序时,AJAX停止工作。 Controls in UpdatePanel are refreshing the page. UpdatePanel中的控件正在刷新页面。

I have AJAXExtensionsToolbox.dll, System.Web.Extensions.Design.dll & System.Web.Extensions.dll in my application's bin folder. 我的应用程序的bin文件夹中有AJAXExtensionsToolbox.dll,System.Web.Extensions.Design.dll和System.Web.Extensions.dll。

I have tried installing the ASPAJAXExtSetup.msi (1.0), but it didn't worked. 我尝试安装ASPAJAXExtSetup.msi(1.0),但没有成功。

I have also tried disabling the .net framework 3.5 from "Turn windows features on/off", but the problem was still unsolved. 我还尝试从“打开/关闭Windows功能”禁用.net Framework 3.5,但问题仍未解决。

I have also tried to fix the problem by changing some elements of web.config 我还尝试通过更改web.config的某些元素来解决此问题

UPDATE: 更新:

I am also getting JavaScript error on browser console "Sys is not defined". 我还在浏览器控制台“未定义系统”上遇到JavaScript错误。 Is it realated to my problem? 是否意识到我的问题?

there is confilct between AJAXExtensionsToolbox and your JS code. AJAXExtensionsToolbox与您的JS代码之间存在冲突。 try to avoid using AJAXExtensionsToolbox because it is deprecated now. 请尝试避免使用AJAXExtensionsToolbox,因为现在已不推荐使用。

the other thing check on the .net version that is installed in the server is it 3.5 or 4.5, i think 4.5 is not supporting AJAXExtensionsToolbox any more 在服务器上安装的.net版本上的另一件事是它是3.5还是4.5,我认为4.5不再支持AJAXExtensionsToolbox

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM