2

Hello, we use D365 for Marketing. As we create new Email templates we want to avoid to do it in all environments manually. Therefore we create them in DEV and try to transfer them via packagedeployer using the ConfigurationMigration utility. When I create a schema only selecting the entity "Marketing Email Templates" and try to export the data for this entity I get the following exception: DataMigrationUtility.Export Information 8 04.09.2019 11:14:47 ** Exporting Entity msdyncrm_marketingemailtemplate ** DataMigrationUtility.Export Information 8 04.09.2019 11:14:47 Processing msdyncrm_marketingemailtemplate Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 04.09.2019 11:14:47 Execute Command - RetrieveMultiple : GetEntityDataBySearchParms : RequestID=bd2dcb7e-a9dc-48ab-b122-e9f8fc6c5e9b Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 04.09.2019 11:15:33 Executed Command - RetrieveMultiple : GetEntityDataBySearchParms : RequestID=bd2dcb7e-a9dc-48ab-b122-e9f8fc6c5e9b : duration=00:00:45.9898787 Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 04.09.2019 11:15:33 Execute Command - RetrieveMultiple : GetEntityDataBySearchParms : RequestID=325294dd-0d3e-4bbe-959f-b348851ab19f Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 04.09.2019 11:16:20 Executed Command - RetrieveMultiple : GetEntityDataBySearchParms : RequestID=325294dd-0d3e-4bbe-959f-b348851ab19f : duration=00:00:46.1318943 Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 04.09.2019 11:16:20 Execute Command - RetrieveMultiple : GetEntityDataBySearchParms : RequestID=aa46f5fa-9d1c-4ef4-815b-f24e44e759dd Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 04.09.2019 11:17:08 Executed Command - RetrieveMultiple : GetEntityDataBySearchParms : RequestID=aa46f5fa-9d1c-4ef4-815b-f24e44e759dd : duration=00:00:48.3322112 Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 04.09.2019 11:17:08 Execute Command - RetrieveMultiple : GetEntityDataBySearchParms : RequestID=75a85c65-f41f-4b6c-b161-5213c4528e79 Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 04.09.2019 11:17:44 Executed Command - RetrieveMultiple : GetEntityDataBySearchParms : RequestID=75a85c65-f41f-4b6c-b161-5213c4528e79 : duration=00:00:36.0052783 Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 04.09.2019 11:17:44 Execute Command - RetrieveMultiple : GetEntityDataBySearchParms : RequestID=72fa1132-f4e1-4716-a2ee-d5ebea0605ff Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 04.09.2019 11:18:25 Executed Command - RetrieveMultiple : GetEntityDataBySearchParms : RequestID=72fa1132-f4e1-4716-a2ee-d5ebea0605ff : duration=00:00:41.3890790 DataMigrationUtility.Export Information 8 04.09.2019 11:18:25 Found 2474 rows for msdyncrm_marketingemailtemplate entity DataMigrationUtility.Export Information 8 04.09.2019 11:18:25 Processing Marketing email template rows for 2474 to export stream DataMigrationUtility.Export Information 8 04.09.2019 11:18:29 Entity Export Process Complete DataMigrationUtility.Export Information 8 04.09.2019 11:18:29 Writting output file : C:\Users\martla\Downloads\data.xml DataMigrationUtility.Export Error 2 04.09.2019 11:18:31 Message: Exception Raised when Serializing Microsoft.Xrm.Tooling.Dmt.DataMigCommon.DataModel.Data.entities Source : System.Xml Method : Serialize Date : 04.09.2019 Time : 11:18:31 Error : Beim Generieren des XML-Dokuments ist ein Fehler aufgetreten. Stack Trace : bei System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id) bei System.Xml.Serialization.XmlSerializer.Serialize(Stream stream, Object o, XmlSerializerNamespaces namespaces) bei Microsoft.Xrm.Tooling.Dmt.DataMigCommon.Utility.Helper.Serialize[T](Object objToSerialize) ====================================================================================================================== Inner Exception Level 1 : Source : mscorlib Method : set_Capacity Date : 04.09.2019 Time : 11:18:31 Error : Eine Ausnahme vom Typ "System.OutOfMemoryException" wurde ausgelöst. Stack Trace : bei System.IO.MemoryStream.set_Capacity(Int32 value) It seems the utility is not able to process this entity.

Category: General
STATUS DETAILS
Declined
Ideas Administrator

Hi, 

We are declining this entry as it seems to be a bug or issue with your environment rather than a feature request.  Please open a ticket with support to help you resolve the issue.

Thanks,

Megan

Comments

L

One more weird behavior.
When I include the entity "Marketing form fields" in my schema the export of the data works fine but when I try to import the configurationmigration utility starts importing the data for the entity but nothign happens.
The utility status remains at "Processing Marketing form field (threaded), Imported 0 of 25".

Category: General