My 2p about Information Worker Solutions and other software products.

22 May 2008

Restore subsite: parent web does not exist kick it on DotNetKicks.com

by Patrik Luca 1 comments

Tag



Problem description: during restore of a subsite following error occurs: parent web does not exist


I had exported a subsite having over 50 subsites beneath it using the stsadm -o export command. Upon importing the hence created backup file using the stsadm -o import command on another server, a fatal error occurs. The error logged is: FatalError: The file cannot be imported because its parent web <URL name of the exported subsite> does not exist.

Solution: do the import as site collection administrator


My first thought was that I needed to create a blank site with the same URL name before importing my subsite. So I gave it a try: my import started better, but it failed again, on the first of the more than 50 subsites beneath my "parent" subsite. So I created again a blank site for this sub-subsite. My import went already some further, but then it failed -off course- on the second of the more of 50 sub-subsites. I couldn't believe I would need to create my complete site hierarchy before being able to import my backup of a subsite. Then I tried to do the import with another user account, and hey, the import ran smoothly without any errors. So what was the difference: my second account was a member of the site collection administrators group.
Conclusion: running an import of a backup of a subsite should be done with a user account being member of the site collection administrators group, else you get some cryptic error messages and a failure of your restore operation.

Comments 1 comments
Anonymous said...

I've seen the same error while importing files that were exported from a Read-Only Locked site into a new site collection. Unlocking prior to export produced better results.

Patrik Luca, Ieper, BELGIUM
Feel free to use or spread all of the content on my blog. In return, linking back to my blog would be greatly appreciated. All my posts and articles are provided "AS IS" with no warranties.

Subscribe feeds via e-mail
Subscribe in your preferred RSS reader

Subscribe feeds rss Most Read Entries

Subscribe feeds rss Recent Entries

Categories

Recommended Books


Subscribe feeds rss Recent Comments

Powered by Blogger Widgets

This Blog is part of the U Comment I Follow movement in blogosphere. Means the comment field of this blog is made DOFOLLOW. Spam wont be tolerated.

Live Traffic Feed

Blog Archive

My Blog List

Followers

Guest Links