Solved

App.Config configSource to a UNC path or Shared drive

Posted on 2013-11-13
1
1,124 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
This is an explanation of a simple data model to help parse a JSON feed
Six Sigma Control Plans
Introduction to Processes

691 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