- Produkte
- Connect for SAP
- Forum
- Connect for SAP
- FAQ
- Typical errors
- Error "Could not initialize SAPx engine”, but sapnwrfc.dll is present.
Error "Could not initialize SAPx engine”, but sapnwrfc.dll is present.
- Sebastian F.
- Topic Author
8 years 1 month ago #34 by Sebastian F.
Error "Could not initialize SAPx engine”, but sapnwrfc.dll is present. was created 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.
Not sure what is wrong since the Net Weaver DLL is present directly in the app's directory.
Please Anmelden to join the conversation.
8 years 1 month ago - 6 years 2 months ago #38 by
Replied by on topic Error "Could not initialize SAPx engine”, but sapnwrfc.dll is present.
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.
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.
- Topic Author
8 years 1 month ago #45 by Sebastian F.
Replied by Sebastian F. on topic Error "Could not initialize SAPx engine”, but sapnwrfc.dll is present.
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!
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.