Friday, August 29, 2008

Error creating a page within a Site Collection

We are receiving this error while trying to create a page in a subsite that was restored to a Site Collection.
"Data at the root level is invalid. Line 1, position 1.
Troubleshoot issues with Windows SharePoint Services. "

Seems that when you restore a sub site to a site collection there are many issues that occur. We only came across 2 of them. But after reading this post below we are actually encountering others. http://stsadm.blogspot.com/2007/09/convert-sub-site-to-site-collection.html
Thanks to this post we have fixed our Site Collection.

I have deployed this solution to our environment. Then I ran the command:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN>stsadm -o gl-repairsitecollectionimportedfromsubsite -sourceurl http://apps/sites/testsc -targeturl http://apps/sites/sdlc

Site Collection is now fixed.

No comments: