Solved

Change Web.Config Location

Posted on 2006-10-20
3
1,140 Views
Last Modified: 2008-01-09
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
0
Comment
Question by:strickdd
3 Comments
 
LVL 6

Expert Comment

by:bigphuckinglizard
ID: 17773829
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.
0
 
LVL 28

Author Comment

by:strickdd
ID: 17774646
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?
0
 
LVL 15

Accepted Solution

by:
crisco96 earned 500 total points
ID: 17776739
You probably can't do it unless you create a separate bin folder and copy your bin files there.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now