Cannot unregister a SQL Server instance while documents are open on databases below this node.

You are trying to remove a server instance from Object Explorer, but some dependent documents in that server's node are still open in an editor.

To correct this error

  • Close the dependent documents and try again.