Sys.WebForms.PageRequestManagerServerErrorException 12031

前端 未结 6 652
野的像风
野的像风 2020-12-14 02:42

I\'m occasionaly getting the following popup from an AJAX.NET application

Sys.WebForms.PageRequestManagerServerErrorException: An Unknown error occurred while proc         


        
6条回答
  •  余生分开走
    2020-12-14 03:00

    If you're getting that from an updatePanel, set EnablePartialRendering to false in the ScriptManager for the page, and then it should give you the actual error.

    Also, if it only happens occasionally, I've found that it could be a viewstate problem, especially when the page goes a long time (20mins or so) between refreshes.

    Otherwise, try some try/catch blocks. Those are some easy methods.

    Hope that helps!

提交回复
热议问题