I am attempting to run IIS7 on Windows Vista Business. The webpages will display properly on another machine also running IIS7 / Windows Business - but not this one. The files are located in a sub directory under C:\inetpub\wwwroot\ and I have checked and the files are marked read write so it does not seem to be a permission problem.
This is the error message -any thoughts / suggestions are appreciated
HTTP Error 500.19 - Internal Server Error
Description: The requested page cannot be accessed because the related configuration data for the page is invalid.
Error Code: 0x00000000
Notification: SendResponse
Module: CustomErrorModule
Requested URL: http://localhost:80/elite
Physical Path: C:\inetpub\wwwroot\Elite
Logon User: Anonymous
Logon Method: Anonymous
Handler: StaticFile
Config Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
Config File: \\?\c:\inetpub\wwwroot\Elite\web.config
Config Source:
3: <system.webServer>
4: <staticContent>
5: <mimeMap fileExtension=".asp" mimeType="text/plain" />
|
More Information...
This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
Server Version Information: Internet Information Services 7.0.
----------------------------- end of error message ----------
This is the web.config file
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension=".asp" mimeType="text/plain" />
</staticContent>
<defaultDocument>
<files>
<add value="index.asp" />
</files>
</defaultDocument>
</system.webServer>
</configuration>