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)

COM object of class 'xxxxx' could not be created. Ensure that the object has been properly registered on computer.

(1) ShareShare
ReportReport
Posted on by

Hi all,

I wants to integrate COM object at Axapta 3.0 and Ax 2009.

  • I created .net class project in framework 4.5. And strongly sign assembly.
  • I keep the dll in the Navision/Axapta Client/Bin folder.
  • Registered the assembly with regasm dgws.dll /tlb:dgws.tlb
  • Add com object through COM Class wrapper utility in Axpata/Ax.
  • Then i got Com classes e.g. dgwsclass.
    void new(COM _com = new COM('{DF269633-D9AA-36F1-B33A-E2FC63B68A86}'))
    {
        Object o = _com;
        this = o;
        self = _com;
    }
    My Question is that I wants same COM object to access in Axapta 3.0 and Ax 2009.
  • But Com object access perfectly by Axapta 3.0 but it gives error in Dynamics Ax 2009.
    NotCreatedComObject.png

Then I tested COM object along with same procedure at client machine. And it work perfectly at Axapta 3.0 and Ax 2009.

Any suggestion would be highly appreciated.

Kashif.

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,730 Super User 2026 Season 1 on at

    HI Kashif,

    What exactly is this COM object? With only a GUID, I'm not able to know what it is. Can you check if the automation has been installed on all machines (possibly also AOS) where you run this coding?

  • Community Member Profile Picture
    on at

    Thanks for your reply.

    Com object is the c# based dll (.Net 4.7) . Secondly, I have no idea about automation testing over Ax, sorry for that.

  • Community Member Profile Picture
    on at

    newMethodAx2009.png

    above is the class description.

  • Martin Dráb Profile Picture
    239,040 Most Valuable Professional on at

    Does "Then I tested COM object along with same procedure at client machine. And it work perfectly at Axapta 3.0 and Ax 2009" means that you have this problem only on a single machine? Is the COM object correctly registered there? Does it have all prerequisites available?

  • Community Member Profile Picture
    on at

    Yes. You are right. Its only on server machine and with Ax 2009.

    Although the same COM dll access all methods on Axapta 3.0 at the same server machine.

  • André Arnaud de Calavon Profile Picture
    303,730 Super User 2026 Season 1 on at

    Hi Kashif,

    Ensure that this COM dll is then also available on that server machine.

  • Community Member Profile Picture
    on at

    Hi Andre

    I have registered the COM dll and regenerated again the '.tlb' file but this time i keep '.tlb' file in Ax 'Server/Bin' folder.

    Regasm dgwsclient.dll /tlb:dgwsclient.tlb

    And i think, the Ax likes to recognize the COM by doing so.

    But now. Its come with another error. Its missing one of relating dll to COM object.
    Although i have put that relating dll in Server/Bin folder.

    SignIdCardError.png

  • André Arnaud de Calavon Profile Picture
    303,730 Super User 2026 Season 1 on at

    Hi Kashif,

    I'm not familiar with this dll and also have not seen a similar error before. Probably another volunteer can help here?

  • Martin Dráb Profile Picture
    239,040 Most Valuable Professional on at

    Assembly Binding Log Viewer should help.

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Andrew Jones a1x Profile Picture

Andrew Jones a1x 2

#3
GL-01081504-0 Profile Picture

GL-01081504-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans