Terry's Studio

學習程式設計的記錄
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

The status code returned from the server was: 12031

Posted on 2009-04-20 18:43  花菱薰  阅读(649)  评论(0)    收藏  举报

今天在公司遇到的情況就是在MS Chart Control載入大量數據後第一次成功載入沒有出現問題,當用Update Panel更新資料時就出現了:

The status code returned from the server was: 12031

我抓到了Exception後,看到的Error Message是: Maximum request length exceeded.

因為我只是實習生,在公司沒有上網的權限,只有找同事幫手,最後查到在web.config加一句:

<httpRuntime maxRequestLength="8192" />

最後問題沒有出現了