Solution for ASP script running timeout

Source: Internet
Author: User
Tags iis

I'm learning server knowledge recently. Sometimes it is troublesome to encounter an error that the ASP script runs overtime. Found relevant information, including some solutions.

IIS default script timeout is 90 seconds

In this case, if you are uploading software or sending data for more than 90 seconds, it will generate a process script timeout to discard your execution, protect the server's handling of large data memory and CPU consumption caused by panic or instability

Approach is

One: You can click Home directory in the properties of the IIS Web site and then configure the asp/cgi script timeout in the "Options" settings higher

Another method is simpler: Join directly in the head of the program

Server.ScriptTimeout = 500

' 500 is the time you set the script to timeout, the second unit, the specific size of your own adjustment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.