cancel
Showing results for 
Search instead for 
Did you mean: 

Cant connect to server

Former Member
0 Kudos
210

SAP Business One DI API Version 2005 COM object through a PHP web application.

There is an intermittent problem where I can't establish a connection to SAP database.

Sometimes it works other times it just hangs indefinitely. This has become a real problem

for our company.

I have restarted the webserver but this doesn't fix the problem.

Any ideas?

View Entire Topic
Former Member
0 Kudos

Hi Simon,

I have had a similar problem.

Please, check the date of SAPbobsCOM2005.dll in terminal and in server. in my case the date of terminal isnt equal the date of server. i just reinstal the DI and this works fine now.

Check the date in this folders(terminal/server)

X:\Program File\SAP\SAP Business One DI API\DI API 2005

X:\Program File\SAP\SAP Business One\DIAPI\2005

Hope this could helps

Former Member
0 Kudos

Not sure what you mean Rodrigo.

Is this the modified date of the dll file?

I'm not really a windows man. How do I re-install the DI?

I inherited this situation with a new job. Sorry for my lack of knowledge. I am primarily a PHP programmer.

Former Member
0 Kudos

Sorry my inglish is not so good.

You have check the dlls date and the lenght. In my case, the dlls is not same, the date and the lenght are not equal. in Server have a date and the client have another date. One is make in 04/06/2006 the other is make in 09/26/2005.

This situation i have to reinstal the DI, you can try to do it.

First step (remove DI)

Go to Panel Control -> add/remove program and remove the SAP DI API

Second step (intall DI)

ps: DI API is a file whos you connect to a database(SAP-BO)