Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

could not generate export file for SalesOrderHeaderV2 Entity

Posted on by 135

while trying to export SalesOrderHeaderV2 entity it's failing and showing errors

Log text :

System.Exception: Exception from HRESULT: 0xC0202009
at Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.DmfEntitySharedTypesProxy.DoWork[T](Func`1 work)
at Dynamics.AX.Application.DMFGenerateSSISPackage.`generateFileDataV2(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 @_entitySyncVersion_IsDefaultSet, Boolean @_previewCount_IsDefaultSet) in xppSource://Source/ApplicationFoundation\AxClass_DMFGenerateSSISPackage.xpp:line 1273

BYOD.png

I have tried for excel as well as other format as well.
and there are no customizations as well

  • athombare Profile Picture
    athombare 135 on at
    RE: could not generate export file for SalesOrderHeaderV2 Entity

    Thanks @Will WU it work for me

  • Verified answer
    WillWU Profile Picture
    WillWU 22,350 on at
    RE: could not generate export file for SalesOrderHeaderV2 Entity

    Hi athombare,

    May be a problem with one of the fields mapping.

    Please refer to these two links,

    https://community.dynamics.com/365/financeandoperations/f/dynamics-365-for-finance-and-operations-forum/296636/custom-export-project-no-longer-working_error-message?pifragment-94775=1,

    https://community.dynamics.com/365/financeandoperations/b/ax2012codingaxclated/posts/d365fo---byodb-entity-export-failing-with-no-error-message-catch-weight-exporting-issue,

    Try to refreshing the entity list and regenerate the field mappings.

    Hope this helps you

  • athombare Profile Picture
    athombare 135 on at
    RE: could not generate export file for SalesOrderHeaderV2 Entity

    Not able to get exact solution at the end of thread

  • Martin Dráb Profile Picture
    Martin Dráb 229,963 Most Valuable Professional on at
    RE: could not generate export file for SalesOrderHeaderV2 Entity

    Check out of this older thread about the same exception doesn't give you any useful hints.

  • athombare Profile Picture
    athombare 135 on at
    RE: could not generate export file for SalesOrderHeaderV2 Entity

    532475.png

    - EventData

     methodName DMFGenerateSSISPackage.generateFileDataV2()

     diagnosticsMessage System.Exception: Exception from HRESULT: 0xC0202009 at Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.DmfEntitySharedTypesProxy.DoWork[T](Func`1 work) at Dynamics.AX.Application.DMFGenerateSSISPackage.`generateFileDataV2(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 @_entitySyncVersion_IsDefaultSet, Boolean @_previewCount_IsDefaultSet) in xppSource://Source/ApplicationFoundation\AxClass_DMFGenerateSSISPackage.xpp:line 1273

  • Martin Dráb Profile Picture
    Martin Dráb 229,963 Most Valuable Professional on at
    RE: could not generate export file for SalesOrderHeaderV2 Entity

    Then you may want to follow the other part of my suggestion and examine event logs. Look at logs under Application and Services Logs > Microsoft > Dynamics, especially those with names starting with AX-DIXF.

  • athombare Profile Picture
    athombare 135 on at
    RE: could not generate export file for SalesOrderHeaderV2 Entity

    after pressing view execution log its displaying log text which I have shared while asking above question

    60434.png

  • Martin Dráb Profile Picture
    Martin Dráb 229,963 Most Valuable Professional on at
    RE: could not generate export file for SalesOrderHeaderV2 Entity

    What if you press View execution log? Or check event logs?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,151 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,963 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans