Missing registry information can cause problems with the Outlook object model
Original KB number: 2827747
Symptoms
Missing registry information can cause problems with the Outlook object model. Here is an example:
You attempt to programmatically call into the Outlook object model, such as creating an instance of Outlook using code similar to the following:
Set ol = CreateObject("Outlook.Application")
When you run the code example, you receive the following error:
Error: ActiveX component can't create object:
'Outlook.Application'
Code: 800A01AD
Microsoft VBScript runtime error
Cause
This behavior can occur if the following registry keys are missing or incomplete:
HKEY_CLASSES_ROOT\Outlook.Application
HKEY_CLASSES_ROOT\Interface\{000C0339-0000-0000-C000-000000000046}
Note, on machines with a 32-bit version of Office and a 64-bit version of Windows, the above keypath is instead:
HKEY_CLASSES_ROOT\Wow6432Node\Interface\{000C0339-0000-0000-C000-000000000046}
Resolution
To correct the behavior, run a Repair of Microsoft Office.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for