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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
oleks
Frequent Visitor

power bi gateway to connect sqlite via odbc

hi, We've been using Sqlite as a local data storage and manage to connect Power Bi to it via ODBC.

As the next stage, we want to use it via Gateaway, so that we can easily refresh the data.

 

Gateway installation process passes well and even passes test. 

However, when I try to refresh dataset on BI Service, I get:

 

Screenshot 2021-09-06 155125.png

 

yes, I saw similar post here, but it was not answered yet. Thanks a lot for your help

1 ACCEPTED SOLUTION
oleks
Frequent Visitor

Hi.

The issue was fixed after sessions with Microsoft Support Team.

The problem came from Authentification method. Sqlite is a serverless database (so no login nor password is required). So I just selected Anonymous authentification method and such connection even passed the test.

However, it is required to put Windows Autentification method (login  -you windows login, password - windows password). Now it works well.

I asked why it passed tests and I was tols, that Anonymous Connection behaves as "skip connection", so it was not passed, it was just skipped.

View solution in original post

6 REPLIES 6
oleks
Frequent Visitor

Hi.

The issue was fixed after sessions with Microsoft Support Team.

The problem came from Authentification method. Sqlite is a serverless database (so no login nor password is required). So I just selected Anonymous authentification method and such connection even passed the test.

However, it is required to put Windows Autentification method (login  -you windows login, password - windows password). Now it works well.

I asked why it passed tests and I was tols, that Anonymous Connection behaves as "skip connection", so it was not passed, it was just skipped.

I know it's been a minute, but thank you so much for posting this solution!

Anonymous
Not applicable

Hi  @oleks ,

1. Have you created a user DSN or a system DSN in the ODBC administrator, you can try to create a system DSN instead, create a System DSN in the ODBC administrator to point to your data source, and then add the ODBC data source under the gateway. When adding an ODBC data source under the gateway, make sure to enter the same connection string as the one obtained in Power BI Desktop.

2. Check if your gateway and ODBC are the latest version.

3. Whether the password has been changed recently, and Power bi is still using the old password. Before reconnecting, you can clear the permissions in the data source settings.

 

This is the related document, you can view this content:

https://community.powerbi.com/t5/Power-Query/Personal-Gateway-X-On-Premises-Gateway/m-p/70945#M5526

https://stackoverflow.com/questions/23228716/oracleodbcoraora-12170-tnsconnect-timeout-occurred-erro...

https://community.powerbi.com/t5/Power-Query/Error-refreshing-ODBC-connection/m-p/340898

 

Best Regards,

Liu Yang

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

1. Yes, it is system DSN. You can find screenshots in others answers in this thread.

2. Yes. all apps are updated.

3. Password was not changed.

GilbertQ
Super User
Super User

Hi @oleks 


Can you confirm that you have got the 64bit version of the ODBC driver installed on the On-Premise Gateway?





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

Proud to be a Super User!







Power BI Blog

Yes.

Attaching screenshots:

Screenshot 2021-09-07 110328.pngScreenshot 2021-09-07 110410.png

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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