What it means
CreateObject couldn't start the requested COM/OLE application or object, such as Excel or Word.
Common causes
- The application isn't installed on the machine running the code
- The code runs as a server agent where there is no desktop application
- The ProgID is wrong, or 32-bit and 64-bit versions don't match
Quick fixes
- Check the application is installed and the ProgID (for example
Excel.Application) is correct
- Run OLE automation in client code, not in scheduled server agents
- Generate files another way on servers, for example writing CSV
Disclaimer
The errors, causes and fixes on this site are carefully researched, drawing on HCL documentation and 28 years of hands-on Domino and Notes experience. Every environment is different, though, and a solution that works in one may not be right for yours. Exact wording can also vary between Domino and Notes versions.
This information is general guidance only and is provided without warranty of any kind. Always back up your data and test changes on a non-production system first. To the extent permitted by law, Bruinsma Services Pty Ltd accepts no responsibility or liability for any loss, damage, downtime or other consequence arising from use of this information. For advice specific to your environment, please contact me.