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
相关问题
- Carriage Return (ASCII chr 13) is missing from tex
- How to store image outside of the website's ro
- 'System.Threading.ThreadAbortException' in
- Request.PathInfo issues and XSS attacks
- How to dynamically load partial view Via jquery aj
In IIS >= 7, a
<webLimits>
section has replacedConnectionTimeout
,HeaderWaitTimeout
,MaxGlobalBandwidth
, andMinFileBytesPerSec
IIS 6 metabase settings.Example Configuration:
For reference: more information regarding these settings in IIS can be found here. Also, I was unable to add this section to the web.config via the IIS manager's "configuration editor", though it did show up once I added it and searched the configuration.
To Increase request time out add this to web.config
and for a specific page add this
The default is 90 seconds for .NET 1.x.
The default 110 seconds for .NET 2.0 and later.
In IIS Manager, right click on the site and go to Manage Web Site -> Advanced Settings. In there, under Connection Limits you should see Connection Time-out.
Add this to your Web Config
https://msdn.microsoft.com/en-us/library/e1f13641(v=vs.85).aspx
Below are provided steps to fix your issue.
Use the below Power shell command to change the execution timeout (Request Timeout)
Or, You can use the below C# code to do the same thing
Or, you can use the JavaScript to do this.
Or, you can use the AppCmd commands.