When I am trying to Edit my tables on my newly installed SQL server management studio, I am getting the error below
Exception has been thrown by the target of an invocation. (mscorlib)
Additional information:
Attempted to read or write protected memory. This is often an indication that
other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
Here is the image of the error
How to Resolve this issue? Thanks
Looking at your error and details of newly installed SQL server management studio, can you determine the SQL server version using the SQL query on your master database
SELECT @@VERSION
as maybe you are trying to edit SQL server database(new version like 2014 version) which is different from your SQL server management studio(older version like 2012 version), I have faced this issue and was able to resolve it by reinstalling my management studio and database, you can also upgrade your management studio version
For the above issue, following issues can be there:
netsh winsock reset
".
Subscribe to our weekly Newsletter & Keep getting latest article/questions in your inbox weekly