Sys.WebForms.PageRequestManagerServerErrorException:在服務器上處理請求時發生未知錯誤?!?/h1>
瀏覽:130日期: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
相關文章:
1. mysql優化 - 關于mysql分區2. php laravel框架模型作用域3. node.js - 在vuejs-templates/webpack中dev-server.js里為什么要exports readyPromise?4. java - Atom中文問題5. java - MySQL中,使用聚合函數+for update會鎖表嗎?6. 請教各位大佬,瀏覽器點 提交實例為什么沒有反應7. javascript - ionic2 input autofocus 電腦成功,iOS手機鍵盤不彈出8. html5 - 如何實現帶陰影的不規則容器?9. css3 - 這個形狀使用CSS怎么寫出來?10. javascript - 為什么這個點擊事件需要點擊兩次才有效果
當您有一個控件注冊為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引起的。大師,如果您知道解決方案。請告訴我。
