简体   繁体   English

更新面板在服务器(IIS7)上不起作用

[英]Update Panel Not working on Server (IIS7)

So I developed an application and is working perfectly on my localhost. 因此,我开发了一个应用程序,并且可以在我的本地主机上正常工作。 Put it on my server (IIS7) and now my Update Panels aren't working. 将其放在我的服务器(IIS7)上,现在我的更新面板无法正常工作。 I had an update panel checking user inputs ontextchanged with an autopost back, which was in an update panel. 我有一个更新面板,用于检查用户输入ontextchanged与自动回发,这是在更新面板中。

Can't figured out why this is, my hosting company says its to do with my application. 我的托管公司说不明白为什么会这样,这与我的应用程序有关。 They gave me a handler to copy into my web.config file but this hasn't worked. 他们给了我一个处理程序,以复制到我的web.config文件中,但这没有用。

What could I try to locate the error? 我可以尝试找到什么错误?

<system.webServer>
          <handlers>

          <add name="Ajax" path="*.axd" verb="*" modules="IsapiModule" scriptProcessor="C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" />

          </handlers>
</system.webServer>

尝试打开IIS管理器,转到您的站点并选择“处理程序映射”,然后在右上角选择“还原为继承的”

Try opening your IIS manager, go to your site and select "Handler Mappings", then on top right select "Revert to inherited" 尝试打开IIS管理器,转到您的站点并选择“处理程序映射”,然后在右上角选择“还原为继承的”

This worked thank you @QatQat 这工作谢谢@QatQat

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

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