cancel
Showing results for 
Search instead for 
Did you mean: 

Problem running a vb.net program on B1 for Hana V9.1 PL5

former_member221339
Participant
0 Kudos

Hi

I Have a vb.net program which uses the di api and ui api and works fine under B1V9.0 on MS SQL

On my Hana pc I removed and added the ui api and di api in references and compiled the code using Visual Studio 2013

All compiled ok but when I try and run the code I get a message -

'Cannot load file interop.sapboui.com'

It mentions version 8.8.00 in the message but I added V9 in references

Screenshot attached

Can anyone help me please ?

Thanks

Andy

Accepted Solutions (0)

Answers (1)

Answers (1)

Johan_H
Active Contributor
0 Kudos

Hi Andrew,

Have you tried to reproduce the issue with a new "Hello world" program?

In other words, a completely new and empty program to test only the drivers / references.

Regards,

Johan

former_member221339
Participant
0 Kudos

Hi

Yes Johan, that's the example I tried, the combined ui and di one

The ui one works fine

Thanks

Andy

Johan_H
Active Contributor
0 Kudos

Hi Andy,

Ok, so if the basic references work, it stands to reason that there is something in your own program that referers to the 8.8 UI driver.

Do you use any self made or third party B1 related drivers (dll) in your program ?

Regards,

Johan

former_member221339
Participant
0 Kudos

Hi Johan

If I leave the program long enough I get the following message -

Failed connecting to the company's Data Base

Thanks

Andy

Johan_H
Active Contributor
0 Kudos

Hi Andy,

That is a different issue altogether. The DI API has a certain timeout issue, and it will break the connection after a certain period of inactivity.

You can test this by building in a small routine with a timer that updates some Comment field or userfield at regular intervals.

Regards,

Johan

former_member221339
Participant
0 Kudos

Hi Johan

Just had a long call with sap and it's now working

Even though I had a program which connected fine with the di api we reloaded the the di api and now the helloworld program is working

The di api must have been corrupt in someway

Thanks Johan and Pedro for all your help

Regards Andy