6
Vote

There is an error in XML document (1, 2)

description

when calling ListRootWebFolderItems() method.

file attachments

comments

senareddy wrote May 22, 2014 at 5:48 AM

It seems not working from May/20/2014

wrote May 22, 2014 at 6:00 AM

douglas2 wrote May 22, 2014 at 6:06 AM

I have the same issue. My code has been running for a while but now it crashes on this:
HgCo.WindowsLive.SkyDrive.OperationFailedException: There is an error in XML document (1, 2). ---> System.InvalidOperationException: There is an error in XML document (1, 2). ---> System.InvalidOperationException: <html xmlns=''> was not expected.
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderListFolderItemsResponse.Read11_feed()
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
   at HgCo.WindowsLive.SkyDrive.Support.Net.XmlWebClient.DeserializeResponse[TResponse](String strResponse)
   at HgCo.WindowsLive.SkyDrive.Support.Net.XmlWebClient.SendRequest[TResponse](String method, Uri address)
   at HgCo.WindowsLive.SkyDrive.Support.Net.XmlWebClient.SendRequest[TResponse](Uri address)
   at HgCo.WindowsLive.SkyDrive.Services.UsersService.UsersServiceClient.ListRootFolderItems(String cid)
   at HgCo.WindowsLive.SkyDrive.SkyDriveServiceClient.ListRootWebFolderItems()
   --- End of inner exception stack trace ---
   at HgCo.WindowsLive.SkyDrive.SkyDriveServiceClient.ListRootWebFolderItems()
   at HgCo.WindowsLive.SkyDrive.SkyDriveServiceClient.ListRootWebFolders()
Same problem as issue 9336 calling client.GetWebAccountInfo(): https://skydriveapiclient.codeplex.com/workitem/9336

wrote May 30, 2014 at 10:03 AM

PjS wrote May 30, 2014 at 10:05 AM

I am also seeing similar issues. In my case, I am getting a (403) Forbidden.

wrote Jun 13, 2014 at 1:26 PM

wrote Sep 22, 2014 at 7:32 AM