Drive mapping

G

Guest

I have an application that retrieves/copies data from different servers through mapped drives.

When one server goes down, it looses the mapping to the other server, and so the application does not work the way it was intended

OS - Windows 200
..NET 1.1 Framewor

1) How do I make sure that the server maintains the drive mapping, if the other server is rebooted

2) I would like to write a windows service to check for the drive every five minutes, and if it is not available, to remap it though the code, Is it possible

Thanks

Ta
 
W

Willy Denoyette [MVP]

I suppose you are talking about mapping a share to a drive letter, one
simple answer; don't use drive mappings use UNC paths.

Willy.
 
G

Guest

You referring as definin

\\Server Name\Folder Name as UNC name

But the problem is that the login and password are different on another server. Plus Does it keep track of it
when the other server goes down

If I use the UNC path, How can I access the folder by also passing the user name and password

Thanks

Ta
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top