Stsadm -o export ... Wow

So i have been having fun with the stsadm -o export function allllllllll wweeeeeeekkkk llooonnggg.

Reference my earlier post about how to fix search not indexing to find out why. Needless to say, trying to export the site has not been... easy, or anything close to that.

stsadm -o export -url http://mysite's_sub_site -filename d:\somefile.cmp -versions 2

Error: FatalError: There is no row at position 0.

Cause: An item, a list, some object in your site is referencing permissions of someone who simply not in your database anymore. How? Who knows, easy fix tho:

Solution: First find the next site it was about to go to, i do it this way personally:

1. stsadm -o enumsubwebs http://mysiteiamexporting
2. find the last site that it was exporting before it errored out. Your problem site is the next site.
3. Go to the site, go to the administration page.
4. Go to Advanced Permissions, Actions -> Edit Permissions, click O.K.
5. Actions -> Inherit Permissions.

Bam site is fixed now. Happy exporting!

Comments

Ricardo Irineo said…
Hey I'm facing a similar problem, and thanks to your post now I have a rough idea of what to test for, I'll post the outcome, but mine is worst since this is happening in one site and all it's subsites, all of them with unique permissions, i will either have to replicate the permissions again or pin the user causing the error, any idea how to best approach that last scenario?.

Popular posts from this blog

CI Build broke after nugit update

Sharepoint 2007 - Access Denied when you try to edit

Project 2010 and Project Pro 2007