Solved

App.Config configSource to a UNC path or Shared drive

Posted on 2013-11-13
1
1,048 Views
Last Modified: 2013-11-25
I want to have the local App.config point to one on a Shared drive.

From what I understand the configSource attribute must be a relative physical path for security purposes.

So the question is it at all possible to have <ConnectionStrings ConfigSource = (UNC path or mapped drive as it's destination)>

I've tried and failed but maybe one of you may know something I don't.
0
Comment
Question by:ButtonDownBobby
1 Comment
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 39644978
You can use the mklink command to create a symbolic link (/d parameter) to the UNC path. Then you would have something that appears to be relative to the site's directory, but is actually external.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
splitOdd10 challenge 5 106
mapAB Challlenge 35 144
delphi parse string to params 3 122
Math solution for number of possible window monitor positions using 1, 2, or 3 divisions 4 44
This article will show, step by step, how to integrate R code into a R Sweave document
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

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