Restore error: "There are no more files" + COM error 0x80070012

I was recently doing an stsadm –o restore to restore a backup and was able to successfully move my production site collection backup to test.  When i went to the site it mostly worked with the exception of one subsite.  One subsite was returning a COM error "There are no more files" with a COM error code 0x80070012.

When i investigated it more most of the site was working with the exception of the Pages.  My guess was that the pages lost their association to the Page Layouts when i moved the site. 

I solved this by deleting all of the pages and recreating them. 

Hope this helps someone.

Comments

  • Anonymous
    June 05, 2009
    Hi, this maybe can help me. but how did you deleted all pages and recreating them? Thank you for all!

  • Anonymous
    June 05, 2009
    you might want to try restoring from sql backup instead of stsadm backups, this worked for me after i initially encountered this problem.  I had a utility that was capable of recreating my pages which i'm guesing you don't have.  

  • Anonymous
    June 14, 2009
    Hi, What utility did you use to recreate the pages? I'm in the same position. I restored files to sharepoint a few months ago. Only recently we found corrupted entries. Unfortunately, the old restore files have been since overwritten. How do I recreate? Thanks, Paul

  • Anonymous
    June 15, 2009
    I built my own utility that was xml based and had an xml map of what web parts are where.  It only worked since i had originally created all the pages as part of a development effort.  Have you tried restoring from SQL backup?  That ended up working for me and i didn't have to run my "custom built" utility.  

  • Anonymous
    June 15, 2009
    The comment has been removed

  • Anonymous
    October 12, 2009
    Hello All Last week I got the same Error while restoren a Sitebackup (via stsadm) on my Developmentserver. A whole Subsite was inkonsistent und produced Errors like "There is no file with URL...". After lots of investigation I found the error in the Relationshipslinklist due to lots of Misconfiguration in the GroupID-Column. After I corrected these I could restore a fresh backup without any problems! Hope it helps (well the thread maybe outdated but could help others as well) Greetings Michael http://sharepoint.swissblog.ch

  • Anonymous
    June 21, 2010
    I got this message about 3 days ago and I freaked, thinking "all my work" was gone, years of research lol and...I know, I know..I should have backed up anyways, but wasn't smart enough until after this incident. Luckyly this is just a minor error and I got it fixed rather quickly. I think it was a message from above telling me to backup my docs lol!!!