I keep getting the below error from my web.config file.
It is an error to use a section registered as allowDefinition='MachineTo
n' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
It points to the line:
I originally had my web.config file under the site root (one above the WWWROOT folder) and this error didn't occur, however the site wouldn't load either. When I move the config file to the WWWROOT, the site loads but I keep getting this error. I can't configure the WWWROOT folder as an application.
I have a feeling I have something set up incorrectly. Any ideas?