Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello all. Using ASP.Net(VB.Code

Status
Not open for further replies.

Jabez3rd

Programmer
Feb 6, 2003
9
US
Hello all.

Using ASP.Net(VB.Code behind),I've created a FileSystemWatcher that is to reside on
Server A and monitor the activity of folder on Server B.

The application works fine with watcher.path set to C:\.
However, when I specify any other drive for the
watcher.path, I receive an error message telling me the
selected path is invalid.

On my local machine Server B is mapped as W:\. I've tried
using the physical path as in watcher.path = "W:\RFTest",
as well as attempting to use the URL. All attempts result
in the same tired error message.

Any assistance will be greatly appreciated.

Thanks!

Brian.

 
Is it possible that a drive could be write-protected, or that the root directory within your drive W:\ could not have write permssions enabled?

The error message you indicated is the common error thrown when trying to access an inaccessible drive.

Also, how are you mapping the path to Server B's drive? The specific path might be leading to your problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top