Red Gate forums :: View topic - SQL 2012 SSMS crashes
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product support center
SQL Source Control 3
SQL Source Control 3 forum

SQL 2012 SSMS crashes

Search in SQL Source Control 3 forum
Post new topic   Reply to topic
Jump to:  
Author Message
rbennet8



Joined: 20 Feb 2006
Posts: 49

PostPosted: Tue May 29, 2012 4:18 pm    Post subject: SQL 2012 SSMS crashes Reply with quote

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)
Back to top
View user's profile Send private message
chriskelly



Joined: 19 Apr 2010
Posts: 253
Location: Cambridge, UK

PostPosted: Thu May 31, 2012 5:30 pm    Post subject: Reply with quote

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_compare/sql_compare_10.2.0.777.zip

Once installed, restart SSMS and hopefully the error message will no longer be displayed.
_________________
Chris Kelly
Technical Support Engineer
Back to top
View user's profile Send private message
Bellisio



Joined: 29 Oct 2008
Posts: 10
Location: State of CT - DDS

PostPosted: Fri Jun 01, 2012 3:05 pm    Post subject: Getting same error after installing 3.0.12.3695 Reply with quote

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.
Back to top
View user's profile Send private message
cjoneslib



Joined: 22 Jun 2012
Posts: 1
Location: United States

PostPosted: Fri Jun 22, 2012 10:11 pm    Post subject: It fixed my error Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group