An error in the file

7puertaz79

New Member
I am very new to asp.net.When i was trying one of the examples available on the web on authentication,i am getting such an error in the web.config file.<BR>web.config file:<BR><configuration><BR> <system.web><BR> <authentication mode="Forms"><BR> <forms loginUrl="login.aspx" name=".ASPXFORMSAUTH" /><BR> </authentication><BR> <authorization><BR> <deny users="?" /><BR> </authorization><BR> </system.web><BR></configuration><BR><BR>Error:<BR>Configuration Error <BR>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. <BR><BR>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.<BR><BR><BR>the error is in the third line which is <authentication mode="Forms"><BR><BR>can anyone help me out in this..<BR>thx<BR>Philip<BR>
 
Back
Top