?
Solved

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

Posted on 2008-10-29
2
Medium Priority
?
3,235 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 2000 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 Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
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 setup several different housekeeping processes for a SQL Server.

770 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