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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Export data entity in d365

(0) ShareShare
ReportReport
Posted on by 60

HI,

I am trying to export data entity iam geeting these error

System.Exception: Exception from HRESULT: 0xC02020E8

   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​
Thanks,
Anusha.
I have the same question (0)
  • nmaenpaa Profile Picture
    101,172 Moderator on at

    Do you get this error with some specific entity or all entities?

    If only one, is it some custom entity that you developed?

    If yes, is there something special in this entity?

  • Anusha Redy Profile Picture
    60 on at

    i am geeting this error for specific entity, yes it is a custom entity .

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    Ok, so something is wrong with that entity.

    Is there something special about this entity, or is it an entity with exactly one data source and no x++ code?

    Did it work ever before?

    I suggest you compare it to standard entity that is working correctly.

    If you need more help from us, please share much more information about your entity. Right now we don't know anything so it's hard to guess what could be wrong.

  • Anusha Redy Profile Picture
    60 on at

    in that entity has two data sources, in that tables has some code in x++

  • Anusha Redy Profile Picture
    60 on at

    Error adding updating OLEDB source properties-Exception from HRESULT: 0xC0202009

  • nmaenpaa Profile Picture
    101,172 Moderator on at

    I'm very sorry but I don't think I'm able to provide more help, with the information that I have received.

    Also if you share some error message without any context, it's unfortunately not helpful at all.

    Hopefully you get your problem resolved with the small pieces of advice that I provided!

  • Gustavo Vivancos Profile Picture
    32 on at

    Hi. I faced an error thtat is quite similar:

    "Error adding updating OLEDB source properties-Exception from HRESULT: 0xC0202009"

    It failed always with the same entity/ies without any apparent reason.

    To solve it, I do the following steps:

    1) Remove the entity from list of entities to export

    2) Open the Add dialog, one or multiple entities, doesn't matter

    3) Select the entity

    4) Set the field "Skip staging" to No

    5) Fill the other required fields and insert the entity

    Now, you should be able to export the entity without error.

    Best wishes.

  • Zen_Raj Profile Picture
    177 on at

    Thank you Gustavo, this solved my issue after hours of searching. Just had to skip staging to no.

  • BADRI NARAYANAN G Profile Picture
    218 on at
    Hi Friends,I got the same error for one of my custom entities.
     
    I followed the steps mentioned by Gustavo Vivancos.
     
    After that my issue was rectified.
     
    Thanks
    Badri
  • Suggested answer
    AR-01121610-0 Profile Picture
    4,973 Moderator on at
    It is always a good idea to be sure that the entity meta data are refershed and up-to-date.
    Go to Data management/Data import/export framework parameters/Entity settings/Refresh entity list
     
    Hope this helps.
    Herzliche Grüße / kind regards,
     
    Andreas Raithel
    D365FO Solution Architect

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 622

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 553 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans