Installing Drupal 6.1 on Vista SP1 IIS7 and FastCGI

- installed MySQL 5.1.31
- installed PHP 5.2.9 and using FastCGI
- created a Handler mapping for PHP via FastCGI
- created a empty MySQL database called drupal
- ran the drupal install.php page

Page runs as expected. I enter site name and user details

Page then runs fine until the "Configure Site" section and then it runs and runs until a timeout

Error is below. I have increased the FastCGI timeout (both request and activity), checked permissions.

FastCGI Request timeout is now 240secs and activity timeout is 600secs

I still get the same problem running the install, except the page justs runs for longer before timeout.

Funning thing is after the timeout, Drupal is sort of installed. I can log in and do quite a few things, but not everything. e.g. There is no menu option to create a page. If I click on the "create content" hyperlink on the welcome page I get a Drupal "Access Denied" (You are not authorized to access this page) message, even though I'm logged in as the site's administrator

I have spent days on this and have had enough. Hope somebody can help me.

Full install error is as follows

Error Summary
HTTP Error 500.0 - Internal Server Error
C:\Program Files\PHP\php-cgi.exe - The FastCGI process exceeded configured request timeout
Detailed Error InformationModule FastCgiModule
Notification ExecuteRequestHandler
Handler PHP
Error Code 0x80070102
Requested URL http://localhost:80/install.php?locale=en&profile=default
Physical Path C:\inetpub\wwwroot\drupal-6.10\install.php
Logon Method Anonymous
Logon User Anonymous
Most likely causes:
- IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
- IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
- IIS was not able to process configuration for the Web site or application.
- The authenticated user does not have permission to use this DLL.
- The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.

Things you can try:
-Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
-Check the event logs to see if any additional information was logged.
-Verify the permissions for the DLL.
-Install the .NET Extensibility feature if the request is mapped to a managed handler.
-Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.

Links and More Information
This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.

View more information »

Microsoft Knowledge Base Articles:

294807

Comments

cog.rusty’s picture

Is your php memory_limit at least 16M in php.ini?
Are you still getting 500 server errors, or was that a one-time occurrence?
If you run update.php to rebuild the missing menus, does it complete or does it time out?

peterw1962’s picture

memory_limit = 128M

I have run update.php (which is used to upgrade to a more recent version) and this does nothing. It runs but doesn't appear to update anything (I am using the latest version)

p.kawski’s picture

I have a same problem with two installs(6.10, 6.9) on my hosting. CGI scripts just ocasionally timeout and the result is error 500
Tried couple things and cannot figure it out. Looks like more and more people see the same thing though.
Problems occure when I try to do different things but most often when accessing modules settings. Sometimes it happens on let's say trying to add content.
Often after refresh everything works well. And usually changes are done (like content is added/modules activated).

Does anybody know what's causing all that problems? is it something in .htaccess? is it someting in fastcgi settings?
I googled some "solutions" and I even thought couple of times I thought it's sorted but problem keeps coming back.

peterw1962’s picture

Thanks for the responses but I still have the same problem, and this error is not random.

I have deleted the database and re-installed at least 20 times and it crashes on exactly the same spot.

I think I really have reached the end.

I honestly have no choice but to try Joomla. I have committed to building a PHP CMS website and selected as my first choice Drupal. Now time is quickly running out to my deadline

cheers

mgcarley’s picture

I ran in to this problem on a site that was hosted on Dreamhost. Turns out their implementation of FastCGI and Drupal 6 simply will not play nicely together. Switching to PHP5 CGI mode solved the problems for me.

I'm just speculating, but perhaps it could be *any* implementation of FastCGI that is causing problems (without modifications to Drupal). I read in some other places about modifications to .htaccess, but the article was concerning using NGINX and lighttpd, so again, doesn't apply to an IIS install.

Perhaps installing XAMPP/WAMPP or a plain-old Apache or Lighttd, MySQL, PHP install on Win32 might be more favourable to using IIS anyway. Just a thought.