我在我的项目中使用 AjaxPro 和 AjaxControlToolkit。我的项目通常在带有 IIS 6 的 Server 2003 上运行。但是当我在 Server 2008 上加载我的项目时,我收到“AjaxPro undefined”错误。我的项目正在运行 .Net Framework 4.0 经典模式。
我试过this但我的项目还没有运行。
最佳答案
我在网上找到了这段代码并尝试了这个;
<location path="ajaxpro">
<system.webServer>
<handlers>
<add name="*.ashx_*" path="*.ashx" verb="*" type="AjaxPro.AjaxHandlerFactory,AjaxPro.2" preCondition="integratedMode,runtimeVersionv2.0"/>
</handlers>
</system.webServer>
</location>
它在 IIS 7 & Server 2008 & .Net Framework 4.0 & 经典模式下正常工作。
关于asp.net - AjaxPro 无法在 .Net Framework 4.0 和 Server 2008/IIS 7 上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5120411/