Reply
Highlighted
Visitor
Posts: 1
Registered: ‎01-17-2017

On-premise Gateway and SQLite ODBC connection

We have been succesfully connecting with the Power BI Desktop to a SQLite database via a SQLite ODBC driver being locally installed on the workstation along with a System DSN defined pointing to a network share.

 

Now we're trying to leverage the on-prem gateway to auto-refresh the report data online with no luck. The error message in the gateway management online states...

 

"Scheduled refresh has been disabled due to at least one data source not having credentials provided. Please provide credentials for all data sources, and then turn scheduled refresh back on."

 

Is this failing because the SQLite ODBC connections don't require credentials to connect?  Is there a way to fool it?

 

Further digging into the on-premise gateway diagnostic logs produced the following warning...

 

"[DataMovement.PipeLine.MashupCommon] Connection string <pi>DSR=encryptedconnectionstring</pi> is not a valid M connection string"

 

Is this related to the missing credentials?

 

Any thoughts?

Moderator
Posts: 9,894
Registered: ‎03-10-2016

Re: On-premise Gateway and SQLite ODBC connection

@TimVanV,

Have you added the ODBC data source within gateway? And make sure that the connection string you used matches as that you use in Power BI Desktop.

In addition, are you able to access the network share and ODBC data source on the machine that installing gateway?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Frequent Visitor
Posts: 2
Registered: ‎03-26-2018

Re: On-premise Gateway and SQLite ODBC connection

Hi Lydia,
I am also having the same issue that Tim is having.

After adding the ODBC Datasource within Gateway, It is asking the connection string.

How to view connection string in Power BI Desktop so that we can copy and paste during gateway setting.

Regards

Shishir