Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

this class does not have main method

(1) ShareShare
ReportReport
Posted on by

I created an action menuitem...i set to object propriety ---Class and RassetReport class but after i set the RassetReport class i get the warning that 
"this class does not have main method,or is abstract ori does not exist"
I have tried this method:

1. stop AOS
2 delete files from XppIL folder 
3. start AOS
4. Generate Full CIL/Generate incremental CIL
5. Compile AOT

But doesn't solve my problem. Even i've tried to restart server.. but nothing changed

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: this class does not have main method

    yes i have tried to compile Ax InternalBAse class but nothing

  • Community Member Profile Picture
    on at
    RE: this class does not have main method

    Hi!

    You have to set EnumParameter (RAssetReportType) and other for menu item.

    Look method  RassetReport  construct

     RAssetReportType assetReportType;
        RAssetTrans      rAssetTrans;
        ;
        assetReportType = _args.parmEnum();
        switch (assetReportType)


  • Verified answer
    Pravasti AK Profile Picture
    2,985 on at
    RE: this class does not have main method

    Hi,

    First, compile all the objects pertaining to a AIF document service.

    Secondly, compile the base class - AxInternalBase

    At last, select your project node and "Generate incremental CIL".

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Kempeth Profile Picture

Kempeth 4

#1
Andy Adamak Profile Picture

Andy Adamak 4

#1
Community Member Profile Picture

Community Member 4

Featured topics

Product updates

Dynamics 365 release plans