IIS 5.1 Time-limit on CGI scripts -- Solved |
Site Admin
|
Short Answer: Set the IIS CGI timeout to a high value, like 999999.
Long Answer Microsoft Internet Information Server (IIS) automatically terminates CGI programs that run for more than five minutes. Unfortunately, your debug session may easily take that much, and if IIS terminates it, you receive the timeout message. The solution is to reconfigure the IIS server to increase the CGI timeout to a much larger value. Here's how (instructions are for Windows 2000 Server; other Windows variants may be slightly different): In the Start Menu, go the Settings menu, and choose Control Panels. Open the Administrative Tools control panel. Open the Internet Services Manager item. Right-click on the computer icon in the left panel and choose Properties from the menu that appears. Click "Edit..." next to "WWW Services". Click the "Home Directory" tab. Click the "Profile..." button. Click the "Process Options" tab. Enter a large value in the CGI script timeout field, perhaps 999999. |
||||||||||||
|
|
Those are the exact instructions that I found previously.
There is no CGI script timeout option there, or in any of the other tabs. There was only "ASP script timeout" and the other options I described in my original post. |
||||||||||||
|
Site Admin
|
The message given indicates that it was IIS's decision to stop CGI process and timeout setting must be there. What IIS version do you run?
|
||||||||||||
|
|
It says version 5.1. It came with XP Home and may have been updated through windowsupdate.com.
I believe you're right and it's IIS's timeout setting and if I could only find it I'd be a happy man. All the references on the web I can find give the same instructions, which are consistent with yours. I don't have a "Process Options" tab but I do have an "Options" tab where the ASP script timeout value is. |
||||||||||||
|
Site Admin
|
try http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/bc0c4729-e892-4871-b8f3-fcbf489f2f09.mspx?mfr=true
and don't miss metaedit. Seems that's the only solution for you. |
||||||||||||
|
|
Excellent. I was able to change the CGI timeout using MetaEdit. Thanks.
|
||||||||||||
|
IIS 5.1 Time-limit on CGI scripts -- Solved |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by