title: TFS Database Backup Failed : There is an error in XML document - but which Doc?
body: <p>Our Nightly TFS 2012 backup has just started to fail. It also fails when run directly through TFS Express Administration Console.</p>
  
  <p>Which file is the following error actually referring to? If I can find it then I should be able to fix the "Root element is missing" error :)</p>
  
  <pre><code>[13/08/2014 23:00:00] [Info] Full database backup job
  [13/08/2014 23:00:00] [Info] Getting backup lock
  [13/08/2014 23:00:05] [Error] 
  Exception Message: There is an error in XML document (0, 0). (type   InvalidOperationException)
  Exception Stack Trace:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
     at Microsoft.TeamFoundation.Admin.BackupSets.Load(String folder)
     at Microsoft.TeamFoundation.Admin.Jobs.FullDatabaseBackupJobExtension.Run(TeamFoundationRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime jobQueueTime, String&amp; resultMessage)
  
  Inner Exception Details:
  
  Exception Message: Root element is missing. (type XmlException)
  Exception Stack Trace:    at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
  at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
  at System.Xml.XmlReader.MoveToContent()
  at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderBackupSets.Read7_BackupSets()
  
  [13/08/2014 23:00:05] [Info] Full Backups Failed
  </code></pre>
  
  <p>Thanks.</p>