Could not load all ISAPI filters for site 'mysite'. Therefore site startup aborted.
This is on a server with the FastCGI processor running with PHP 5.2.5 installed. The main site on the server runs fine with PHP, so I'm not sure if that's where the problem lies, but it's the only ISAPI-like thing on the server.
If I create a new website from scratch, in a blank subdirectory in InetPub, and browse the site, I will see "403 Access Forbidden". If I drag a simple PHP page into the website, with:
<?php
echo 'working!';
?>
and try to browse the page, I still get a "403 - Forbidden: Access is denied." error. If I turn on FREQ, I immediately get a "500" error, and the error message in the Application log. Turning on FREQ creates a web.config file with:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<tracing>
<traceFailedRequests>
<add path="*">
<traceAreas>
<add provider="ASP" verbosity="Verbose" />
<add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Verbose" />
<add provider="ISAPI Extension" verbosity="Verbose" />
<add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module" verbosity="Verbose" />
</traceAreas>
<failureDefinitions statusCodes="400-999" />
</add>
</traceFailedRequests>
</tracing>
</system.webServer>
</configuration>
If I turn off FREQ and delete the web.config file, I'm back to "403" errors.
If I create a simple HTM page in that directory and attempt to browse it, I get:
"401 - Unauthorized: Access is denied due to invalid credentials"
If I look at the permissions on this folder, neither NETWORK SERVICE nor IIS_IUSRS have explicit permissions on the directory. If I add them...things seem to start working!
Question is...How can this be so FUBAR? Shouldn't creating a new website in IIS set the permissions on the directory properly? I feel like I'm back in the NT4 option pack days :(