Click here to Skip to main content
15,902,276 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I cannot override the authentication(in Web.Config) section in subfolders.when i put it in web.config i get this error:

"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"
Posted

It seems u have some problem in web.config

Could you please attach your web.config.
 
Share this answer
 
 
Share this answer
 
You have to create a virtual directory of the sub folder in IIS which contains the web.config file.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900