Solved

FastCGI Timeout when connecting with PHP on IIS to a stored proceedure in MSSQL using ODBC

Posted on 2008-10-29
2
3,225 Views
Last Modified: 2012-08-13
Hi, I've got a script that is running a stored procedure in MSSQL.  The first command prepares the data (it was made for me by the database guy, so I don't know what it does) and is supposed to take 5 minutes to run.  When my PHP script runs it I get a timeout error:

FastCGI Error
The FastCGI Handler was unable to process the request.
--------------------------------------------------------------------------------
Error Details:
The FastCGI process exceeded configured activity timeout
Error Number: 258 (0x80070102).
Error Description: The wait operation timed out.
HTTP Error 500 - Server Error.
Internet Information Services (IIS)

The server guy said he fixed it but obviously did not.  Is this the default_socket_timeout parameter in the PHP.ini at work here?
0
Comment
Question by:bakum
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 13

Accepted Solution

by:
Xyptilon2 earned 500 total points
ID: 22838491
This guy had the same problem and was able to change some settings: I hope it is useful for you: http://forums.iis.net/t/1076662.aspx
0
 

Author Comment

by:bakum
ID: 22845680
I had to do some extra work to figure out how to config fcgiext.ini correctly, but once that was done, it all worked out.

Thanks!
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question