Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

"user not authorised" - SQL tables

$
0
0

I have posted about this before, but hoping someone can help

 

have an extremely frustrating problem which I am not able to resolve.

 

When I do a get data on a SQL server database, as long as I don't specify the database i can pull the data into my Power BI model.  If i do it any other way i get "User not authorised"  

So in other words I can parameterise the server name, but the database I have  to select from the drop down, not type in the database (optional) section.  As long as i do that way i have no issues grabbing data.    So currently i cannot parameterise or write native sql queries. 

 

I do get a message box popping just after i have selected the database via the drop down box to do with encryption, however it goes away after the first time

 

this is what i get in the power bi trace file 

AuthorizationError,Exception:Exception:\r\nExceptionType: System.Data.SqlClient.SqlException, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=**********\r\nMessage: 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.)\r\nStackTrace:\n   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling)\r\n   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, ...

 

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>