ajax 12031

来源:互联网 发布:centos 7中文 编辑:程序博客网 时间:2024/06/03 17:21

使用微軟的UpdatePanel,當UpdatePanel包的太大,出現下列錯誤訊息


Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 12031


微軟的KB是這樣寫的

12031 ERROR_INTERNET_CONNECTION_RESET
The connection with the server has been reset.

http://support.microsoft.com/kb/193625

也有人提到,是因為request的buffer不足,所造成的!
所以建議調整,Web.Config檔

<httpRuntime maxRequestLength="8192"/>


但是對我的情況來說,都沒有解決問題~~

後我我姑且這樣做~~
在@ Page 指示詞中加入

enableeventvalidation="false"


這樣就OK了~~

原创粉丝点击