Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old November 19th, 2005, 12:13 PM
Alex D.
Guest
 
Posts: n/a
Default allowDefinition='MachineToApplication' beyond application level error

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.


  #2  
Old November 19th, 2005, 12:13 PM
Alex D.
Guest
 
Posts: n/a
Default 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]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,248 network members.