Problem:
Getting an automation error (-2147023067) when launching Microsoft Word or Excel from iSeries Office Integrator.
Sample Job Log
The errors occurred while running PC command.
The job log is as follows:
CODOKY
CODOKY
CODOKY
Object FTPCMD in QTEMP type *FILE not found.
File FTPCMD created in library QTEMP.
Member FTP added to file FTPCMD in QTEMP.
Object FTPLOG in QTEMP type *FILE not found.
File FTPLOG created in library QTEMP.
Member FTPLOG added to file FTPLOG in QTEMP.
PC Commands Completed.
PC Command Error: 500 MS Word OLE error: -2147023067 Automation error.
Errors occurred while running PC command.
Solution:
The error is caused by a mismatched version of OLEPRO32.DLL or OLEAUT32.DLL. RJS recommends a reinstall of Microsoft Word to fix the issue with either DLL.
Note: This problem was not introduced by RJS Software.