Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Invalid data container type

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Dear All,

I am working with AIF - Document Services in Ax 2012.

I have completed the following step and I got the "INVALID DATA CONTAINER TYPE"

1) Created New Project

2) Created New Query 

3) Generate AIF Document Services 

I got the Error.

 

Please help me debugging this.

 

Thanks,

Akshay Chauhan

*This post is locked for comments

  • Suggested answer
    Kempeth Profile Picture
    Kempeth 205 on at
    RE: Invalid data container type

    Ran into the same problem and managed to solve it with Andras' solution:

    Try to compile forward the AfStronglyTypedDataContainer class, it helped me when I had a similar issue.

    I'm reposting this only so it will show up among the suggested answers.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Invalid data container type

    The problem is the lack of compiling after installing DTMF. Solution is a full compile of just forward compile the wanten class with the same name as the service.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Invalid data container type

    Thanks Andras, it worked for me.

  • Ahmed bahtity Profile Picture
    Ahmed bahtity 5 on at
    RE: Invalid data container type

    I have the same problem adding SalesSalesOrder.create method while working with AIF. compiling SalesSalesOrder solve the problem.

  • Suggested answer
    Dick Wenning Profile Picture
    Dick Wenning 8,705 on at
    RE: Invalid data container type

    your steps

    1) Created New Project

    2) Created New Query (this query please tell me what it is)

    3) Generate AIF Document Services

  • mostafa mahmoud Profile Picture
    mostafa mahmoud 5,125 on at
    RE: Invalid data container type

    DICK WENNING

    Could you please  clarify what do you mean by "show me the query"

    Which Query do you mean ?

  • Dick Wenning Profile Picture
    Dick Wenning 8,705 on at
    RE: Invalid data container type

    could you please awnser my questions?

    1 After installing DMF, and a full compile of the AOT. dit you get compile errors?

    2 show me the query .

  • mostafa mahmoud Profile Picture
    mostafa mahmoud 5,125 on at
    RE: Invalid data container type

    same error nothing else

  • Dick Wenning Profile Picture
    Dick Wenning 8,705 on at
    RE: Invalid data container type

    1 After installing DMF, and a full compile of the AOT. dit you get compile errors?

    2 show me the query .

  • mostafa mahmoud Profile Picture
    mostafa mahmoud 5,125 on at
    RE: Invalid data container type

    OK I got It TOMMY SKAUE :D ,

    I did the forward compile for  the AifStronglyTypedDataContainer class ,  and i check the DataContainerTypes  macro and  found that there is two lines

    #AxdDMFExeStatusDCT

    #AxdDMFProcessGrpDCT

    i tried to  delete them but with no doubt , by the way there is  now customization i just installed the DMF and after that the issue begin to raise  

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,569 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans