Hi there!
I am working on an ASP.NET VB application and I am trying to write an uploaded file to a shared directory on another server. I want to create a directory for the file on the server first. I have been using system.io.createdirectory which works great if the shared directory is on my local machine. I am not able to this though if the shared directory is on another server. I get the messsage:
"DirectoryNotFoundException: Could not find a part of the path \\Lnntexc\DocMan_Test\..."
I have tried several approches to resolving this issue.
I tried mapping the shared directory to my maching this did not work - same error.
I tried changing the current directory to the shared directory - same error.
I tried playing with security settings - eventually giving access to the shared directory to everyone - same error.
If somebody out there has experienced this difficulty and resolved it or if someone knows the soloution please let me know. Thanks very much!
I am working on an ASP.NET VB application and I am trying to write an uploaded file to a shared directory on another server. I want to create a directory for the file on the server first. I have been using system.io.createdirectory which works great if the shared directory is on my local machine. I am not able to this though if the shared directory is on another server. I get the messsage:
"DirectoryNotFoundException: Could not find a part of the path \\Lnntexc\DocMan_Test\..."
I have tried several approches to resolving this issue.
I tried mapping the shared directory to my maching this did not work - same error.
I tried changing the current directory to the shared directory - same error.
I tried playing with security settings - eventually giving access to the shared directory to everyone - same error.
If somebody out there has experienced this difficulty and resolved it or if someone knows the soloution please let me know. Thanks very much!