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.

Thursday, August 14, 2008

Move ULS Logs off of your C drive.

Log Files are finally moved off of the C drive. This is configured through Central Administration so it affects every server in your farm. If the drive doesn't exist on the server the log files will not be written.

So what I did was create a folder called SPLogFiles on the D drive of all servers in the farm. Once this was completed I modified the Diagnostic Logging settings in Central Administration under the Operations Tab.