cancel
Showing results for 
Search instead for 
Did you mean: 

register Interop.SAPbobsCOM

Former Member
0 Kudos

Hi,

I want to connect to SBO via DIAPI and there comes following error:"Object reference not set to an instance of an object"

I guess, that the issue is, that I had diff version of DI API install on my system and the SBO is using. So I installed the same DI_API.exe on my machine, as on SBO.

After that I added under object reference the now SAPbobsCOM version in Visual Studio.

But when I compile my project, Visual Studio is linked against the old Interop.SAPbobsCOM version.

I guess, that perhaps the old Interop.SAPbobsCOM Version is registered.

But I m not able to register the now one in regsvr32. There comes a message: cannot load library

Is there anyone help me for register the new dll or how I can find the issue?

thanks

Katja

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi all,

the problem is solved by registering the Interop.SAPbobsCOM in the project workspace. I have no idea why I have to register directly in the workspace and not in the object reference, but so it works...