Hi
The website have to show subdirectories on a network drive.
I use the following code:
string[] directories;
directories=Directory.GetDirectories(_Path);
....
The _Path contains an url like \\server\directory\subdirectory\
Impersonate is set to true
When i try the code from the localhost, i receive the subdirectories.
When i try the _Path directly in my browser, i see the subdirectories.
I copied the dll to the production server.
When i use this dos command line to check if i have rights to read the
_Path, everything works fine. (runas :user:username cmd)
from this cmd screen i have acces to the _Path
When i try the website, i receive always access denied, even if
impersonate is set to true.
Can someone explain me more about this problem ?
frederik