PageMethods failed on IIS 7.5 of Win 2008 R2 box

感情迁移 提交于 2019-12-25 05:37:09

问题


I have the following ASP.NET 4.0 code and it is running well on IIS 6.0 of the Win 2003 box. But When I pushed it to the Win 2008 R2 box(IIS 7.5 classic mode pool), it failed to onAddrLoadError. I am using Web Farms and maybe it is the web farms which caused this problem. I am also using SSL on the load balancer.

<asp:ScriptManager ID="ScriptManager1" EnablePageMethods="true"    runat="server"></asp:ScriptManager>

function AddEdit_onclick(id) 
{
    PageMethods.GetProduct(id, onAddrLoadSuccess, onAddrLoadError);
}

Any ideas?


回答1:


I just installed the .NET 4.0 hotfix for win 2008 and it works.



来源:https://stackoverflow.com/questions/6962827/pagemethods-failed-on-iis-7-5-of-win-2008-r2-box

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!