DirectoryEntry deSourcedir = new DirectoryEntry(strFormPath, ConfigurationManager.AppSettings["Username"].ToString(), ConfigurationManager.AppSettings["Password"].ToString()); DirectoryEntry deDestinationdir = new DirectoryEntry(strTopath, ConfigurationManager.AppSettings["UsernameTarget"].ToString(), ConfigurationManager.AppSettings["PasswordTarget"].ToString(),AuthenticationTypes.Secure); deSourcedir.MoveTo(deDestinationdir);
There is no such object on the server. (Exception from HRESULT: 0x80072030)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)