Occasional empty folders in Object Explorer tree in Microsoft SQL Server Management Studio

Miłosz 20 Reputation points
2023-10-07T23:08:39.64+00:00

I'm using Microsoft SQL Server 2022 Express and Microsoft SQL Server Management Studio 19.1 on a fresh Windows 11 Pro installation.

From time to time, after connecting to a server in Management Studio (localdb or sqlexpress instance), I don't see any objects in Object Explorer tree (for example I can see the Databases folder, but it's empty inside). There are no any visible errors and I can still see the databases in available databases dropdown list above the object explorer and use them when creating a new query.

Reconnecting to the database doesn't help. Application restart is needed to get rid of the problem.

The whole situation is totally random. I can't see any patterns and it seems that the probability of the issue is something like 10%.

Also, from time to time, when launching Management Studio, I get an error saying that there's a problem with the user settings file ("Unable to process the existing user settings and will overwrite the file with user settings from this session").

I don't know if these two issues are connected, but it's possible.

What can I do? How can I diagnoze the problem or fix it? Thank you for any help.

Windows for business | Windows Client for IT Pros | User experience | Other
SQL Server | Other
0 comments No comments
{count} votes

Accepted answer
  1. Erland Sommarskog 121.8K Reputation points MVP Volunteer Moderator
    2023-10-08T18:31:06.3233333+00:00

    Posts about SSMS misbehaving are certainly not uncommon in these forums. However, these symptoms are nothing that I recognise.

    I can't say have much ideas for any of them. What I would try with the OE case is to start up Profiler with a filter to capture what SSMS emits. Then I would right-click on the Database node or which other node that is empty and select Refresh. Does SSMS run a query? Not I am sure what we would do with this information in either case.

    As for the settings file, are you running some antivirus (other than Windows Defender) or some other "special" software? The symptoms does sort of suggest a conflict with some other program.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.