locked
CRM 2011 to CRM 2013 Import Organization Fails RRS feed

  • Question

  • Hi

    We are currently on CRM 2011, Rollup 17.

    We already have CRM 2013 setup and is on SP1 + Rollup 2 installed.

    So I took the CRM 2011 Database back up(99GB approx.) , restored onto CRM 2013 server and when I am trying to Import the organization to CRM 2013, it fails with the following message:

    Microsoft.Crm.CrmException: Upgrade Organization with Id=************ failed with Exception:

    System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.PopulateDependenciesAction ---> System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.

       at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)

       at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()

       at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

       at System.Xml.XmlReader.MoveToContent()

       at System.Xml.XmlReader.IsStartElement()

       at Microsoft.Crm.ObjectModel.ReportDependencyCalculator.RetrieveAndSetDependenciesForFetchXml(String xmlString, DependencyTypes type, SetAncestorHandler ancestorHandler, CreateInvalidAncestorDependencyHandler invalidDependencyHandler, ExecutionContext context)

       at Microsoft.Crm.ObjectModel.ReportDependencyCalculator.SetReportAttributeDependencies(BusinessEntity entity, DependencyTypes type, ExecutionContext context)

       at Microsoft.Crm.ObjectModel.ReportDependencyCalculator.DetermineRequiredDependencies(ExecutionContext context)

       at Microsoft.Crm.ObjectModel.DependencyCalculatorBase.DetermineAllDependencies(ICollection`1 records, ExecutionContext context)

       at Microsoft.Crm.ObjectModel.DependencyHelperBase.CreateDependencies(ExecutionContext context)

       at Microsoft.Crm.Dependency.ComponentCollector.CreateComponentDependencies(Dictionary`2 recordsByComponentType, ExecutionContext context)

       at Microsoft.Crm.Dependency.ComponentCollector.ProcessRecords(ExecutionContext context)

       at Microsoft.Crm.ObjectModel.DependencyService.CreateAllDependencies(ExecutionContext context)

       at Microsoft.Crm.Tools.Admin.PopulateDependenciesAction.Do(IDictionary parameters)

       at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)

       --- End of inner exception stack trace ---

       at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)

       at Microsoft.Crm.Setup.Shared.Installer.Install(IDictionary stateSaver)

       at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)

       at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)

       at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()

       at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo) ---> System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.PopulateDependenciesAction ---> System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.

       at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)

       at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()

       at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

       at System.Xml.XmlReader.MoveToContent()

       at System.Xml.XmlReader.IsStartElement()

       at Microsoft.Crm.ObjectModel.ReportDependencyCalculator.RetrieveAndSetDependenciesForFetchXml(String xmlString, DependencyTypes type, SetAncestorHandler ancestorHandler, CreateInvalidAncestorDependencyHandler invalidDependencyHandler, ExecutionContext context)

       at Microsoft.Crm.ObjectModel.ReportDependencyCalculator.SetReportAttributeDependencies(BusinessEntity entity, DependencyTypes type, ExecutionContext context)

       at Microsoft.Crm.ObjectModel.ReportDependencyCalculator.DetermineRequiredDependencies(ExecutionContext context)

       at Microsoft.Crm.ObjectModel.DependencyCalculatorBase.DetermineAllDependencies(ICollection`1 records, ExecutionContext context)

       at Microsoft.Crm.ObjectModel.DependencyHelperBase.CreateDependencies(ExecutionContext context)

       at Microsoft.Crm.Dependency.ComponentCollector.CreateComponentDependencies(Dictionary`2 recordsByComponentType, ExecutionContext context)

       at Microsoft.Crm.Dependency.ComponentCollector.ProcessRecords(ExecutionContext context)

       at Microsoft.Crm.ObjectModel.DependencyService.CreateAllDependencies(ExecutionContext context)

       at Microsoft.Crm.Tools.Admin.PopulateDependenciesAction.Do(IDictionary parameters)

       at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)

       --- End of inner exception stack trace ---

       at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)

       at Microsoft.Crm.Setup.Shared.Installer.Install(IDictionary stateSaver)

       at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)

       at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)

       at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()

       at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)

       --- End of inner exception stack trace ---

       at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)

       at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.Execute(Object obj)

    09:53:43|   Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting

    09:53:43|   Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 6.1.0000.0581.

    Many Thanks in advance

    Monday, July 21, 2014 1:35 PM