cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade addon from sap 2007 to version 8.8

Former Member
0 Kudos

Hello,

We want our module to upgrade the SAP 2007 Version 8.8.

we developed in vb.net in VS2008.

We've removed the DLL's sap 2007 and replaced it in the DLL version 8.8, both UI and DI.

The project was compiled, but there are places in the code that we receive an errors.

for example: string sUserName = oCompany.UserName,

it fails and can not pass the username to variable of type string.

The resulting error is:

"Unable to cast COM object of type 'SAPbobsCOM.CompanyClass' to interface type 'SAPbobsCOM.ICompany'"

We will be happy if someone could help us as soon as possible,

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

This comes up when your OBServer Dll is damaged.

Clean up %TEMP%\SM_OBS_DLL and try it again.

Maybe helps,

Regards

J

Former Member
0 Kudos

I've cleaning up %TEMP%\SM_OBS_DLL, and still has a problem.

(Also in sap 2007)

what can we do?

Former Member
0 Kudos

Hello

it is coming on specific machine or every client in while system?

If it coming on only one machine, maybe this is coming from a bad instalaltion of Client / DI API: remove sap be client and check DI API installed independently.

If it is a general problem, (coming all machines) maybe the SBO-COMMON database is corrupted:

to do:

-Backup sbo-common

-after backup, delete from databases

-install sap b1 server again (SBO-COMMON is recreated)

-check on client.

Is there any virus guard is runninn?

if yes, please

- log off from B1

- turn of virusguard,

- start b1 and addons

check the issue still exists?

or log a support message to GSC.

Regards

J

Former Member
0 Kudos

Firstly i feel as intsallation problem, reinstall client (DI API will be reinstalled with client).

I would try this and virus guard, first, this is the less effort.

Regards

János

Former Member
0 Kudos

Hello,

It is coming on specific machine, the other machines are fine.

The specific machine is the server, and we reinstall yesterday the SBO on it.

Maybe we have to reinstall again,

Thanks for quick reply.

Former Member
0 Kudos

Jo, and you are running in terminal server mode when the error is coming arent you?

Former Member
0 Kudos

Yes

Former Member
0 Kudos

Start

- TS Configuration manager (start/run/tscc.msc)

- Check the options of TEMP Directories : clean up on exist: true (this will delete the TEMP directory) and use different temporary folders by session . Yes

I have hungarian version of server, so i cannot tell you the correct words.

Regards

J

Former Member
0 Kudos

Hi all,

I have a similar problem.

The error is the same (Unable to cast COM object of type 'SAPbobsCOM.CompanyClass' to interface type 'SAPbobsCOM.ICompany).

The B1-Server is Version 2007 w/ SP:00 and PL: 47 (in SBO_COMMON: 800181)

I developed 2 programms: one that only connect to the Server and gets the userlist (just to test the connection)

and the second one is my "real" programm".

With the testprogram everything is fine. But with the other programm i get the mentioned Error.

I've deleted the TMP several times with no effect.

The Client has XP-Prof. and I'm using Remotedesktop (because the PC is physically at the customers location)

I also tried different DLLs - with no result.

For further information: I had to install a SBO-Client for B1 2007 SP:01 and PL:05 to get the DLLs registered, then

changed it (manually) to the appropriate Client for the "old" system (for the "old" client I have no setup )

Thanks for your help in advance

(and sorry for my bad english 😐 )

Kind Regards

Torsten Grissmer

Answers (0)