2014-11-04 110 views
1

我只想問是否有一種方法來增加某個特定頁面的executionTimeOut?而不是整個應用程序?HttpException(0x80004005):請求超時ASP.Net

<configuration>  
    <system.web> 
    <httpRuntime executionTimeout="90" maxRequestLength="4096" useFullyQualifiedRedirectUrl="false" 
minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" /> 
</system.web> 
</configuration> 

回答

0

放於Web配置文件

<location path="Report.aspx"> 
    <system.web> 
     <httpRuntime executionTimeout="3600" maxRequestLength="10240"/> 
    </system.web> 
    </location>