Here is my directory to my server (permissions are good):
string ServerPath = ("\\\\servername\\Public\\Intranet2007Docs");
Here I am accessing it:
DirectoryInfo directory = new DirectoryInfo(Server.MapPath(ServerPath));
And here is the error:
Any help would be great. I don't understand why it won't map the path to the UNC.
Try not using the server.MapPath:
DirectoryInfo directory = new DirectoryInfo("\\\\servername\\Public\\Intranet2007Docs");