Tuesday, May 15, 2012 7:49 PM
I'm trying to export a site via the ExportWeb method in the Sites web service, but I keep getting an error that the destination could not be found. I've created a blank document library to which I have full control as the destination, but ExportWeb doesn't seem to want to do it. Is there something else I need to do to create & set a viable destination for this option?
Tuesday, May 15, 2012 9:02 PMModerator
Could you post how you call the service, including the input parameters that you use ? According to the spec, you have to provide a full path to the location you are saving the site to + the user invoking the service must have write permissions to that location , as you indicated
- Edited by Bjoern H RappMicrosoft Community Contributor, Moderator Tuesday, May 15, 2012 9:06 PM
Wednesday, May 16, 2012 1:47 PM
At its simplest, I'm trying:
"http://<server2>/sites/migration/testsite/TempLib", true, true, false, 1024);
... where TempLib is an empty, un-templated document library to which I have full control. I'm connecting with credentials from System.Net.CredentialCache.DefaultCredentials. Just for the sake of trying I've also tried adding trailing slashes to the paths and adding a .cab extension to the file name.
Wednesday, May 16, 2012 5:35 PM
You can read the thread below it points to the protocol documentation which should help. Also make sure you are logged in as the farm administrator.
- Marked As Answer by Shimin Huang Sunday, May 27, 2012 12:26 PM