Good day and welcome to the QnA forum, :-)
First, you have a small typo in the error messages which might make it harder for people o search it online. The error is probably
Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
Notice that you wrote VisualStudi
instead of VisualStudio
Solution
This is a known issue related to the version of the SSMS. Please install the latest version of SQL Server Management Studio - this should fix the issue probably.
Download the SSMS rom here: https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms
You can read more about the issue in the following post
https://sqlstudies.com/2019/02/18/error-in-ssms-attempted-to-read-or-write-protected-memory/