I am trying to upgrade some of the content databases from SharePoint 2007 to SharePoint 2010. I have resolved all the feature dependencies required to upgrade the content databases. Two of the content databases got upgraded just fine but one of the upgrade fails with the following error in the error log file:-
[STSADM] [SPContentDatabaseSequence] [INFO] [8/25/2012 3:08:13 PM]: SPContentDatabase Name=ANONYMOUS_ContentDB
[STSADM] [SPContentDatabaseSequence] [ERROR] [8/25/2012 3:08:13 PM]: Action 4.0.2.0 of Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence failed.
[STSADM] [SPContentDatabaseSequence] [INFO] [8/25/2012 3:08:13 PM]: SPContentDatabase Name=ANONYMOUS_ContentDB
[STSADM] [SPContentDatabaseSequence] [ERROR] [8/25/2012 3:08:13 PM]: Exception: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 10023.
[STSADM] [SPContentDatabaseSequence] [INFO] [8/25/2012 3:08:13 PM]: SPContentDatabase Name=ANONYMOUS_ContentDB
[STSADM] [SPContentDatabaseSequence] [ERROR] [8/25/2012 3:08:13 PM]: at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar)
at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
at System.Xml.XmlTextReaderImpl.ParseText()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at Microsoft.SharePoint.Upgrade.RemoveContentTypeField.UpgradeSchema(String originalSchema, String& newSchema, Boolean& AddIndex)
at Microsoft.SharePoint.Upgrade.RemoveContentTypeField.Upgrade()
at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
I am using command
stsadm -o addcontentdb -url "webappurl" -databasename "contentdbname"
to attach and upgrade the content database.
Can anyone please guide me as to what might be the problem here???