| re: allowDefinition='MachineToApplication' beyond application level error
figured it out. problem was that when converting to visual studio.net 2005
new format it asks if you want to backup your project first, and then it
creates a folder named "backup" inside your web application folder, this
creates a copy of the main web.config file inside a folder wich was causing
the problem.
"Alex D." <alexware69@hotmail.com> wrote in message
news:%23hGO8AXXFHA.2124@TK2MSFTNGP14.phx.gbl...[color=blue]
>I upgraded one of my applications to beta 2. conversion seemed to work
> OK, problem is when trying to build I get an error like:
> 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.
>
> this error is pointing to this section in my web.config:
>
> <authentication mode="Forms">
> <forms name=".ASPXFORMSDEMO" loginUrl="login.aspx" protection="ALL"
> path="/" timeout="30" />
> </authentication>
>
> My virtual directory is configured as an application in IIS, so I don't
> know what
> else could be causing this error.
>
> Thanks.
>
>[/color] |