Fix To: Retrieving the COM Class Factory for Component with CLSID Error

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.

Next Recommended Reading
Creating COM components in .NET