I just installed V3.0.12. It seems to work if I use SQL 2008 SSMS except it send a msg to Red Gate at start up.The type initializer for 'RedGate.SharedSSMS.Util.ReflectionUtils' threw an exception.

However, if I try to use SQL 2012 SSMS to connect to the SQL 2008 server, I get an error message(appended). I clear the error message but when I try to expand SQl Server Oject Explorer, SSMS crashes.

I guess I will reinstall my older version until this is resolved.

I reinstalled the old version 3.0.4.40 and SQL 2012 still crashes. I even uninstalled and reinstalled the original SSMS integration Pack 1.0.2.6 and SQL 2012 SSMS still crashes. What should I try next?

2012 error details
Error connecting to 'ETALK7033W7X64\SQL2008R2'.

===================================

Could not load file or assembly 'RedGate.Shared.Utils, Version=9.5.0.543, Culture=neutral, PublicKeyToken=7f465a1c156d4d57' or one of its dependencies. The system cannot find the file specified. (RedGate.SharedSSMS)

Program Location:

at RedGate.SharedSSMS.Util.ReflectionUtils.GetType(String assemblyName, String typeName)
at RedGate.SharedSSMS.VersionSpecific.ObjectExplorer.get_UrnType()
at RedGate.SharedSSMS.VersionSpecific.ObjectExplorerShared.#jYc(String #u6c)
at RedGate.SharedSSMS.VersionSpecific.ObjectExplorerShared.#iYc(String #u6c)
at RedGate.SharedSSMS.VersionSpecific.ObjectExplorerShared.#UXc(INodeInformation #iAPb)
at RedGate.SharedSSMS.VersionSpecific.ObjectExplorer.#P7i(INodeInformation #iAPb)
at RedGate.SharedSSMS.VersionSpecific.ObjectExplorer.#97c(Object #Zsf, TreeViewEventArgs #9Z)
at System.Windows.Forms.TreeViewEventHandler.Invoke(Object sender, TreeViewEventArgs e)
at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.LazyTreeView.WndProc(Message& m)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorerControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
at System.Windows.Forms.Control.WmNotify(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Application.ParkingWindow.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Control.DefWndProc(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.LazyTreeView.WndProc(Message& m)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorerControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam, IntPtr lparam)
at System.Windows.Forms.TreeView.set_SelectedNode(TreeNode value)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorerControl.AddHierarchy(SqlOlapConnectionInfoBase info, IExplorerHierarchy hierarchy)
at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ConnectToServer(UIConnectionInfo connectionInfo, IDbConnection liveConnection, Boolean validateConnection)
rbennet8
0

Comments

3 comments

  • chriskelly
    This is a known issue that has been fixed in a patch release which you can download from here:
    ftp://support.red-gate.com/patches/sql_ ... .0.777.zip

    Once installed, restart SSMS and hopefully the error message will no longer be displayed.
    chriskelly
    0
  • Bellisio
    I'm not anxious to back off to the previous version, so what can I do to stop the error message at startup of SSMS? I'm using Microsoft SQL Server Management Studio 10.50.1600.1; connecting to 2005, 2008 and 2008R2 servers.
    Bellisio
    0
  • cjoneslib
    Why wasn't I getting an update notification for this for the app? I manually downloaded and applied the patch and it resolved the error for me.

    Thanks
    cjoneslib
    0

Add comment

Please sign in to leave a comment.