Forum Discussion

NothingZ's avatar
NothingZ
Microsoft Employee
1 year ago
Solved

Unable to create gateway connection for SQL Server

Please help!

I'm unable to create gateway connections for my SQL Server data source. However, on PBI desktop, everything works fine as usual. Once published to the service, it shows error creating the new SQL server connection.

 

The gateway and SQL server connection works perfectly before.
What has changed: The machine where both the gateway and SQL server are on has been move to another physical location, so that the IP address is different. I have changed the IP4 address accordingly on TCP/IP configuration, and SQL Server address on PBI desktop so that it could get the data from that source.

What I have done so far:

  • Checked all the SQL server settings: all(including login credentials) are OK as it works fine before.
  • Restarted gateway/SQL Server
  • Uninstall and install the newest version/previous version of gateway
  • The SQL server data source is un-encrypt connection
  • Tried create a new data connection and got same error
  • Looked into Gateway error logs and found messages like "InnerMessage=<ccon>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.)</ccon>"

9 Replies