I'm attempting to build website that was previously published using VS.NET 2005 and the .Net framework 2.0, the site is using a local sql server as the data source.
This copy i'm attempting to build is a copy i've made locally on the desktop to preserve the original as I'm going to be updating it, I did verify that there is
not a second copy of the web.config file in my desktop copy as I'm aware that is usually a common problem that causes this error.
In any case, here's the error I'm receiving:
-
Error 1 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. C:\Documents and Settings\XXXXX\Desktop\Website\SourceCode\web.config 77
That error is pointing to this line in the code in the web.config file:
- <authentication mode="Windows"/>
Any ideas, suggestions or help would be greatly appreciated.