Skip to Content
0
Former Member
Oct 23, 2013 at 01:36 PM

Class object can not be instantiated

334 Views

Hello,

I am facing problem in instantiating Class object of SAPbobsCOM. The possible reasons I found on web is that the version of dll might be older which i am using for development than the actual application's version.

Code :

SAPbobsCOM.ActivityClass oAct = new SAPbobsCOM.ActivityClass();

Error :

“Retrieving the COM class factory for component with CLSID {5EC86D5B-840B-4676-8D5B-6154AD738D09} failed due to the following error: 80040111 ClassFactory cannot supply requested class (Exception from HRESULT: 0x80040111 (CLASS_E_CLASSNOTAVAILABLE)).”

Is there any other possibility for the error?

Best Regards,

Het Adhavryu