Solved

Change Web.Config Location

Posted on 2006-10-20
3
1,161 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Not showing JavaScript in the list 5 53
ASP.net Javascript use multiple sliders 2 29
How to close an asp.net web form using C# ? 4 30
Deploying to Azure 3 28
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 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