SQL Server Management Studio menu item usage fails due to COM error

-1

Whenever I try to execute the Select Top 1000 Rows menu item on any table in a database I have connected to, I am presented with the following error. I have googled around and found a similar problem on Silverlight but there was no solution. The error is below.

TITLE: Microsoft SQL Server Management Studio
------------------------------

Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.Editor.Implementation.IVsGlobalUndoCapableUndoManager'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{305E8709-55B7-4732-B872-1C073AB58047}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). (mscorlib)

------------------------------
BUTTONS:

OK
------------------------------

Does anyone have any suggestion on what may cause this as it is really hindering progress on a new project I am meant to be working on that uses SQL Server rather than the usual MySQL.

The Edit Top 200 Rows provides the following error message

TITLE: Microsoft SQL Server Management Studio
------------------------------

Object reference not set to an instance of an object. (SQLEditors)

------------------------------
BUTTONS:

OK
-----------------------------

I get the above error message on a;ll menu items I have tried except the first error message on Select Top 1000 rows.

sql-server
asked on Server Fault Aug 21, 2020 by Jamie Reid

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0