G
Guest
On an ASP.NET page I try to access a network shared directory using the
following code:
System.IO.DirectoryInfo dirInfo = new
System.IO.DirectoryInfo(@"\\server\share");
if (dirInfo.Exists)
Response.Write ("Passed");
else
Response.Write ("Failed");
The result is it always goes to "Failed"
I have granted full permissions first to "Authenticated Users" and then to
"Everyone" for both the share permissions and the ACLs on the folder.
Thanks,
Steve
following code:
System.IO.DirectoryInfo dirInfo = new
System.IO.DirectoryInfo(@"\\server\share");
if (dirInfo.Exists)
Response.Write ("Passed");
else
Response.Write ("Failed");
The result is it always goes to "Failed"
I have granted full permissions first to "Authenticated Users" and then to
"Everyone" for both the share permissions and the ACLs on the folder.
Thanks,
Steve