We are trying to upgrade from 8.2.5.0004 to 8.2.6.0019.
We run the update. Then we try to update our oganizations, and a few seconds later, we get this error.
System.Xml.XmlException Hexadecimal value 0x00 is a invalid character, line 1974, position 20
Below is a small part of the crmdmsnapin.log file.
We are looking to find which XML file could be the problem.
Any help is much appreciated.
17:27:42| Info| Not setting state to Enabled as it is already set to Enabled
17:27:42| Info| Not setting state to Enabled as it is already set to Enabled
17:27:42| Error| La mise à jour de l’organisation (ID=c20ba27e-dedc-4abe-8bd6-d3a3016c1e29) a échoué avec l’exception :
System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction ---> System.Xml.XmlException: '.', valeur hexadécimale 0x00, est un caractère non valide. Ligne 1974, position 20.
à System.Xml.XmlTextReaderImpl.Throw(Exception e)
à System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
à System.Xml.XmlTextReaderImpl.ParseText()
à System.Xml.XmlTextReaderImpl.ParseElementContent()
à System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
à System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
à System.Xml.XmlDocument.Load(XmlReader reader)
à Microsoft.Crm.SharedUtil.CreateXmlDocument(XmlReader reader)
à Microsoft.Crm.SharedUtil.CreateXmlDocument(String xml)
à Microsoft.Crm.Metadata.MetadataForMetadataXmlLoader.LoadMetadataForMetadata(String metadataForMetadataXml)
à Microsoft.Crm.Metadata.MetadataForMetadataXmlLoader.LoadMetadataForMetadataFromDirectory(String metadataForMetadataXmlDirectory)
à Microsoft.Crm.Setup.MetadataPatchDiffSet.LoadMetadataForMetadata(String filePathAndName)
à Microsoft.Crm.Setup.MetadataPatchDiffSet.InflateFromFile(String filePathAndName, Int32 lcid, Version version)
à Microsoft.Crm.Setup.MultiTenantMetadataDiffData..ctor(String metadataDiffFile, Version version)
à Microsoft.Crm.Setup.DBUpdateMultiTenantHelper.Init(String releaseFilePath, String actionFileDirectory, Version version)
à Microsoft.Crm.Setup.DBUpdateMultiTenantCache.GetInstance(Version version)
à Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.ApplyDBUpdates(Guid orgId, Nullable`1 operationType)
à Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdatesInternal(Guid orgId, String orgUniqueName, String releaseFilePath, Boolean ignoreErrors, OrganizationOperationType operationType)
à Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdates(Guid orgId, String orgUniqueName, OrganizationOperationType operationType)
à Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.Do(IDictionary parameters)
à Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
--- Fin de la trace de la pile d'exception interne ---
à Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
à Microsoft.Crm.Setup.Shared.Installer.Install(IDictionary stateSaver)
à Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
à Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
à Microsoft.Crm.Tools.Admin.OrganizationDatabaseHotFixer.Execute()
à Microsoft.Crm.Tools.Admin.ApplyDatabaseHotFixInstaller.ApplyDatabaseHotFix(IApplyDatabaseHotFixInfo applyDatabaseHotFixInfo)
17:27:42| Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
17:27:42| Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 8.2.0006.0019.
It turns out we did have some corrupted XML files in the C:\Program Files\Microsoft Dynamics CRM\Setup folder.
We ended up replacing those files with the ones from another server (that were uncorrupted).
Then the update ran smoothly.
Do you have any issues just opening the organizations? How about creating a new organization, any issues there? Have you checked the web.config file? Any further details in the Event Viewer on the server?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156