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 :
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
    305,182 Super User 2026 Season 1 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
    305,182 Super User 2026 Season 1 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
    305,182 Super User 2026 Season 1 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
    305,182 Super User 2026 Season 1 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

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

#1
CP04-islander Profile Picture

CP04-islander 24

#2
Michel ROY Profile Picture

Michel ROY 14

#3
Jagadabi Profile Picture

Jagadabi 6

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans