Hi, I have a problem where when I try to open an application hosted in a subdirectory, this 500.19 error shows up: Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'BasicAuthenticationModule' I know that it's probably caused by a clash between the main web.config of the application hosted in the root (A) vs the web.config of the application hosted in the subdirectory (B). However, I do not have BasicAuthenticationModule in my web.config file in the root application (A). Is there another default web.config file? If there is one, I can't see it from the control panel. Also, I tried to use <location> to solve this issue, but it did not work. My idea was to separate the 2 config files using <location path="." inheritInChildApplications="false"> on the web.config of the root. However, to do this, I needed to set: <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> It instead gave me another 500.19 error: Configuration section not allowed in a <location> tag Sorry, I repeated this question from http://community.discountasp.net/showthread.php?p=49676#post49676 because I couldn't get an answer. Thanks, James
In addition to the above, I tried using <remove> in the application in the subdirectory to remove previous definitions of basicauthenticationmodule, but this led to a http 500.19 - lock violation error. Can someone help? James