长时间执行ASP.NET导致错误“The Server Request timed out”错误
Posted on 2009-12-23 22:58 CharlesLi 阅读(1141) 评论(0) 收藏 举报Server Error in '/' Application.
Request timed out.
Description: An unhandled exception occurred during the executionof the current web request. Please review the stack trace for moreinformation about the error and where it originated in thecode.
Exception Details: System.Web.HttpException: Request timedout.
Source Error: An unhandled exception was generated during theexecution of the current web request. Information regarding theorigin and location of the exception can be identified using theexception stack trace below.
Stack Trace: [HttpException (0x80004005): Request timedout.]
解决方法:
修改Web.Config或者Machine.Config文件中的配置即可!
<configuration>
<system.web>
<httpRuntime=20 executionTimeout="36000" />
</system.web>
</configuration>
浙公网安备 33010602011771号