Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

ODBC Connection Error - Driver Error

I've been trying to connect an ODBC database to the gateway in Power BI service.

 

I've been successful in connecting to this in Power BI Desktop, i've tried to replicate this process using the Power BI Service gateway.

 

It is returning an error complaining about locating the ODBC driver, I have confirmed I referenced the driver name correctly as seen in Power BI desktop:

 

Attempts in Power BI Gateway, windows authentication is used on power bi desktop to connect to the data source so i've used the same credentials:

This error is returned:

I have confirmed the DSN and driver name in ODBC Data Source Admin.

12 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous,

    The error is caused by that you create User DSN in ODBC administrator. 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. For more details, please review this similar thread: http://community.powerbi.com/t5/Integrations-with-Files-and/Personal-Gateway-X-On-Premises-Gateway/m-p/70945#M5526 .

    Thanks,
    Lydia Zhang

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Anonymous,

        Yes. Power BI gateway only accepts 64-bit drivers for data sources.

        Thanks,
        Lydia Zhang

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi, a late reply but I hope to help someone when including this information which is a fix for the issue I was having in my previous post here...

     

    I'd like to add that I discovered the reason it wouldn't let me select On-premises gateway before, it was because I had a few CSV files included as part of the published report, these CSVs also need to be added to the Gateway as a File, pointing to the CSV.

     

    Once I had done this, it was possible to select an On-premises gateway.