This post was originally published here
This strange error does not occur often, perhaps from time to time, or in different environments, but in reality, I already had the “privilege” of encountering it more than once while I was trying to open the SQL Server Management Studio (SSMS):
The Visual Studio component cache is out of date. Please restart Visual Studio.
Not really a BizTalk Server problem but you now that behind the curtains, BizTalk Server relies on SQL Server
Cause
The cause of this problem is unclear, and I wish I could have a better explanation to provide and in fact, there is an issue active opened in MSFT about this (see here).
I just assume that something may have happened, maybe an update or something similar, that left something in a corrupt or incorrect state… but despite that, the resolution to this problem is quite simple.
Solution
As I said above, the resolution to this problem is quite simple and you may have several approaches to accomplish that. One of them is to manually remove all the temporary files from the Windows operating system by:
- Exit all programs and then hold down the WINDOWS key and then type R to open the “Run” windows.
- In the “Run” window, type “%TMP%” and then click “OK”
- This will open the TEMP directory that normally is: C:Users<your_user_name>AppDataLocalTemp
- Select and delete all the content of the TEMP folder
This approach always solved my problem.
But you can also try a different approach to do the same operations like:
- Open the Disk Cleanup utility.
- Make sure that you select the “Temporary files” option and then click on “OK”.
- When prompted up, select “Delete Files”
Again, if you now try to open Microsoft SQL Server Management Studio this The Visual Studio component cache is out of date. Please restart Visual Studio solution error message will have disappeared.