Re: Help with the IIS Application Setting

From: Karl Seguin (_at_)
Date: 11/06/04


Date: Fri, 5 Nov 2004 21:07:28 -0500

What's the application? z:\inetpub\MySite or z:\inetpub\MySite\login?

Seems to me that z:\inetpub\MySite is your application, but you have a
web.config at a deeper level (inside login) which has invalid settings...

Karl

-- 
MY ASP.Net tutorials
http://www.openmymind.net/
"mo" <le_mo_mo@yahoo.com> wrote in message
news:c3dfaa6c.0411051529.71e36e8a@posting.google.com...
> Hi,
>
> After upgrading to ASP.NET 2.0 I am getting the follwoing error in my
> VS when I try to build the site
>
> ------------------------------------------------------
>
> Error 1 Build (web): 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. Z:\Inetpub\Mysite\login\Web.config 43
> ------------------------------------------------------
> Any Ideas is greatly appreciated. I have set the application in IIS
> (and also Removed it) and still get the same error. Any Ideas?
>
> Thanks,
> Mo


Relevant Pages