web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Error message in the Data Management

(0) ShareShare
ReportReport
Posted on by 5

Hey everyone

Hope you're doing great and staying safe!

Recently I started to experience the issue in my dev VM while exporting any data entities.

Have anyone faced with something else?

I tried to restart all services and AOSs, installed the latest version of Azure Emulator, dropped cache, etc and nothing helped.

The detailed error message:

System.ServiceModel.Dispatcher.NetDispatcherFaultException: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter tempuri.org/:ExportDataResult. The InnerException message was 'Error in line 1 position 313. 'Element' 'DiffTabDestOnly' from namespace 'schemas.datacontract.org/.../Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelper' is not expected. Expecting element 'ActivityId'.'. Please see InnerException for more details. ---> System.Runtime.Serialization.SerializationException: Error in line 1 position 313. 'Element' 'DiffTabDestOnly' from namespace 'schemas.datacontract.org/.../Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelper' is not expected. Expecting element 'ActivityId'.
at System.Runtime.Serialization.XmlObjectSerializerReadContext.ThrowRequiredMemberMissingException(XmlReaderDelegator xmlReader, Int32 memberIndex, Int32 requiredIndex, XmlDictionaryString[] memberNames)
at System.Runtime.Serialization.XmlObjectSerializerReadContext.GetMemberIndexWithRequiredMembers(XmlReaderDelegator xmlReader, XmlDictionaryString[] memberNames, XmlDictionaryString[] memberNamespaces, Int32 memberIndex, Int32 requiredIndex, ExtensionDataObject extensionData)
at ReadDMFEntityFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] )
at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)
at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns)
at System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
at System.Runtime.Serialization.DataContractSerializer.ReadObject(XmlDictionaryReader reader, Boolean verifyObjectName)
at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.PartInfo.ReadObject(XmlDictionaryReader reader, XmlObjectSerializer serializer)
at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part, Boolean isRequest)
--- End of inner exception stack trace ---

Server stack trace:
at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part, Boolean isRequest)
at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeBody(XmlDictionaryReader reader, MessageVersion version, String action, MessageDescription messageDescription, Object[] parameters, Boolean isRequest)
at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeBodyContents(Message message, Object[] parameters, Boolean isRequest)
at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeReply(Message message, Object[] parameters)
at System.ServiceModel.Dispatcher.ProxyOperationRuntime.AfterReply(ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelperService.Contract.ServiceContract.ExportData(DMFEntity entity)
at Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.DmfEntitySharedTypesProxy.DoWork[T](Func`1 work)
at Dynamics.AX.Application.DMFGenerateSSISPackage.`generateFileDataV2Inner(DMFDefinitionGroupExecution _dmfDefinitionGroupExecution, String _defGroupName, DMFFileFormat _fileFormat, DMFDelimiter _rowDelimiter, DMFDelimiter _columnDelimiter, String _codePage, String _locale, NoYes _isFirstRowHeader, NoYes _unicode, String _source, String _textQualifier, DMFXMLStyle _style, String _rootElement, String _filePath, Map _entitySyncVersion, Int32 _previewCount, Boolean _updateOnError) in xppSource://Source/ApplicationFoundation\AxClass_DMFGenerateSSISPackage.xpp:line 1411

I have the same question (0)
  • Martin Dráb Profile Picture
    237,896 Most Valuable Professional on at

    A few things suggest that this is about D365FO, therefore let me move it to Dynamics 365 Finance forum.

  • Anton Frolov Profile Picture
    5 on at

    Thank you Martin. My bad :)

  • Martin Dráb Profile Picture
    237,896 Most Valuable Professional on at

    What happened before it stopped working?

    Is the same for all entities?

    Did you recompile the application?

    Have you tried to debug the code? It seems it has a problem with deserializing a data contract; it would be useful to know which one.

  • Anton Frolov Profile Picture
    5 on at

    It stopped working 1.5 weeks ago, after PU12 update and has effect for all data entities.

    I tried almost everything: recompile all models, dropped cache, installed the latest updates for Azure Emulator. When I tried to debug it I got to the kernel part (class DMFGenerateSSISPackage, line 1411):

            returnRec  = dmfEntityProxy.ExportData(helper);

    Helper - it's CLR object: Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelper.DMFEntity

    dfmEntityProxy - CLR object as well: Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.DmfEntitySharedTypesProxy

    During my tries I found one weird moment: I re-created dev VM and apply the latest update + database backup from the test environment - the error occurred again. Unfortunately I didn't try to export on the raw env :(

    Because my VM rolled out on company's tenant - it's a bit complicated to recreate it one more time

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Anton,

    I have a few questions

    1. Did you mean an update to 10.0.12 or PU12 is correct? (it's quite old PU).

    2. Does the issue happen for all kind of data format (xml, excel, csv)?

  • Anton Frolov Profile Picture
    5 on at

    Hi Sergei,

    Sorry, my mistake about F&O version. It's 10.0.12 (Update36).

    Just tried to export csv, excel, external DB, xml - for all of them I received the issue

  • Naga Kiran Profile Picture
    on at

    Hi Anton,

    We recently saw this issue coming for one of the customers and it got fixed by reapplying PU36. However we don't have any specific repro steps for this issue. Could you please check by applying latest quality updates? I see you may not re-create the VM and test the issue before restoring data.

    Since its failing at serialization, possibly a data related issue. If there is a chance to refresh the data from any other environment where its working, please do that as well.

  • Anton Frolov Profile Picture
    5 on at

    Hey Kiran,

    Thank you for your replay.

    One question: Did you recreate your environment before to reapply PU36? Because I tried to reapply PU36 for already existed environment and, even more, I applied PU37 preview - nothing helped.

    I had thoughts about data and tried to restore database from two different azure environments where it works perfectly fine - still not working.

  • tyhj Profile Picture
    625 on at

    Hi Anton,

    Did you manage to resolve the issue ?

  • Ramit Paul Profile Picture
    22,797 Most Valuable Professional on at

    Which Version is it?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans