Re: Multiple web.config files in a virtual directory

From: Curt_C [MVP] (software_AT_darkfalz.com)
Date: 05/27/04


Date: Thu, 27 May 2004 10:47:58 -0500

yes, but you are limited what can be in the second one... usually thought
its better to have the ONE in the root and use the <location> tags to
explicitely handle things in the subfolders

-- 
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Raghu" <Raghu@nospamzzzqcsi.com> wrote in message
news:uii1o$$QEHA.1312@TK2MSFTNGP12.phx.gbl...
> Is it possible to have multiple web.config files in a given virtual
> directory in different directories? For example:
>
> http://localhost/myapp    (Virtual directory maps to C:\MyApp)
> http://localhost/myapp/newFolder (web folder in the above virtual dir maps
> to C:\MyApp\NewFolder)
>
> Can I have one web.config file at C:\MyApp and another at
> C:\MyApp\NewFolder? When I tried to do this, VS.NET web project (during
> debugging) throws an errors saying that something is wrong at the server?
So
> I compiled the project and tried to bring to navigate to a page in the
> browser (without debugging), I still get an error. But when I remove the
> web.config file at C:\MyApp\NewFolder, it works fine.
>
> Any help is appreciated.
>
> Thanks.
> Raghu/..
>
>


Relevant Pages

  • Re: Multiple web.config files in a virtual directory
    ... > http://localhost/myapp/newFolder (web folder in the above virtual dir maps ... When I tried to do this, VS.NET web project (during ... > debugging) throws an errors saying that something is wrong at the server? ... > browser (without debugging), ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Multiple web.config files in a virtual directory
    ... http://localhost/myapp (Virtual directory maps to C:\MyApp) ... http://localhost/myapp/newFolder (web folder in the above virtual dir maps ... debugging) throws an errors saying that something is wrong at the server? ... browser (without debugging), ...
    (microsoft.public.dotnet.framework.aspnet)
  • Multiple web.config files in a virtual directory
    ... http://localhost/myapp (Virtual directory maps to C:\MyApp) ... http://localhost/myapp/newFolder (web folder in the above virtual dir maps ... debugging) throws an errors saying that something is wrong at the server? ... browser (without debugging), ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Unable to start debugging on the web server
    ... I can successfully create a web project ... on a Windows 2003 server, but when I try to start the project I ... "Error while trying to run project: Unable to start debugging on the ... RPC Services are running ...
    (microsoft.public.vsnet.debugging)
  • Re: VS 2005 Very slow debug in web projects
    ... web project. ... the developer having the problem has a very powerful machine, ... The build seems to complete, and IDE reconfigures itself for debugging ... brand new machine running 64-bit Windows XP. ...
    (microsoft.public.vsnet.general)