Sys.WebForms.PageRequestManagerServerErrorException 12031 [英] Sys.WebForms.PageRequestManagerServerErrorException 12031
本文介绍了Sys.WebForms.PageRequestManagerServerErrorException 12031的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我偶尔从AJAX.NET应用程序获取以下弹出窗口
Sys.WebForms.PageRequestManagerServerErrorException:处理请求时发生未知错误服务器。从服务器返回的状态代码是:12031
从 Microsoft kb 状态代码指示ERROR_INTERNET_CONNECTION_RESET,但是它并没有说明触发错误的根本问题是什么。首先,
如何记录/跟踪/ etc生成弹出窗口的底层错误?
解决方案
这是一个viewstate问题,但是与时间无关,但与大小无关。尝试在您的web.config中使用maxRequestLength。
I'm occasionaly getting the following popup from an AJAX.NET application
Sys.WebForms.PageRequestManagerServerErrorException: An Unknown error occurred while processing the request on the server. The status code returned from the server was: 12031
From the Microsoft kb that status code indicates a ERROR_INTERNET_CONNECTION_RESET, but it doesn't state what was the underlying issue the triggered the error in the first place.
How can I log/trace/etc the underlying error that generated the popup?
解决方案
It's a viewstate problem, but not related with time but with size. Try playing with maxRequestLength in your web.config.
这篇关于Sys.WebForms.PageRequestManagerServerErrorException 12031的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文