andycharger
Well-known member
- Joined
- Apr 2, 2003
- Messages
- 152
Im having a problem with my web.config.
I have a web.config in my root application. This has security to stop people using files without being logged on.
I have a sub folder called "training" and this too has an identical web.config file.
What I want to do is take the security out of the root folder, which I have done successfully and just apply the security to files in the training folder.
However, it now does not work and gives the following error when I press the hyperlink to a file in the training folder.
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.
Has anyone got any ideas?
I have a web.config in my root application. This has security to stop people using files without being logged on.
I have a sub folder called "training" and this too has an identical web.config file.
What I want to do is take the security out of the root folder, which I have done successfully and just apply the security to files in the training folder.
However, it now does not work and gives the following error when I press the hyperlink to a file in the training folder.
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.
Code:
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 23: "Forms", "Passport" and "None"
Line 24: -->
Line 25: <authentication mode="Forms">
Line 26: <forms
Line 27: loginUrl = "logon.aspx"
Source File: c:\inetpub\wwwroot\inet1\training\web.config Line: 25
Has anyone got any ideas?