在用asp.net ajax出现如下错误时:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. the status code returned from the server was:500
解决方法,在.aspx文件中加上 ValidateRequest="false"
本文介绍了当使用ASP.NET AJAX遇到服务器返回500错误时的解决方法。具体步骤是在.aspx文件中添加ValidateRequest=false属性。
在用asp.net ajax出现如下错误时:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. the status code returned from the server was:500
解决方法,在.aspx文件中加上 ValidateRequest="false"
205
8346
2937
2902