简体   繁体   English

使用IIS7部署时,Win 2008中的ASP AJAX扩展不起作用

[英]ASP AJAX Extensions in Win 2008 not working when deployed using IIS7

I am trying to publish a website using IIS7 from Win 2008 R2 server. 我正在尝试使用Win 2008 R2服务器上的IIS7发布网站。 Everything works fine but AJAX extensions from visual studio does not work. 一切正常,但Visual Studio的AJAX扩展不起作用。 It works perfectly when you run using visual studio but when website is launched using IIS7, page does not refresh itself as it needs to be. 当您使用Visual Studio运行时,它完美运行,但是当使用IIS7启动网站时,页面不会自动刷新。 I know I am missing ext. 我知道我缺少分机。 files or some statement in web.config just trying to figure out what is it? 文件或web.config中的某些语句只是试图找出它是什么? I am using framework 4.0 and VS 2010 professional. 我正在使用Framework 4.0和VS 2010 Professional。 It is not giving me any errors but just not refreshing the page. 它没有给我任何错误,但没有刷新页面。 Also, I have downloaded AJAX extenstions 1.0 另外,我已经下载了AJAX扩展程序1.0

Thanks for your comments. 感谢您的意见。

Answer is: run AJAX 1.0 setup before while implementing IIS7. 答案是:在实现IIS7之前运行AJAX 1.0安装程序。 Also, include include ISCAPI and CGI components for IIS7 . 另外,包括用于IIS7的ISCAPI和CGI组件。 Website will have AJAX working. 网站将运行AJAX。

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

相关问题 ASP.NET成员资格API在Win2008服务器/ IIS7上不起作用 - ASP.NET Membership API not working on Win2008 server/IIS7 ASP.NET:相对路径在部署IIS时不起作用 - Asp.net: relative paths not working when deployed IIS 在IIS上部署时,ASP.NET 4.5身份验证重定向不起作用 - ASP.NET 4.5 Authentication Redirect Not Working When Deployed on IIS 使用IIS7无法对asp.net进行Visual Studio 2012调试 - visual studio 2012 debug for asp.net not working using IIS7 ASP.Net Core Web API 适用于 IIS Express,但在部署到 IIS 时不起作用 - ASP.Net Core Web API works on IIS Express, but not working when deployed to IIS httpModules不能在iis7上运行 - httpModules not working on iis7 IIS7 / Win7 .Net 4.0中ASP.Net网站的运行时问题 - Runtime problems for ASP.Net website in IIS7/Win7 .Net 4.0 在IIS8中部署时,缓存不起作用 - Caching not working when deployed in IIS8 文本框模式DateTimeLocal部署到IIS时不起作用 - Textbox Mode DateTimeLocal not working when deployed to IIS 用于检索所有用户的ASP.NET MVC Active Directory代码在部署到IIS 7时停止工作 - ASP.NET MVC Active Directory code to retrieve all users stops working when deployed to IIS 7
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM