Member Avatar for hueikar

I put this code at App.config for winform.

<appSettings>
    <add key="DocumentVault" value= "\\10.100.100.10\C$\SomePath\SomeWhere\Else\"/> 
</appSettings>

but why I still can't access the filepath?

Recommended Answers

All 2 Replies

Please elaborate on "can't access the filepath"--are you getting an exception? What does the error message say?

You need to check two things here:

  1. This path should exist.
  2. You have permission to access the location. Since it seems to a location of a server/Domain directory.
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.