Re: Intermittent configuration error
From: Frank Mamone (frankmnospam_at_canada.com)
Date: 09/13/04
- Next message: Steve C. Orr [MVP, MCSD]: "Re: Can multiple files be attached for upload"
- Previous message: Frank Mamone: "Re: Can multiple files be attached for upload"
- In reply to: caa: "Intermittent configuration error"
- Next in thread: caa: "Re: Intermittent configuration error"
- Reply: caa: "Re: Intermittent configuration error"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Sep 2004 19:15:47 -0400
This also happens if you have a Web.Config in a subdirectory of your
application that includes the <authentication> tag. Although you can use
the <authorization> element in subdirectories, you cannot authenticate again
in it.
Hope this helps,
Frank Mamone
"caa" <caa@discussions.microsoft.com> wrote in message
news:1819CC12-243B-499A-B51D-1DC173D706B7@microsoft.com...
> We are intermittently getting the infamous Configuration error: "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." However, in our case the
relevant
> directory is definitely configured as an IIS Application. I've done a lot
of
> research online, and haven't found anyone else who gets this problem only
> intermittently.
>
> We have two sites running on the same server. They are accessed
> independently from the Internet as www.appA.com and www.appB.com. Both
share
> some common code. The physical directory structure looks like this:
> d:\appA
> d:\appB
> d:\Common
>
> All three apps have pretty close to the default web.config files.
>
> The virtual directories, all of which are applications, are setup like
this:
> appA --> d:\appA
> Common --> d:\Common
> appB --> d:\appB
> Common --> d:\Common
>
> The configuration error points to the Authentication section of the Common
> directory's web.config. The weird thing is this works 99% of the time.
Many
> thousands of pages are served successfully in between each failure.
> Immediately after a failure, you can go to the same server, same failing
> page, and it works fine.
>
> So does anybody know what else, besides a virtual directory/application
> configuration issue, can cause this problem?
- Next message: Steve C. Orr [MVP, MCSD]: "Re: Can multiple files be attached for upload"
- Previous message: Frank Mamone: "Re: Can multiple files be attached for upload"
- In reply to: caa: "Intermittent configuration error"
- Next in thread: caa: "Re: Intermittent configuration error"
- Reply: caa: "Re: Intermittent configuration error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|