SQL Prompt 8 and SSMS 2017 issue
Sal
Posts: 3 Bronze 1
in SQL Prompt
Recently upgraded to SSMS 2017. When I connect to a server using my Windows authentication SQL Prompt works like a charm. When I connect to a server using the SQL Server Authentication SQL Prompt stops working for that connection. Unfortunately I need to connect to servers differently based on access permissions. This worked fine in SSMS 2012 before the upgrade.
Any thoughts?
Any thoughts?
Answers
I can't seem to reproduce this easily on my end, could you let me know what versions of SQL Prompt you are using and what versions of SQL Server you are trying to connect to? Older versions of SQL Prompt 8 don't have SQL Server 2017 support.
Thanks again!
James
Redgate Software
I've been working with Tianjiao LI (Product Support Engineer) on this today and have supplied screen shots, etc. I'm working with Sql Prompt 8.0.8.2086 and SSMS 2017 v17.2.
It's just an odd thing that it works fine with SSMS as long as I use Windows authentication. As soon as I connect via SQL Server Authentication I run into these problems.
I've also got SSMS 2012 installed on my system and Sql Prompt 8 works as expected using either authentication.
Our databases are SQL Server 2014 (SP2).
SSMS 2016, same SQL Prompt version connected to the same SQL Server engine, suggestions work with no problem.
I've uninstalled and reinstalled SQL Prompt with no success.
I'm not sure of the others but in my situation that wouldn't be the case. My issue is specific to SSMS 2017 and SQL Server Authentication only. On SSMS 2012 this works without issue with the same credentials.
I don't think that is the issue here as well. I have all rights granted to the user I'm logging in as.
I'm sharing @Sal 's finding for this issue. Can you please check your log file to see if you have similar error like this:
System.Data.SqlClient.SqlException (0x80131904): 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)
In this case, please make sure to enable the "Trust Server Certificate" under Connection Properties when you connect to SQL server?
I hope this helps!
Tianjiao Li | Redgate Software
Have you visited our Help Center?
Prompt 8.0.8.2086
VS 2017 v17.2
I just "Trusted" the cert. Refreshed suggestions. Hover over a known table and it now works with a SQL Login.
Why was it broken, and will it revert to prior behavior? Having scores of server connections to have to now go and change, this isn't a very good option... Fix coming? Please...
Decide wisely...
I've been trying out a fix for this issue, can you please download this build and see if it's resolved?
Sorry for the inconvenience!
James
Redgate Software
MikeC
James
Redgate Software
Redgate Software
many thanks to Tianjiao_Li , my problem was solved after 2 month !!