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 :
Microsoft Dynamics AX (Archived)

"CLR object cannot be marshaled to Microsoft Dynamics anytype" on the Data import/export framework

(0) ShareShare
ReportReport
Posted on by 815

Hi Experts

I just am facing the micgration issue on Dynamics AX2012 R2 with Data import/export framework. The migration error occurs when preview click on the Staging data execution form below.

"CLR object cannot be marshaled to Microsoft Dynamics anytype"

More than anything else, Would you please let me know some hints to solve this issue? otherwise please let me know URL including solutions?

Warm regards

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    It seems to be some data issue.

    Data in source is not getting assigned to staging table fields

    I suggest you should consider validating and reviewing the data.

    Are you getting this error always or at random.

  • pops67 Profile Picture
    815 on at

    Thank you so much  Nitesh !!

    According to your adive, I'm trying do that again with making small amount  of staging table.then I would like to report you ASAP^^.

    rgds

  • André Arnaud de Calavon Profile Picture
    301,109 Super User 2025 Season 2 on at

    Can you indicate which source data format and/or file type you are using? (e.g. File (csv or txt), ODBC?

    What datatype are used in the source?

  • pops67 Profile Picture
    815 on at

    Thanks Andre!!

    I set Data type is ODBC in datasource.Currently it is okay from CSV -file to Staging table but the error occurs when preview click.

    Warm kinds

  • André Arnaud de Calavon Profile Picture
    301,109 Super User 2025 Season 2 on at

    So  you are able to import into staging, but the preview shows errors? Are you able to copy the staging to the target?

    Can you include a printscreen with the error?

  • pops67 Profile Picture
    815 on at

    Hi Andre

    I found out a good URL below just now.

    http://axnmaia.wordpress.com/

    I think this blog might help me to understand Data import / export framework in AX2012 R2. thanks again.

    Kind regards

  • André Arnaud de Calavon Profile Picture
    301,109 Super User 2025 Season 2 on at

    Hi,

    This is indeed a good start. Try to see if this really helps you. Otherwise, come back to this forum and update your question or create a new one.

  • pops67 Profile Picture
    815 on at

    Hi Andre

    I just solved this issue just now owing to my team help.The problem is to open 1422 port of Staging DB server which is connectd AX DB server that has Target Entitiy. Also The Staging DB server has SSIS.

    From AX Client to AX DB server is openning  anytime but Staging server' out put 1433 port  was closed .

    I don't know why this error message is displayed on this situation when preview click.

    Kind regards

  • André Arnaud de Calavon Profile Picture
    301,109 Super User 2025 Season 2 on at

    Thanks for the update. So it was a security/firewall issue. Then I also would expect another message.

    Glad you sorted out.

  • Suggested answer
    Steve Blackburn. Profile Picture
    25 on at

    I had the same "CLR object cannot be marshaled to Microsoft Dynamics anytype" when trying to preview.  Reinstalling the DIXF components (in my case Framework service, AOS, Client) did the trick.  Didn't have to restart the server either.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans