Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
guilherme2o
Regular Visitor

Unable to connect to SAP HANA Denied access to HDBODBC

i'm trying to establish a connection from SAP HANA but can't to access the ODBC File.

 

Erro PBI.pngUnable to connect to the data source undefined.
Underlying error code: -2147467259
Underlying error message: ODBC: ERROR [IM003] O driver especificado não pôde ser carregado devido ao erro de sistema 5: Acesso negado. (HDBODBC, C:\Program Files\SAP\hdbclient\libodbcHDB.dll)

5 REPLIES 5
guilherme2o
Regular Visitor

Thank you @collinq. But I'm trying to reach the ODBC file through the gateway and not trying to reach the Database.

Hey @guilherme2o ,

 

Do you have the ODBC connection set up on the Gateway server?  I am thinking that it is looking for that .dll file but that file only exists on your computer and not on the gateway computer.




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Hey @collinq.

 

The gateway machine has the ODBC drivers installed. not only installed in my computer.

 

PS.: in my personal computer all the connections works fine.

In case anyone has the same issue as me

I was getting the same problem and the issue was resolved when I changed the account running the on premises gateway to one that had access to the folders in C (mentioned in the error message)

collinq
Super User
Super User

Hi @guilherme2o ,

 

It appears that you are trying to access a file on the local "c" drive.  You will have to have the full path to the file for the gateway and/or report to reach the file.  On the Service there is no "c" drive.  The easiest way if you are trying to reach a file is to put it in a cloud location that can be reached quickly by the Service (SharePoint, Onedrive, etc.)




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors