Forum Discussion
Excel Power Query SQL timeout
Power Query in Power BI Desktop and in Excel are definitely bit different, especially if compare with Excel 2016. However, ConnectionTimeout shall work in Excel. I have no my own experience, please check this post https://blog.crossjoin.co.uk/2014/09/29/advanced-options-for-loading-data-from-sql-server-with-power-query/ at the bottom and comments, it was written at pre-PowerBI Desktop time, most probably with Excel 2016 as sample.
Thank you for your reply.
I only get the timeout when connecting Excel query through Azure VPN, not when I'm connecting through Forticlient VPN.
Is there a setting in Excel for Azure VPN?
Regards,
Dirk.
- SergeiBaklanJul 30, 2020Diamond Contributor
Sorry, I don't know
- Dirk VERLIEFDENDec 22, 2020Copper Contributor
Timeout problem has disappeared.
However, now I can't connect due to another error:
DataSource.Error: Microsoft SQL: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)
When I copy-paste the M-code from the Excel (2016) power query into Power Bi power query, there is no error!?
Any advice?- SergeiBaklanDec 22, 2020Diamond Contributor
In Excel please check data source parameters for this source - credentials, encryption