SSMS UI bug (all versions so far)

Hristo Serafimov 35 Reputation points
2023-03-20T08:34:33.5233333+00:00

Hello there,

There is an annoying bug in the SSMS UI that I thought will be found and fixed with the latest version (19.0.1) I just installed. It persists in all the previous versions I used and is available here too.

Here is the description:

  1. Connect to (LocalDB)\XXX SQL server, open a new query type "SELECT GETDATE()" and execute it.
  2. Connect to another SQL server ( i tested it with Azure one), open a new query type "SELECT GETDATE()" and execute it.
  3. try to change current Database by putting in the field (on the left of the Execute button) non-existing DB name ( I usually do this by miss-typing a correct name) and press enter.
  4. SSMS hangs up and shows "Not responding" no matter how much time you give it to just show error and returns control to you.

After this the only way to use SSMS again is to kill it and start it anew.

Hope you'll find the problem and fix it soon.

Best regards,

Hristo Serafimov

Azure SQL Database
{count} vote

Accepted answer
  1. MatteoT-MSFT 86 Reputation points
    2023-03-22T02:06:15.5266667+00:00

    This is a know issue (if you are referring to the Azure DB scenario) that I've been investigating recently.

    There is no need to collect or share any dumps or repro: it's pretty obvious what the problem is.

    If the issue is about on-prem SQL, then I would like to hear more about it.

    I'll try the LocalDB scenario later today, but I would not expect it to be any different from the on-prem case, i.e. not repro for me.

    2 people found this answer helpful.

4 additional answers

Sort by: Most helpful
  1. Erland Sommarskog 112.7K Reputation points MVP
    2023-03-21T21:36:53.5533333+00:00

    I was able to repeat the issue, when connected to Azure with SSMS 19.0.

    The place to report bugs in SQL Server is here: https://feedback.azure.com/d365community/forum/04fe6ee0-3b25-ec11-b6e6-000d3a4f0da0.

    1 person found this answer helpful.

  2. Kyle Knapp 10 Reputation points
    2024-06-20T18:28:22.7366667+00:00

    I am still seeing this issue when connecting to Azure SQL server. If I type in a database name that is either invalid, or do not have access to based on the currently logged in user, it hangs indefinitely after being unable to establish the connection.

    I am using SSMS 20:
    SQL Server Management Studio 20.0.70.0

    1 person found this answer helpful.

  3. Olaf Helper 45,091 Reputation points
    2023-03-20T09:56:25.8433333+00:00

    Can't confirm, if I type a non-existing database name, I get immediatly the error message "Can't connect to".

    0 comments No comments

  4. Erin Stellato 651 Reputation points Microsoft Employee
    2023-12-19T17:09:06.4233333+00:00

    Hristo Serafimov This was fixed in SSMS 19.1, and is also available in the current GA release, SSMS 19.2. Thanks.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.