Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

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

Posted on by 2,296

Hi All

While trying to 'Generate sample file' for an entity from Data import/export framework module, I am getting following error. 

pastedimage1674013390161v1.png

I have checked the machine and Excel is already installed. Will appreciate if anyone of you could help me resolving this issue. 

Thanks

Haroon

  • haroonattari Profile Picture
    haroonattari 2,296 on at
    RE: COM object of class 'Excel.Application' could not be created. Ensure that the object has been properly registered on computer 'XXXXXXXX'.

    It should support because I am on CU13 (Build 6.3.6000.151).

  • Martin Dráb Profile Picture
    Martin Dráb 225,490 Super User on at
    RE: COM object of class 'Excel.Application' could not be created. Ensure that the object has been properly registered on computer 'XXXXXXXX'.

    Not all versions of AX 2012 R3 support Office 2016. It requires Cumulative Update 11.

  • Martin Dráb Profile Picture
    Martin Dráb 225,490 Super User on at
    RE: COM object of class 'Excel.Application' could not be created. Ensure that the object has been properly registered on computer 'XXXXXXXX'.

    Are you currently logged in AXR3TESTVM? Aren't you connecting through Citrix or something?

  • haroonattari Profile Picture
    haroonattari 2,296 on at
    RE: COM object of class 'Excel.Application' could not be created. Ensure that the object has been properly registered on computer 'XXXXXXXX'.

    Not sure if it was working earlier. In fact, I am trying this for the first time.

    Regarding version, I am using Office 2016 which I think is supported by AX 2012 R3.

  • Martin Dráb Profile Picture
    Martin Dráb 225,490 Super User on at
    RE: COM object of class 'Excel.Application' could not be created. Ensure that the object has been properly registered on computer 'XXXXXXXX'.

    Did it worj before? If so, what has changed?

    Do you have the right version of Excel?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans