Posted by craig
Monday, December 26, 2011 3:08:30 PM
For websites hosted on external servers we often have the situations where we have separate URLs hosted as separate applications in subfolders. This is typically to save costs. i.e. We have one primary domain and other “secondary”domains hosted on the same server.
In situations where the subfolders are independent of the parent, we do not want to inherit the parent settings else we have problems such as DLLs not found since the bin folder in the parent is inaccessible to the child applications. In order to accomplish this separation we must wrap the system.web element a follows:
<location path="." InheritInChildApplications="false">
The ksey attribute is InheritInChildApplications="false"
Note that the same must be done around the system.webserver element.
Copyright 2009 AnyTime