Snag it for the error,

Before changing the code.

The above marked line caused the problem.
After changing the code,

The above change resolved my problem, and I'm sharing the same for others.
Fix To: Retrieving the COM Class Factory for Component with CLSID Error
In this blog you will learn how to resolve the error: Retrieving the COM class factory for component with CLSID {00020819-0000-0000-C000-000000000046} failed due to the following error: 80040154.


Tahir AnsariPosted May 3, 2023, 2:13 AM EDT
You'r lucky
Mahesh RautPosted Sep 24, 2021, 7:28 AM EDT
I have same issue while reading mails from HCL Notes (Lotus Notes)
pragnesh PatelPosted Oct 7, 2019, 12:41 AM EDT
Nice working brohter working your solution
pragnesh PatelPosted Oct 7, 2019, 12:41 AM EDT
Thank you bro nic work
Karthik ElumalaiPosted Nov 24, 2018, 12:21 AM EST
Happy that it helped, and thanks for your valuable feedback Nikunj Satasiya
Nikunj SatasiyaPosted Nov 23, 2018, 10:13 PM EST
Nice Work Karthik.... It's Really Works.....@@ :)