IIS: Virtual Directory Not Using web.config from Parent Directory

As we know, when application is placed on virtual directory, the web.config (or configuration) also will be inherited the configuration of parent directory application. Sometimes it will cause problems because parent directory contains library (.dll) that doesn’t exist in virtual directory application. So, for the virtual directory application only using web.config itself, the web.config of…