ASP.Net using wrong web.config for virtual directory
问题 We're running IIS 6 on Windows Server 2003 R2. We want to add a virtual directory that runs under .NET 4.0 to a site that runs under .NET 2.0. We've given the virtual directory its own app pool, and we've configured the virtual directory to run under 4.0. The parent site works fine, but the virtual directory throws errors that reference the parent site's web.config file. We need the virtual directory to use its own web.config file. The GUI in the IIS Manager says that the virtual directory is