strickdd
asked on
Change Web.Config Location
Is there a way to move the web.config from the root of the site to another folder location? I need to do this because server config policy at my work will not allow direct write access to a folder on the server. They will only allow write access to a virtual folder located on another server. Any ideas?
Thanks in advance!
strickdd
Thanks in advance!
strickdd
if you create an application on the virtual folder in iis it'll pick up a web.config file there, but some sections can only be used in the site-wide .config file, which has to be in the root of the website.
ASKER
So I create the virtual directory, add the web.config to it with only the settings I want to dynamically change. How do I actually reference this web.config then?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.