?
Solved

App.Config configSource to a UNC path or Shared drive

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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

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.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Six Sigma Control Plans

741 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