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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

HIVE ODBC: Can't Connect to Data Source

Hi, 

 

I've created a report in PBI Desktop using data from a Hive table that I access using ODBC with a system DSN.

I've also set up a gateway on the same server that I've used to refresh other datasources (so I know the gateway setup is correct). 

 

However, when I publish my report using data from the Hive table, I'm unable to connect to the datasource through the gateway to refresh the datasource. As stated above, I'm using a system DSN and there are no problems querying the Hive table locally using a kerberos ticket. 

 

I recieve the following error message: 

DEV01_GW: ODBC: ERROR [HY000] [MapR][DriverSupport] (1170) Unexpected response received from server. Please ensure the server host and port specified for the connection are correct.

 

Anyone has any idea what might be wrong? I've already played around with changin the privacy level, clearing permission, etc., but nothing seems to work.

 

Thanks! 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello @v-yinliw-msft,

 

We managed to solve it by running the gateway application as a service under my own UID on our windows server.

 

Thank you so much for the help!

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @v-yinliw-msft ,

 

The DSN I'm using is a system DSN:

mojoyoyo_0-1666251621409.png

This DSN is working fine locally, but we can't update the datasource on service. Is there something wrong with the gateway-config then?

 

Thank you!

Hi @Anonymous ,

 

Could you please check the gateway is the new version?

 

Best Regards,

Community Support Team _Yinliw

Anonymous
Not applicable

Hello @v-yinliw-msft,

 

We managed to solve it by running the gateway application as a service under my own UID on our windows server.

 

Thank you so much for the help!

v-yinliw-msft
Community Support
Community Support

Hi @Anonymous ,

 

This error is caused by the system DSN, please create a System DSN to points to your data source in in ODBC administrator, then add the ODBC data source under gateway. When adding a ODBC data source under gateway, make sure you enter the same connection string as that you get in Power BI Desktop.

You can refer to a similar case as follows:

Solved: Re: Personal Gateway X On Premises Gateway - Microsoft Power BI Community

 

Hope this helps you.

 

Best Regards,

Community Support Team _Yinliw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.