Closed AnkitSomani22 closed 2 years ago
Which SAP NWRFC SDK version is used?
latest version of NWRFCSDK which is 7.50.8.
Thanks Ankit. And the node-rfc
is locally installed, by npm install node-rfc
, correct?
Yes Srdjan
The issue looks similar to #226 but could not reproduce it either.
Could you please activate Windows Process Monitor trace on affected system, to track down which library exactly fails to load (example: https://github.com/SAP/node-rfc/issues/127#issuecomment-600020359) ?
Could you please check if this solution of the similar (same?) issue helps on your system https://github.com/SAP/node-rfc/issues/226#issuecomment-902165661 ?
The log shows:
sapnwrfc.dll
loaded from C:\Windows\SysWOW64
libsapucum.dll
loaded from C:\Program Files (x86)\<<redacted>>\Desktop Agent\nwrfcsdk\lib
There should be one copy of SAP NWRFC SDK Libs on PATH and removing the "copies" should fix the issues, similar to https://github.com/SAP/node-rfc/issues/226#issuecomment-902165661
Perhaps some recently installed package installed these additional copies of RFC SDK? Can you eventually found out which one?
Please reopen if support still needed.
Above exception is thrown while calling require('node-rfc').This exception is thrown in latest version 2.5.1.Things are working fine in version 2.4.2 and below.
This issue is machine specific as well. We could reproduce this issue in 3 systems. Below is the environment info of the system.
System: OS: Windows 10 10.0.19042 CPU: (8) ia32 Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz Memory: 19.61 GB / 31.84 GB Binaries: Node: 14.16.1 - C:\Program Files\nodejs\node.EXE npm: 6.14.12 - C:\Program Files\nodejs\npm.CMD