cancel
Showing results for 
Search instead for 
Did you mean: 

Standalone application with DI API 2007 on Win2003 not works :-(

Former Member
0 Kudos

Hi folks,

I developed a standalone application that inserts a purchase from an epurchasing system. The problem is that when we install the standalone application on a Win2003 (64 bits), where the SAP B1 server is installed, it fails in the SAP B1 object creation process. In other hand, the application runs well in my WinXP (32 bits) machine.

Anyone knows what the hell happens with the DI API?

Thanks in advance!

Oscar S.M.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Oscar,

You must build the project in 32 bits (not any cpu) in your projectproperties.

Search this forum on the errorcode and you get a solution. (I don't have the errorcode else I posted the solution)

Regards,

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Oscar,

If you are getting this error message: "Retrieving the COM class factory for component with CLSID failed due to the following error: 80040154.", then you are experiencing the issue from SAP note 1090628.

As my fellow posters have said, if you recompile the Add-On in 32 bit mode, it should be able to run succesfully.

Regards,

Niall

SAP Business One

Former Member
0 Kudos

u got the diapi and the .net framework installed on the server?