?
Solved

App.Config configSource to a UNC path or Shared drive

Posted on 2013-11-13
1
Medium Priority
?
1,231 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 1000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Introduction to Processes

809 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