G
Guest
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?
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?