Skip to Content

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

SAPBobsCOM.dll and windows 64 bits

When i try to connect to sap using di api, i have a exception:

Retrieving the COM class factory for component with CLSID {632F4591-AA62-4219-8FB6-22BCF5F62007} failed due to the following error: 80040154

I have a web service on windows 64 bits and I have reinstalled di api

Former Member replied

Make sure you are compiling for x86 NOT x64 or "Any CPU". It must be set to x86.

Right click on your solution and select "Configuration manager" and set the solution platform to be x86.

Once that is done, I suggest also refreshing your DI installation:

Uninstall the DI API from Add/Remove programs

Go to start -> run -> %temp%

In this folder, delete the SM_OBS_DLL folder

Remove DI reference from your project.

Restart your machine

Reinstall DI

Add it again to your project.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question