Click here to Skip to main content
15,884,986 members
Home / Discussions / C#
   

C#

 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Tomb42118-Dec-09 5:44
Tomb42118-Dec-09 5:44 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Luc Pattyn18-Dec-09 5:50
sitebuilderLuc Pattyn18-Dec-09 5:50 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Dave Kreskowiak18-Dec-09 6:59
mveDave Kreskowiak18-Dec-09 6:59 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Tomb42118-Dec-09 8:14
Tomb42118-Dec-09 8:14 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Dave Kreskowiak18-Dec-09 9:30
mveDave Kreskowiak18-Dec-09 9:30 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Tomb42118-Dec-09 11:27
Tomb42118-Dec-09 11:27 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Ravi Bhavnani18-Dec-09 16:13
professionalRavi Bhavnani18-Dec-09 16:13 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Tomb42121-Dec-09 1:56
Tomb42121-Dec-09 1:56 
In order to properly target this issue and increase and knowledge for all, please note the following.

In neither the Windows Forms application or the Windows Service Application is there every the creation for the Z: network mapping drive. This mapping was created externally during the booting of the pc and was created with the 'Reconnect at Log On' check true long before to the existence of the Windows Service.

The Windows Forms application or the Windows Service Application use the same routine 'DirectoryInfo' to check for the existence of a FileSearch based on the path passed to the routine. You can review this routine and the errror in the original posting.

Ravi, when you say 'The mapping hasn't been defined in the process in which the service runs.', where you thinking that the z: drive mapping was being dynamically created or is there something I am missing. Please clarify.

/Tom
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Ravi Bhavnani21-Dec-09 6:02
professionalRavi Bhavnani21-Dec-09 6:02 
GeneralRe: VS C# Windows Service - System.IO.DirectoryNotFoundException: Could not find a part of the path Pin
Tomb42124-Dec-09 1:49
Tomb42124-Dec-09 1:49 
Questionc# form on focus Pin
benjamin yap18-Dec-09 5:08
benjamin yap18-Dec-09 5:08 
AnswerRe: c# form on focus Pin
EliottA18-Dec-09 5:28
EliottA18-Dec-09 5:28 
GeneralRe: c# form on focus Pin
benjamin yap18-Dec-09 5:33
benjamin yap18-Dec-09 5:33 
GeneralRe: c# form on focus Pin
EliottA18-Dec-09 5:33
EliottA18-Dec-09 5:33 
GeneralRe: c# form on focus Pin
jashimu18-Dec-09 5:54
jashimu18-Dec-09 5:54 
GeneralRe: c# form on focus Pin
Luc Pattyn18-Dec-09 5:55
sitebuilderLuc Pattyn18-Dec-09 5:55 
GeneralRe: c# form on focus Pin
benjamin yap18-Dec-09 6:13
benjamin yap18-Dec-09 6:13 
GeneralRe: c# form on focus Pin
Luc Pattyn18-Dec-09 6:27
sitebuilderLuc Pattyn18-Dec-09 6:27 
GeneralRe: c# form on focus Pin
EliottA18-Dec-09 6:46
EliottA18-Dec-09 6:46 
QuestionSAPI Training From Wav File Pin
mudrugger18-Dec-09 4:24
mudrugger18-Dec-09 4:24 
AnswerRe: SAPI Training From Wav File Pin
Migounette18-Dec-09 13:42
Migounette18-Dec-09 13:42 
GeneralRe: SAPI Training From Wav File Pin
mudrugger18-Dec-09 14:17
mudrugger18-Dec-09 14:17 
GeneralRe: SAPI Training From Wav File Pin
Migounette19-Dec-09 7:01
Migounette19-Dec-09 7:01 
GeneralRe: SAPI Training From Wav File Pin
mudrugger21-Dec-09 2:17
mudrugger21-Dec-09 2:17 
GeneralRe: SAPI Training From Wav File Pin
taneem78511-Mar-10 3:30
taneem78511-Mar-10 3:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.