Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

import organization 4.0 stuck on XML, outofmemory

$
0
0

Hi,

On preparing crm 2011 upgrade we want to import the production 4.0 dump into test 4.0.

CRM, SQL, Windows is ugraded to latest, registrykeys are set for max timeout, rollup 21 is set, OptimizeOrgImput is set,  etc etc.

Mem = 4 GB and does not exceed during proces, SQL timeout in SQL is set from 600 sec to 0 (

On import I get constant fail on several attempts:

20:12:17|Verbose| Update completed
20:12:17|Verbose| User added successfully to the OU groups in Active Directory
20:24:20|  Error| Het importeren van de organisatie (naam=CUSTOMER, id=a277dc8a-fafd-e211-9163-005056b57333) is mislukt. Uitzonderingsfout:
System.InvalidOperationException: There was an error generating the XML document. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity)
   at System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength)
   at System.Text.StringBuilder.Append(Char[] value, Int32 startIndex, Int32 charCount)
   at System.IO.StringWriter.Write(Char[] buffer, Int32 index, Int32 count)
   at System.Xml.XmlTextEncoder.WriteStringFragment(String str, Int32 offset, Int32 count, Char[] helperBuffer)
   at System.Xml.XmlTextEncoder.Write(String text)
   at System.Xml.XmlTextWriter.WriteString(String text)
   at System.Xml.XmlWriter.WriteElementString(String localName, String ns, String value)
   at System.Xml.Serialization.XmlSerializationWriter.WriteElementString(String localName, String ns, String value, XmlQualifiedName xsiType)
   at System.Xml.Serialization.XmlSerializationWriter.WriteElementString(String localName, String ns, String value)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterWorkflowData.Write22_StringProperty(String n, String ns, StringProperty o, Boolean isNullable, Boolean needType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterWorkflowData.Write35_Property(String n, String ns, Property o, Boolean isNullable, Boolean needType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterWorkflowData.Write36_DynamicEntity(String n, String ns, DynamicEntity o, Boolean isNullable, Boolean needType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterWorkflowData.Write86_PropertyBagEntry(String n, String ns, PropertyBagEntry o, Boolean isNullable, Boolean needType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterWorkflowData.Write87_PropertyBag(String n, String ns, PropertyBag o, Boolean isNullable, Boolean needType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterWorkflowData.Write93_WorkflowData(String n, String ns, WorkflowData o, Boolean isNullable, Boolean needType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterWorkflowData.Write94_WorkflowData(Object o)
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
   at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter, Object o, XmlSerializerNamespaces namespaces)
   at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter, Object o)
   at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.DeserializeAndUpdateOrgId(String wfData, Guid newOrganizationId, Int32 regardingOTC)
   at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ProcessWorkflowDataRows(IDbCommand command, Guid newOrganizationId)
   at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.Import(Guid organizationId, String organizationUniqueName, String organizationFriendlyName, String sqlServerName, String databaseName, Uri reportServerUrl, String privilegedUserGroupName, String sqlAccessGroupName, String userGroupName, String reportingGroupName, String privilegedReportingGroupName, ICollection`1 users, MultipleTenancy multipleTenancy)
20:24:20|Warning| Attempting to cancel a long running process: ProgressWizard. This might leave the data in an invalid state and the application might not function correctly.
20:26:40|Warning| Attempting to cancel a long running process: FinishWizard. This might leave the data in an invalid state and the application might not function correctly.
20:26:47|   Info| Deployment Manager Exit

Anybody?


Viewing all articles
Browse latest Browse all 8223

Trending Articles



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