Recommended: Solve internal errors of IIS5 HTTP500 1. Errors: IIS5's HTTP 500 internal server error is one of the errors we often encounter. Its main error is that ASP programs cannot browse but HTM static web pages are not affected. In addition, when an error occurs, the system event log and security event log will have corresponding corresponding
I'm learning server knowledge recently. Sometimes I encounter an error in which the asp script runs timeout, which is really troublesome. I found relevant information, and there are some solutions.
The default script timeout for IIS is 90 seconds
In this way, if you upload software or transmit data for more than 90 seconds, the process script will time out and abandon your execution, protect the server's processing of large data memory and excessive CPU usage will cause crashes or instability.
The solution is
One: You can click the home directory in the properties of the website where IIS is located and then set the ASP/cGI script timeout size higher in the configuration options
Another way is simpler: add it directly to the head of the program
Server.ScriptTimeOut = 500
'500 is the timeout time of the script you set, seconds in units, adjust the specific size by yourself
Share: ASP example: Asp Prevent frequent refresh of web pages The following example code is to prevent the refresh of web pages from being too fast. If multiple pages are used, it is best to save the <%...%> code as an asp file and use the include file at the front of the required page. The following are quoted