Fix COM Registration Errors
COM registration errors usually surface during a Workday OfficeConnect install or upgrade and point to a broken Microsoft Office add-in registration. Confirm your machine meets the system requirements before working through the fixes — multiple Office versions installed side by side is the most common root cause.
Symptom: You receive an error like the following when trying to install or update OfficeConnect:
System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject'
to interface type 'Microsoft.Office.Core.IRibbonUI'.
Why this happens
OfficeConnect is an Excel COM add-in that relies on Excel objects registered correctly by your Microsoft Office installation. This error occurs when:
- Excel’s COM objects aren’t registered correctly
- You have multiple versions of Microsoft Office installed (e.g., Project 2016 and Excel 2013), leading to conflicting versions of the MS-VSTO library
Fix option 1: Repair Microsoft Office
Many users resolve this by repairing the Office installation:
Fix option 2: Registry key correction
If the repair doesn’t work, the troubleshooting tool will identify the specific registry key causing the problem. Your IT department can make adjustments to the registry keys listed in the tool’s output.
See Run the Troubleshooting Tool to generate a diagnostic log.
Fix option 3: Disable conflicting add-ins
Next steps
- Resolve OfficeConnect Update Errors if the issue only appears during version updates
- Run the troubleshooting tool to capture the exact registry keys at fault
- Install as an IT Admin to redeploy a clean per-machine installation across users