Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Retrieving COM Class factory for component with CLSID failed due error

Hello.

I am a new SDK developer and maybe I say something stupid but let's try.

I am using VB from Visual Studio 2008 and SAP Business One 2007 A (8.00.175).

Microsoft Sql 2005 data base is in a 2008 Windows Server.

I am trying to get some data from a table but, creating a recordset instance, system show me this error:

"Error al recuperar un generador de clases COM para el componente con CLSID {11FA87EF-9F44-4528-AE1D-DAF92AEA3545} debido al siguiente error: 80040111 (I suposse a good translation is "Retrieving COM Class factory for component with CLSID failed due error")".

This is the code (error appears on "new" statement):

rsOITM = New SAPbobsCOM.Recordset

rsOITM.DoQuery("SELECT * FROM OITM")

grdTabla.DataSource = rsOITM

I read somewhere about registry, about wrong dll versioon, ... I try all of this but nothing works.

I hope you can help me.

Thank you.

Regards from Spain.

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question