成人在线亚洲_国产日韩视频一区二区三区_久久久国产精品_99国内精品久久久久久久

您的位置:首頁技術文章
文章詳情頁

Sys.WebForms.PageRequestManagerServerErrorException:在服務器上處理請求時發生未知錯誤。”

瀏覽:117日期:2024-04-23 11:31:55
如何解決Sys.WebForms.PageRequestManagerServerErrorException:在服務器上處理請求時發生未知錯誤。”?

當您有一個控件注冊為AsyncPostbackTrigger多個更新面板中時,有時會出現此問題。

如果這不是問題,請嘗試在腳本管理器聲明之后立即添加以下內容:

<script type='text/javascript' language='javascript'> Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler); function EndRequestHandler(sender, args){if (args.get_error() != undefined){ args.set_errorHandled(true);} }</script>

這里討論了更多解決方案:http ://forums.asp.net/t/1066976.aspx/9/10

解決方法

我在頁面上有幾個更新面板和jquery選項卡。另外,我正在更新面板上加載幾個用戶控件。用戶等待幾分鐘后(未檢查的時間約為40分鐘)。當用戶從“提交”按鈕發送請求時,出現以下錯誤?

’Sys.WebForms.PageRequestManagerServerErrorException:Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0’ when calling method: [nsIDOMEventListener::handleEvent]

我無法解決此問題。但我相信。這是由Ajax引起的。大師,如果您知道解決方案。請告訴我。

標簽: web
相關文章: