nunomaia / NwRfcNet

An easy way of making SAP RFC calls from .NET Core
Apache License 2.0
95 stars 28 forks source link

'Unable to load DLL 'sapnwrfc' or one of its dependencies: The specified module could not be found. #60

Open EverGuzman opened 3 years ago

EverGuzman commented 3 years ago

I've already installed locally sapnwrfc,dll (downloaded directly from SAP) in windows PATH. But I keep getting this error:

'Unable to load DLL 'sapnwrfc' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)'

Already added the reference in my .NET Core Web App Project, but nothing seems to work.

Has anyone found the solution?

nunomaia commented 3 years ago

Try to copy all files from lib folder of SAP NetWeaver RFC SDK package ( more or less 9 files ) into a folder that is listed on Windows path environment variable

EnesKartal commented 2 years ago

If your application is running on a different disk than your system disk you can get this error. Actually I'm trying to find solution for this topic.

cuenta003 commented 2 years ago

Hello.

After many tests and read notes.

the SAPNWRFC need Visual Studio 2013 (VC++ 12.0)

find in: https://docs.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170

Finally my program was executed, run using ASP.NET Core, NwRfcNet on IIS.

EnesKartal commented 2 years ago

Hi, i can share news about this topic. When I updated server my problem is solved.

BraulioME commented 1 year ago

@cuenta003 Thank you, you solve my problem.