Using 64bit HANA ODBC driver issue in VS2022 tabular project

Kaniel Wang 1 Reputation point
2022-05-28T06:11:10.88+00:00

Hello,

I'm trying to develop a tabular project for SSAS 2019 on VS2022 17.2.2.
The data source is our HANA database (64bit). THe SSAS 2019 enterprise is 64bit.
The ODBC driver is "HDBODBC". It is a 64bit driver.

As VS2022 is a 64bit application, I thought there would be no issue to use the 64bit driver.
But I cannot create the data source in the tabular project.
The connection string is "servernode=172.20.180.10:30015;driver={HDBODBC};serverdb=SHANG_PB1;currentschema=SHANG_PB1".
This connection string can be used in Power BI desktop without any problem.
But in VS2022, it does not work.
206337-image.png
It also allows me to enter the credential.
206338-image.png
But after I click "Connect", it gives me this error, "Unable to connect"."The 'Driver' property with value '{HDBODBC}' doesn't correspond to an installed ODBC driver."
206362-image.png

It looks like at this point the program is not supporting the 64bit driver.
How is this happening?

But if I try to use the 32bit driver at the first place, it doesn't work, either. It even cannot pass the connection string check.
206339-image.png

How can we use the HANA ODBC 64bit driver in VS2022?
It looks like a bug.

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,290 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ZoeHui-MSFT 37,221 Reputation points
    2022-05-30T02:31:24.193+00:00

    Hi @Kaniel Wang ,

    Thanks for your question.

    Regarding your question, please ensure that you create a system DSN rather than a user DSN. Secondly, please make sure you have installed SAP HANA ODBC Driver on Windows 64 Bits.

    https://help.sap.com/docs/SAP_PREDICTIVE_ANALYTICS/e9146b36040844d0b1f309bc8c1ba6ab/734759c0c1c9440c857da0d366e47dda.html?version=3.2&locale=en-US

    Regards,

    Zoe


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.