For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > June 2006 > Problem with authentication on a web site - allowDefintion='Machin









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem with authentication on a web site - allowDefintion='Machin
WinDev

2006-06-29, 7:04 pm

One of my guys is trying to move an application from our test box to our
production server cluster and is having problems. He had moved over
everything, set up the new site including making the web site an application
through properties. He even made a virtual directory that is in the web site
an application. When somebody logs on he gets the error

allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.

He has checked screen by screen and the two systems are set up the same
(although they are using a different structure base but the same directory
structure)

What else could he check for ? He's tried deleting the site and creating it
again according to the KB from the MS website.

It's .Net 1.1 running on Server 2003.

TIA - J.
Dabbler

2006-06-29, 7:04 pm

Does the asp.net server process have write permissions to the folders involved?

"WinDev" wrote:

> One of my guys is trying to move an application from our test box to our
> production server cluster and is having problems. He had moved over
> everything, set up the new site including making the web site an application
> through properties. He even made a virtual directory that is in the web site
> an application. When somebody logs on he gets the error
>
> allowDefinition='MachineToApplication' beyond application level. This error
> can be caused by a virtual directory not being configured as an application
> in IIS.
>
> He has checked screen by screen and the two systems are set up the same
> (although they are using a different structure base but the same directory
> structure)
>
> What else could he check for ? He's tried deleting the site and creating it
> again according to the KB from the MS website.
>
> It's .Net 1.1 running on Server 2003.
>
> TIA - J.

Peter Bromberg [C# MVP]

2006-06-29, 7:04 pm

This exception occurs when a web.config file is present in a folder that is
not configured as an IIS application.

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




"WinDev" wrote:

> One of my guys is trying to move an application from our test box to our
> production server cluster and is having problems. He had moved over
> everything, set up the new site including making the web site an application
> through properties. He even made a virtual directory that is in the web site
> an application. When somebody logs on he gets the error
>
> allowDefinition='MachineToApplication' beyond application level. This error
> can be caused by a virtual directory not being configured as an application
> in IIS.
>
> He has checked screen by screen and the two systems are set up the same
> (although they are using a different structure base but the same directory
> structure)
>
> What else could he check for ? He's tried deleting the site and creating it
> again according to the KB from the MS website.
>
> It's .Net 1.1 running on Server 2003.
>
> TIA - J.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com