A
Abraham Andres Luna
hey everyone,
i try to access a network drive using asp.net:
File.Delete(@"W:\text.txt");
but i get this error message:
System.IO.DirectoryNotFoundException: Could not find a part of the path
'W:\text.txt'.
i setup impersonate in the web.config:
<identity impersonate="true" userName="user" password="password" />
but it still doesnt work. this user has access to the network drive. i can
access it using windows explorer. do i have to impersonate this user in the
code and then access the drive?
i try to access a network drive using asp.net:
File.Delete(@"W:\text.txt");
but i get this error message:
System.IO.DirectoryNotFoundException: Could not find a part of the path
'W:\text.txt'.
i setup impersonate in the web.config:
<identity impersonate="true" userName="user" password="password" />
but it still doesnt work. this user has access to the network drive. i can
access it using windows explorer. do i have to impersonate this user in the
code and then access the drive?