The visual Studio component cache is out of date, please restart Visual Studio.

1 minute read

Problem statement:

You may receive the following error when you try to open the New Query window in the Microsoft SQL Server Management Studio connected to the Microsoft SQL Server instance.

 
Fig 1. The visual Studio component cache is out of date, please restart Visual Studio.

Solution:

Option 1:

  1. Open Run or Press the Windows key + R.
  2. Type %temp%
  3. Delete all the files from the temp folder.

You can open the New Query window in the SSMS, which will open without any issues.

Option 2:

  1. Run the ‘Disk cleanup’.
  2. Select the C:\ drive.
  3. Make sure the ‘Temporary Files’ checkbox is selected.
  4. Click OK.

Once the cleanup process is completed, you can try to open the New Query window in the SSMS.

Leave a comment