After upgrading both SQL Server and Management Studio from 2008 to 2012, Management Studio 2012 is very slow when new query windows and dialog boxes are opened.
Even right clicking on tables is slow. There is typically at least a 5 second delay before I can start doing anything within a window. This happens every time, even if I open the same window twice in a row. Why does this happen and how can I fix it?
Other applications establish connections to the database very fast.
Things I have tried that did not help:
- A hit on Google where I'd need to modify my
hosts
file - Resetting SSMS "user-defined settings"
- Updating video drivers, turning off hardware acceleration, disabling DirectX
- Disabling the Biometric Authentication Service (I don't have it installed).
My computer should be more than fast enough, and I also have 16GB RAM. My hardware should definitely not be a problem. It looks like SSMS is waiting for something – I can operate other programs smoothly while this is happening.
I don't have the opportunity to install the SQL Server 2012 CU1 update because there seems to be some risk of errors installing hotfixes and I can't risk that right now.
Best Answer
SQL Server Management Studio Startup
When Microsoft's SQL Server Management Studio (SSMS) starts it tries to connect the Certificate Revocation List (CRL) of Microsoft:
http://crl.microsoft.com/pki/crl/products/MicrosoftRootAuthority.crl
The underlying .NET components of SSMS are trying to contact the Certificate Revocation List and SSMS is unable to do so. This slows down the overall loading procedure. (15 seconds per certificate apparently)
Reference: FAQ, Why does SSMS take 45s to start up? (MSDN Blog)
Reference: SQL Server Management Studio Startup Time (MSDN Blog)
Solutions
You can circumvent part of the issue, by downloading the certificate directly be entering the link into your browser and then importing the certificate to your certificate database
You can reconfigure your (company's) firewall to allow connections to Microsoft's CRL
You can reconfigure your personal antivirus/firewall to allow connections to the Microsoft CRL
You can configure your (company's) firewall to send a timeout faster to your client for requests accessing Microsoft's CRL.
You can configure IE to no longer "Check publisher's certificate revocation" in the advanced settings.
(See above mentioned blogs 1 and 2 for details)