Web Configuration...
From: arshi (anonymous_at_discussions.microsoft.com)
Date: 04/28/04
- Next message: Mike Swift: "Impersonation of forms-authenticated Active Directory user"
- Previous message: Ravikanth[MVP]: "RE: help with connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 28 Apr 2004 05:21:07 -0700
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 2: <system.web>
Line 3: <customErrors mode="Off"/>
Line 4: <authentication mode="Forms">
Line 5: <forms name=".ASPXFORUM" loginUrl="login.aspx" protection="All" timeout="30" path="/" />
Line 6: </authentication>
Source File: C:\homeprojects\aspdotnet\FormBasedAuthCode\web.config Line: 4
How can I configure a virtual directory as an application in IIS?
Please view my complete web.config file:
-------------------------------------------------------------------------------------
<configuration><system.web><customErrors mode="Off"/><authentication mode="Forms"><forms name="appNameAuth" path="/" loginUrl="login.aspx" protection="All" timeout="30"><credentials passwordFormat="Clear"><user name="jeff" password="test" /><user name="mike" password="test" /></credentials></forms></authentication><authorization><deny users="?" /></authorization></system.web></configuration>
--------------------------------------------------------------------------------------
Cheers
- Next message: Mike Swift: "Impersonation of forms-authenticated Active Directory user"
- Previous message: Ravikanth[MVP]: "RE: help with connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|