I have two very similar ASP Classic apps that both use Windows Authentication and run on the same development PC (Windows 7/IIS 7.5).
They've been around for years, and have 'travelled' with me as I've upgraded PCs through the years. One works fine, but the other doesn't - I can't say for sure whether it has ever worked on this particular PC, since it has been a while since I've had to work on it, but I think it has been working in the recent past.
My problem is that when I browse the site, I get the following error:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid
Cannot read configuration file due to insufficient permissions
The curious thing is that it claims to have insufficient privileges to access web.config - but there is no web.config!
In the application settings, if we test the connection, an error is reported:
Authorization: Application pool identity cannot access path
As far as I can tell, both applications are configured identically:
- Both use the same Application Pool
- The identity of the pool (a domain user) has identical permissions to the application folder (Read + Modify)
- Both are configured for Windows Authentication
I'm stumped! Any ideas?
EDIT: Full error information:
**Detailed Error Information**
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x80070005
Config Error Cannot read configuration file due to insufficient permissions
Config File \\?\D:\Projects\Scope2\web.config
Requested URL http://myserver:80/scope2/
Physical Path D:\Projects\Scope2\
Logon Method Not yet determined
Logon User Not yet determined