Error "Could not initialize SAPx engine”, but sapnwrfc.dll is present.

  • Sebastian F.
  • Sebastian F.'s Avatar Topic Author
8 years 3 weeks ago #34 by Sebastian F.
I get the exception "Could not initialize SAPx engine” when running my app.
Not sure what is wrong since the Net Weaver DLL is present directly in the app's directory.

Please Anmelden to join the conversation.

  • 's Avatar
8 years 3 weeks ago - 6 years 2 months ago #38 by
Such a problem could be in case the "sapnwrfc.dll" or its dependencies (icuuc*.dll, icuin*.dll, etc) have platform version different than your application (e.g. the app is compiled as Win32 while the NW DLLs are for x64)
Please ensure you use the correct DLLs.

Hint: you can easily check which of the RFC DLLs exist on your PC using the " Info Report " created in the Connect for SAP Explorer.
Just create the Report right after the start and check the section "RFC LIBRARY INFO".
It shows found RFC DLLs that correspond to the platform version the Explorer was compiled for.
Last edit: 6 years 2 months ago by gs_mschoch.

Please Anmelden to join the conversation.

  • Sebastian F.
  • Sebastian F.'s Avatar Topic Author
8 years 3 weeks ago #45 by Sebastian F.
The reason was exactly in this!

The Report showed that there was no sapnwrfc.dll of required version actually:
=======================
RFC LIBRARY INFO
=======================
sapnwrfc.dll (Not found)
...

After replacing of the dlls with ones for the correct platform version - all works!

Please Anmelden to join the conversation.

Kontakt

  • gs-soft AG

    Delfterstrasse 10

    5000 Aarau

    Schweiz

    Telefon:
    +41 62 832 20 40
    E-Mail:
    Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!


  • Language