Dynamics AX # R2 Cannot create a COM object of class "Excel.Application"

Source: Internet
Author: User
Tags microsoft dynamics

Reinhard when doing an Excel import project, I find that the X + + code will report the following error once it executes into the Excel Components section:

The COM object for class ' Excel.Application ' could not be created. Make sure that the object is registered correctly on the computer "".

Based on the error, we first go to Component Services and look for a COM component named Microsoft Excel Application.

Reinhard does not find the COM component in the list of COM components. We know that Microsoft Excel application COM components are installed with Office Excel, possibly because this client computer is not installed with Office Excel.

Reinhard try to dress up Office Excel, and then in the list of COM components, this time find the Microsoft Excel application COM component. Of course, there are some in the community do not install Office Excel, but just manually register the Excel COM component method Introduction, but the process is too troublesome, interested students can try.

Reinhard do the Excel import again in Microsoft Dynamics AX, and you are ready to perform the operation correctly.

Dynamics AX # R2 Cannot create a COM object of class "Excel.Application"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.