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"