Last post Jul 11, 2008 03:41 AM by ramireddyindia
Jul 11, 2008 03:11 AM|akhilkumars|LINK
" 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."
Could anyone plz help.....Why this error is occuring
.NET Runtime 2.0 Error
Jul 11, 2008 03:41 AM|ramireddyindia|LINK
look at this.
in overview any one of the below 2 reasons.
1. You must define that application as virtual directory. you can do this by giving the directory websharing by rightclick the direcotyr-> properties->websharing-> share this folder.
and then go to run menu, type inetmgr, select you site which is located in default web sites->giving anonymous access.
2. Another reason may be in one of your subdirectories, there is another web.config file. in that web.config file you are using some sections which are not accessible in subdirecotry web.config. i think authentication section is causing you problem. remove
it from inner webconfig.