[SOLVED] Problem in deploying C# program that connect to SAP HANA DB

  • Thread starter Thread starter LK2018
  • Start date Start date
L

LK2018

Guest
Hi,

I've developed on VS 2017 a program that make a SELECT on a SAP HANA DB.

My OS is Windows 7 64bit sp1. On this machine I've installed SAP Hana studio (64bit).

The program target "Any CPU".

My program runs well on my development pc (WIndows 10 64b), but on the production pc I got this error:

^^^^^^^^^^^
Unhandled Exception: System.TypeInitializationException: The type initializer fpr 'Sap.Data.Hana.HanaConnection' threw an exception ---> System.IO.FileNOtFound
Excpetion: Cannot find libSQLDBCHDB.dll
^^^^^^^^^^^

On this PC is installed SAP HANA CLIENT (both, 64 and 32 bit).

Any ideas?

LuKe

Continue reading...
 
Back
Top