I've set up my first two websites using IIS. One, under the default website,
in a virtual directory works fine. The other, as it's own website, with a
virtual directory does not. IIS seems to find the ASP.NET webconfig file
fine, but then gives me the cinfiguration error "Server Error in '/'
Application." It flags the authentication line and the error says "It is an
error to use a section registered as allowDefiniton='MachineToApplication'
beyond application level. This error can be caused by a virtual directory not
being configured as an application IIS." Well i've compared properties for
both virtual directories and can't find a bit of difference other than
resource paths. Help, please!!!
--
Buz Waitz

Re: desperate newbie by Ken

Ken
Sat Dec 11 17:42:46 CST 2004

In the IIS MMC Snapin, is the second virtual directory configured as an
application root?

Cheers
Ken

"Buz" <bwaitz@minormiracles.com.nospamplease> wrote in message
news:C94B322D-829C-4FD7-8D56-1306291C2A7F@microsoft.com...
> I've set up my first two websites using IIS. One, under the default
> website,
> in a virtual directory works fine. The other, as it's own website, with a
> virtual directory does not. IIS seems to find the ASP.NET webconfig file
> fine, but then gives me the cinfiguration error "Server Error in '/'
> Application." It flags the authentication line and the error says "It is
> an
> error to use a section registered as allowDefiniton='MachineToApplication'
> beyond application level. This error can be caused by a virtual directory
> not
> being configured as an application IIS." Well i've compared properties for
> both virtual directories and can't find a bit of difference other than
> resource paths. Help, please!!!
> --
> Buz Waitz



Re: desperate newbie by bwaitz

bwaitz
Sat Dec 11 19:21:01 CST 2004

Yes, it is. It is under its own website (not the default), a vitural
directory, and set as an application root.

"Ken Schaefer" wrote:

> In the IIS MMC Snapin, is the second virtual directory configured as an
> application root?
>
> Cheers
> Ken
>
> "Buz" <bwaitz@minormiracles.com.nospamplease> wrote in message
> news:C94B322D-829C-4FD7-8D56-1306291C2A7F@microsoft.com...
> > I've set up my first two websites using IIS. One, under the default
> > website,
> > in a virtual directory works fine. The other, as it's own website, with a
> > virtual directory does not. IIS seems to find the ASP.NET webconfig file
> > fine, but then gives me the cinfiguration error "Server Error in '/'
> > Application." It flags the authentication line and the error says "It is
> > an
> > error to use a section registered as allowDefiniton='MachineToApplication'
> > beyond application level. This error can be caused by a virtual directory
> > not
> > being configured as an application IIS." Well i've compared properties for
> > both virtual directories and can't find a bit of difference other than
> > resource paths. Help, please!!!
> > --
> > Buz Waitz
>
>
>