Contact Us  |  Knowledge Base  |  Control Panel 
Article Details
Directory is not configured as an application in IIS.

ISSUE:

When you browse to a URL on your site, oyu get a message similar to the following:

Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 59:   <!-- The system.webServer section is required for IIS7 compatability It is ignored by IIS6-->
Line 60:   <system.web>
Line 61:     <machineKey validationKey="7CDEECDEAF58BEDD27C65D6B862516DD86F737B1" decryptionKey="7136E5BFC076FB1C4B49F8D87A4E9111EDCB7EA2ACFE7AAD" decryption="3DES" validation="SHA1" />
Line 62:     <!-- HttpModules for Common Functionality -->
Line 63:     <httpModules>


Source File: C:\Inetpub\vhosts\fma.org.mx\httpdocs\leon08\web.config    Line: 61

CAUSE:

There is an extra web.config in the child directory.

Source File: C:\Inetpub\vhosts\fma.org.mx\httpdocs\leon08\web.config    Line: 61

RESOLUTION

Rename (or delete) the extra web.config in the child portals directory.