长时间执行ASP.NET导致错误“The Server Request timed out”错误
2009-12-23 22:58
501 查看
果你要在一个ASP.NET页面之上执行大数据的读取和显示,那么你就很可能接收到如下错误信息:
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>
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>
相关文章推荐
- 长时间执行ASP.NET导致错误“The Server Request timed out”错误
- 长时间执行ASP.NET导致错误[Http Request timed out]错误
- 长时间执行ASP.NET导致错误“Http Request timed out”错误
- [ASP.NET] - 提示错误:The server has encountered an error while loading an application during the processing your request
- 运行asp.net时弹出the status code returned from the server was:404错误提示
- 服务器端安装ASP.NET运行环境错误Failed to execute request because the App-Domain could not be created. Error: 0x80131902
- requestValidationMode 导致 ValidateRequest=False 失效或者ASP.NET 4.0事件消息: 发生了验证错误;检测到有潜在危险的Request.Form值
- 调试ASP.NET 2.0 HttpException请求超时(Request timed out)
- 调试ASP.NET 2.0 HttpException请求超时(Request timed out)
- asp.net连接MySQL数据库错误-Out of sync with server
- 异常:Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out
- Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out
- requestValidationMode 导致 ValidateRequest=False 失效或者ASP.NET 4.0事件消息: 发生了验证错误;检测到有潜在危险的Request.Form值
- 解决ASP.NET 4.0 "A potentially dangerous Request.Form value was detected from the client". 错误
- 异常:Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out
- 让Windows Server 2008 + IIS 7+ ASP.NET 支持10万并发请求 The serverRuntime@appConcurrentRequestLimit setting is being exceeded.
- asp.net利用多线程执行长时间的任务,客户端显示出任务的执行进度的示例
- asp.net利用多线程执行长时间的任务,客户端显示出任务的执行进度的示例
- ASP.NET中获得页面、服务器端信息的有用Request.ServerVariables
- Setup 64-bit Windows Server for Running ASP.NET 1.1 and ASP.NET 2.0 at the Same Time