发布网站后在测试服务器上运行没问题,但是发布到正式网站后就出现脚本错误,提示如下:
sys.WebFroms.PagerequestManagerServerErrorException:
An unknown erroe occurred
while processing the request on the server.
the status code returned from the server was:500
请各位帮忙感激不尽
...全文
14914打赏收藏
上线出现问题,请各位高手相助,万分感谢!
发布网站后在测试服务器上运行没问题,但是发布到正式网站后就出现脚本错误,提示如下: sys.WebFroms.PagerequestManagerServerErrorException: An unknown erroe occurred while processing the request on the server. the status code returned from the server was:500 请各位帮忙感激不尽
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500错误解决办法
解决办法:
在Web.Config
<system.web>
<pages enableEventValidation="false"/>
</system.web>
转载的解决办法:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500