Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
Most likely that means your code and Outlook are running in different security contexts. Did you start either app using "Run As Administrator"?
User contributions licensed under CC BY-SA 3.0