Re: unhandled exception in SSMS for query from Reistered Servers
Not sure if this is a ViEmu thing or not and it is pretty benign, but I thought I'd post it anyway...
If the first query window I open after starting up SSMS is from the Registered Servers tab, right after I close the ViEmu splash/dialog box I get an unhandled exception:
************** Exception Text **************
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.SqlScriptEditorControl.MultiServerPropertiesDisplay.SetChildState(UIConnectionInfo childInfo, String state).......
If the first window is from the Object Explorer - no problem. If I then open a query from window from Registered Servers, no problem.
Since the first thing I do in the morning is run a query across all the servers and my coffee hasn't kicked in yet - I see this message almost every morning. Any ideas on to fix it?
Thanks...