Skip to Content

problem connect using di api

Recently, i updated sap 8.8 to 8.8.2 and i try to rebuild my app.

when i try to connect using di api, i have two errors

First, visual studio displayed this message

error al iniciar la aplicación porque no se encontró Xalan-C_1_7_0.dll. La reinstalación de la aplicación puede solucionar el problema

And sap returns this

Error: 126

Message: OBserverGeneric::GetNewLibraryFromServer: LoadLibrary for observer failed System error 126

i think the problem is the dll but i unregister and register SAPbobsCOM88.dll


Edited by: Miguel Garcia D. on Feb 3, 2012 9:27 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Feb 07, 2012 at 08:39 AM

    Hi Miguel,

    Have you checked / tried the following:

    1. completely uninstall the DI API from both your own and the target computer.

    2. if the folder C:\Program Files\SAP\SAP Business One DI API\ is left, delete it from both computers.

    3. remove the SM_OBS_DLL folder from thetemp directory on both computers (Start > run > %temp%)

    4. confirm that the DI API installer package is the exact same version as your B1 system and reinstall it

    5. confirm that the DI API reference in your app is now the correct one.

    6. Start your app and make a connection. (Connecting the first time should take up to a minute as the newest driver is downloaded from the server.)

    if necessary you may have to repeat the process, but then also perform the first four steps for the B1 client installation



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.