putza
asked on
System.IO.DirectoryNotFoundException for remote folder
Our setup:
- computer 1: Windows 2003 running IIS 6.0
- computer 2: Windows Storage Server on a Network Attached Storage (NAS), where all data stored
We have shared a folder on this computer, and computer 1 has mapped this folder as the
D-drive.
- We are using a 3rd pary .NET control that allows users to upload files to our this folder sitting on our NAS.
The problem to solve:
- We get an error "System.IO.DirectoryNotFou ndExceptio n for remote folder", whenever it calls the function System.IO.Directory.Create Directory( "D:\upload s\newfolde r")
I think it has something to setting up the .NET security permissions in the machine.config file or web.config file, but I am have tried lots of settings and I am stuck at this point. For you information if the data were all stored on a folder on computer 1, then everything would works just fine.
- computer 1: Windows 2003 running IIS 6.0
- computer 2: Windows Storage Server on a Network Attached Storage (NAS), where all data stored
We have shared a folder on this computer, and computer 1 has mapped this folder as the
D-drive.
- We are using a 3rd pary .NET control that allows users to upload files to our this folder sitting on our NAS.
The problem to solve:
- We get an error "System.IO.DirectoryNotFou
I think it has something to setting up the .NET security permissions in the machine.config file or web.config file, but I am have tried lots of settings and I am stuck at this point. For you information if the data were all stored on a folder on computer 1, then everything would works just fine.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.