How to increase request timeout in IIS?(如何在 IIS 中增加请求超时?)
问题描述
如何在 IIS 7.0 中增加请求超时?在 IIS 6.0 的 ASP 配置设置中的应用程序选项卡下也是如此.我在 IIS 7.0 中找不到 asp.net 配置部分
How to increase request timeout in IIS 7.0? The same is done under application tab in ASP configuration settngs in IIS 6.0. I am not able to find the asp.net configuration section in IIS 7.0
推荐答案
将此添加到您的 Web Config
Add this to your Web Config
<system.web>
<httpRuntime executionTimeout="180" />
</system.web>
https://msdn.microsoft.com/en-us/库/e1f13641(v=vs.85).aspx
可选的 TimeSpan 属性.
Optional TimeSpan attribute.
指定允许请求的最大秒数在被 ASP.NET 自动关闭之前执行.
Specifies the maximum number of seconds that a request is allowed to execute before being automatically shut down by ASP.NET.
此超时仅适用于编译中的调试属性元素为假.帮助防止关闭应用程序在调试时,不要将此超时设置为很大的值.
This time-out applies only if the debug attribute in the compilation element is False. To help to prevent shutting down the application while you are debugging, do not set this time-out to a large value.
默认值为00:01:50"(110 秒).
The default is "00:01:50" (110 seconds).
这篇关于如何在 IIS 中增加请求超时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在 IIS 中增加请求超时?


- MoreLinq maxBy vs LINQ max + where 2022-01-01
- 带有服务/守护程序应用程序的 Microsoft Graph CSharp SDK 和 OneDrive for Business - 配额方面返回 null 2022-01-01
- 良好实践:如何重用 .csproj 和 .sln 文件来为 CI 创建 2022-01-01
- 如何用自己压缩一个 IEnumerable 2022-01-01
- Web Api 中的 Swagger .netcore 3.1,使用 swagger UI 设置日期时间格式 2022-01-01
- WebMatrix WebSecurity PasswordSalt 2022-01-01
- 在哪里可以找到使用中的C#/XML文档注释的好例子? 2022-01-01
- C# 中多线程网络服务器的模式 2022-01-01
- C#MongoDB使用Builders查找派生对象 2022-09-04
- 输入按键事件处理程序 2022-01-01