Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Import fails into CRM 2013 SP1 - Error.ActionFailed Microsoft.Crm.Tools.Admin.PopulateDependenciesAction

$
0
0

Hi All -

I'm having an issue importing an Organization into CRM 2013 SP1 from CRM 2011 UR16 - this is my new 2013 dev environment and I am using UR16 as a stepping deployment into 2013 SP1 as my current dev is on UR13.

This error has only started since I updated CRM 2013 from UR2 to SP1 - previously this process worked fine.

Error -

From Deployment Manager log -

10:42:07|  Error| 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 ---, Error, RetryCancel, Option1

Cancelling the import results in a failed import - I can then delete the Org from Deployment Manager and try to import again, this time it completes but the Org is at RTM version and not SP1.  I can upgrade the Org to SP1 and access the tenant site but then the Activity Feed throws a 404 error and when trying to Install Product Updates for the SP1 features it results in Opps, something went wrong error.  Obviously not a viable workaround.

Any thoughts on what could be causing this failure?

Thanks!


Viewing all articles
Browse latest Browse all 79901


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>