2013-11-14 82 views

回答

0

在開始時,我無法理解這種奇怪的行爲,因爲在提交頁面之後甚至在調用特定頁面之前顯示空白頁面。例如:我不得不調用buttonClick事件,但是當我點擊那個按鈕時,空白頁即將到來。

解決方法是添加httpRunTime執行超時和maxRequestLength屬性。

將以下內容添加到web.config文件的部分。

<system.web> 
     -- some code -- 
    <httpRuntime executionTimeout="600" maxRequestLength="102400" /> 
     --some code -- 
</system.web> 

我希望這會對你有幫助。