|
Next: [Microsoft][ODBC Microsoft Access Driver] Disk or..
|
| Author |
Message |
External

Since: Dec 30, 2005 Posts: 1
|
(Msg. 1) Posted: Fri Dec 30, 2005 1:52 pm
Post subject: The specified CGI application exceeded the allowed time for processing. The serv Archived from groups: microsoft>public>inetserver>iis (more info?)
|
|
|
I'm getting this error after 5 minutes (300 seconds) of processing a
PHP file in IIS 5.1 (WinXP).
I've searched for hours and every solution is the following:
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 "Configuration..." button.
Click the "Process Options" tab.
Enter a large value in the CGI script timeout field, perhaps 999999.
I've done this, and rebooted, and did it again, checked it, did it with
a script, etc. etc.
But still I get the error after 5 minutes. Are there any other
solutions or anything else? I also have the max_execution_time variable
in php.ini set to a high value, even though I don't think that's the
problem (it would give a php error instead). >> Stay informed about: The specified CGI application exceeded the allowed time fo.. |
|
| Back to top |
|
 |  |
External

Since: Dec 30, 2005 Posts: 8
|
(Msg. 2) Posted: Fri Dec 30, 2005 9:27 pm
Post subject: Re: The specified CGI application exceeded the allowed time for processing. The [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Dec 30, 2005 Posts: 8
|
(Msg. 3) Posted: Fri Dec 30, 2005 9:35 pm
Post subject: Re: The specified CGI application exceeded the allowed time for processing. The [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Dec 30, 2005 Posts: 8
|
(Msg. 4) Posted: Fri Dec 30, 2005 11:10 pm
Post subject: Re: The specified CGI application exceeded the allowed time for processing. The [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Dec 30, 2005 Posts: 8
|
(Msg. 5) Posted: Fri Dec 30, 2005 11:41 pm
Post subject: Re: The specified CGI application exceeded the allowed time for processing. The [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: May 17, 2005 Posts: 5
|
(Msg. 6) Posted: Sat Dec 31, 2005 12:18 am
Post subject: Re: The specified CGI application exceeded the allowed time for processing. The [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
<tyler.parke.TakeThisOut@gmail.com> wrote in message
news:1135979551.487620.298790@g47g2000cwa.googlegroups.com...
> I'm getting this error after 5 minutes (300 seconds) of processing a
> PHP file in IIS 5.1 (WinXP).
>
> I've searched for hours and every solution is the following:
>
> 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 "Configuration..." button.
> Click the "Process Options" tab.
> Enter a large value in the CGI script timeout field, perhaps 999999.
>
>
> I've done this, and rebooted, and did it again, checked it, did it with
> a script, etc. etc.
>
> But still I get the error after 5 minutes. Are there any other
> solutions or anything else? I also have the max_execution_time variable
> in php.ini set to a high value, even though I don't think that's the
> problem (it would give a php error instead).
>
You might be trying to correct the wrong thing.
Maybe there's something in your script causing no response for 5 minutes.
Its an easy mistake to make.Maybe an if statement without an else ?
--- Consider the possibility that it might be your code. >> Stay informed about: The specified CGI application exceeded the allowed time fo.. |
|
| Back to top |
|
 |  |
External

Since: May 17, 2005 Posts: 5
|
(Msg. 7) Posted: Sat Dec 31, 2005 1:23 am
Post subject: Re: The specified CGI application exceeded the allowed time for processing. The [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"tpark" <tyler.parke.DeleteThis@gmail.com> wrote in message
news:1136007346.887807.195760@g14g2000cwa.googlegroups.com...
> I wrote a script like this -
>
> <? sleep(480); ?>
>
> it timed out after exactly 300 seconds. It's definitely IIS.
>
> Some other things I've tried -
>
> rebooting
> reinstalling IIS
> installing a different version of PHP
> yelling at the monitor
> installing a different version of MySQL
> more rebooting
>
I found this info
**************************
Server.ScriptTimeout = 300. in any of the <% %> tags. This setting tells
the
server to give your Site Server template 5 minutes before it times out.
**********************
So, Try changing Server.ScriptTimeout = 300 to another number and see if
that will make a difference. >> Stay informed about: The specified CGI application exceeded the allowed time fo.. |
|
| Back to top |
|
 |  |
External

Since: Dec 30, 2005 Posts: 8
|
(Msg. 8) Posted: Sat Dec 31, 2005 11:58 am
Post subject: Re: The specified CGI application exceeded the allowed time for processing. The [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Dec 30, 2005 Posts: 8
|
(Msg. 9) Posted: Sat Dec 31, 2005 4:28 pm
Post subject: Re: The specified CGI application exceeded the allowed time for processing. The [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: May 17, 2005 Posts: 5
|
(Msg. 10) Posted: Sat Dec 31, 2005 7:22 pm
Post subject: Re: The specified CGI application exceeded the allowed time for processing. The [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Dec 30, 2005 Posts: 8
|
(Msg. 11) Posted: Sat Dec 31, 2005 10:50 pm
Post subject: Re: The specified CGI application exceeded the allowed time for processing. The [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Dec 30, 2005 Posts: 8
|
(Msg. 12) Posted: Sun Jan 01, 2006 8:57 am
Post subject: Re: The specified CGI application exceeded the allowed time for processing. The [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
It just seems to me that if there is an option called "CGI script
timeout" in IIS, it would use that value instead of arbitrarily 300s.
I don't think a script running for 5+ minutes is an error condition,
since I've read hundreds of posting of people with scripts like that
and they seem to have solved their problem by changing the value of the
timeout as I did above. >> Stay informed about: The specified CGI application exceeded the allowed time fo.. |
|
| Back to top |
|
 |  |