allowDefinition='MachineToApplication' beyond application level error

A

Alex D.

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.
 
A

Alex D.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top