使用.NET连接到SAP HANA时“找不到libSQLDBCHDB.dll”

时间:2021-04-22 16:51:02

We are getting the error "Cannot find libSQLDBCHDB.dll" when trying to connect with our AWS HANA instance from dotnet code.

尝试从dotnet代码连接我们的AWS HANA实例时,我们收到错误“找不到libSQLDBCHDB.dll”。

We installed the HANA Client developer edition 64 bit on our 64 bit windows machine and also set the PATH env variable to the application install path.

我们在64位Windows机器上安装了64位HANA客户端开发人员版本,并将PATH env变量设置为应用程序安装路径。

This link states that these errors might come but does not state how to resolve them.

此链接指出可能会出现这些错误,但未说明如何解决这些错误。

Anyone else facing this issue?

其他人面临这个问题?

Thanks, Samar

1 个解决方案

#1


Since Microsoft Visual Studio operates as a 32-bit application, both 64-bit and 32-bit versions of the SAP HANA client software must be installed on 64-bit Windows to develop an application that uses the data provider.

由于Microsoft Visual Studio作为32位应用程序运行,因此必须在64位Windows上安装64位和32位版本的SAP HANA客户端软件才能开发使用数据提供程序的应用程序。

Source

#1


Since Microsoft Visual Studio operates as a 32-bit application, both 64-bit and 32-bit versions of the SAP HANA client software must be installed on 64-bit Windows to develop an application that uses the data provider.

由于Microsoft Visual Studio作为32位应用程序运行,因此必须在64位Windows上安装64位和32位版本的SAP HANA客户端软件才能开发使用数据提供程序的应用程序。

Source