更新面板不在服务器上运行(IIS7)

时间:2016-03-08 17:15:50

标签: c# asp.net webforms iis-7 updatepanel

所以我开发了一个应用程序,并在我的localhost上完美运行。把它放在我的服务器(IIS7)上,现在我的更新面板不起作用。我有一个更新面板检查用户输入ontextchanged with autopost back,这是在更新面板中。

无法理解为什么会这样,我的托管公司说它与我的应用程序有关。他们给了我一个处理程序来复制到我的web.config文件中,但这并没有奏效。

我可以尝试找出错误?

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

2 个答案:

答案 0 :(得分:0)

尝试打开IIS管理器,转到您的站点并选择“Handler Mappings”,然后在右上角选择“Revert to inherited”

答案 1 :(得分:0)

  

尝试打开IIS管理器,转到您的站点并选择“Handler Mappings”,然后在右上角选择“Revert to inherited”

谢谢你@QatQat

相关问题