Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Connect to SAP HANA DB using ODBC driver in PowerShell

$
0
0

Hi Nitesh,

 

 

You are using the Hana ODBC driver but you are using OLEDB in your connection string? I am not sure if that is correct.

 

 

Can you try this connection string instead?

 

string connectionstring = ("DRIVER={HDBODBC32};UID=" + username + ";PWD=" + passwort + ";SERVERNODE=" + serverAdresse + ":" + port + ";DATABASENAME="+databasename);

 

Furthermore have you / can you install both Hana Clients (64 bit and 32 bit) and configure a System DSN for both (HDBODBC and HDBODBC32) in the ODBC Data Source Administrator?

 

Best regards

Ercin Nurol


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>