Advertisement

09.25.2007 at 07:48AM PDT, ID: 22851131
[x]
Attachment Details

Windows service not finding path to mapped drive

Asked by hertel-dev in .NET Framework 2.x, Windows 2003 Server, Microsoft Visual Basic.Net

Tags: , , , ,

I have written a windows service in VB.NET 2005 that "polls" a mapped drive for files. It runs on my local machine but when I install and start it on a Windows 2003 server machine I get the following error:
Service cannot be started. System.IO.DirectoryNotFoundException: Could not find a part of the path 'R:\'.

The service checks that the mapped drive (R:\) exists when started.
I've tried using an UNC path but I still get the same problem.

Any help appreciated. Start Free Trial
[+][-]09.25.2007 at 07:56AM PDT, ID: 19956229

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .NET Framework 2.x, Windows 2003 Server, Microsoft Visual Basic.Net
Tags: drive, service, windows, mapped, path
Sign Up Now!
Solution Provided By: PaulHews
Participating Experts: 2
Solution Grade: B
 
 
[+][-]09.25.2007 at 08:21AM PDT, ID: 19956472

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.25.2007 at 08:32AM PDT, ID: 19956577

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.25.2007 at 08:43AM PDT, ID: 19956655

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.25.2007 at 08:49AM PDT, ID: 19956698

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628