| Author | 
		Message | 
	
	
		
			shaddow58 
			 
			
  
			
			
				Joined: 15 Feb 2007 Posts: 8
  | 
			 
			  
		 | 
		
			
				  SQL Assistant V2 Crashes MS Query Editor: Bug | 
				     | 
			 
			
				When I am using SQL Management Studio or Query Analyzer SQL Asstistant will sometimes pop up the connection dialog and anytime after that I try to execute a query it will crash the editor. IT does not matter what I do with the connection dialog. I already have a connection and it appears. I can set it or cancel and the result is the same. I always crashes the Query editor I am using. I downloaded and installed on my home PC with Management Studio Express and it does the same thing.
  | 
			 
		  | 
	
	
		| Tue Apr 17, 2007 9:26 am | 
		          | 
	
	
		  | 
	
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Does the Connect dialog come up soon after you start typing SQL queries or after a while?
 
If the answer is 'after a while',  do you know if you loose database connectivity at that time or have some network connection hiccup?
 
 
When it crashes, do you get an error message, like "application tried to execute instruction at …" or something similar?
  | 
			 
		  | 
	
	
		| Tue Apr 17, 2007 10:15 am | 
		          | 
	
	
		  | 
	
	
		
			shaddow58 
			 
			
  
			
			
				Joined: 15 Feb 2007 Posts: 8
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				It veries when the connection dialog comes up, but i always crashes after the dialog opens and I execute a query. I do not get error from SQL Assistant. The error i get is "SQLWB - SQL Management Studio has encounterd a problem and needs to close. We ae sorry for the inconvenience.", and i have the option to Degun, Send Error Report and Dont Send.This looks like a Microsoft dailg. I thought it was the netork at first, that is why i tried it on my home pc.
 
 
One other thing that I noticed is if i change any option of SQL Assistant while Management Studio is open it will crash Management Studio. That Error is a .NET Runtime Error. "Unhandled executes has occured in a component in you application. Id you click Continue, the application will ignore this error and attempt to continue." If i click on details this is what i get:
 
 
See the end of this message for details on invoking 
 
just-in-time (JIT) debugging instead of this dialog box.
 
 
************** Exception Text **************
 
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
 
   at Microsoft.SqlServer.Management.UI.VSIntegration.NativeMethods.SetFocus(IntPtr hWnd)
 
   at Microsoft.SqlServer.Management.UI.VSIntegration.ShellTextEditorControl.OnGotFocus(EventArgs e)
 
   at System.Windows.Forms.Control.WmSetFocus(Message& m)
 
   at System.Windows.Forms.Control.WndProc(Message& m)
 
   at Microsoft.SqlServer.Management.UI.VSIntegration.ShellTextEditorControl.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
 
 
************** Loaded Assemblies **************
 
mscorlib
 
    Assembly Version: 2.0.0.0
 
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
 
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
 
----------------------------------------
 
AppIDPackage
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.1399.00
 
    CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/90/Tools/Binn/VSShell/Common7/IDE/AppIDPackage.DLL
 
----------------------------------------
 
System
 
    Assembly Version: 2.0.0.0
 
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
 
----------------------------------------
 
Microsoft.SqlServer.SqlTools.VSIntegration
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.1399.00
 
    CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/90/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.SqlTools.VSIntegration.DLL
 
----------------------------------------
 
Microsoft.VisualStudio.Shell.Interop
 
    Assembly Version: 7.1.40304.0
 
    Win32 Version: 7.0.4054
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.VisualStudio.Shell.Interop/7.1.40304.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Shell.Interop.dll
 
----------------------------------------
 
Microsoft.VisualStudio.OLE.Interop
 
    Assembly Version: 7.1.40304.0
 
    Win32 Version: 7.0.4054
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.VisualStudio.OLE.Interop/7.1.40304.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.OLE.Interop.dll
 
----------------------------------------
 
System.Windows.Forms
 
    Assembly Version: 2.0.0.0
 
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
 
----------------------------------------
 
System.Drawing
 
    Assembly Version: 2.0.0.0
 
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
 
----------------------------------------
 
Microsoft.SqlServer.SqlTDiagM
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.1399.00
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.SqlTDiagM/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.SqlTDiagM.dll
 
----------------------------------------
 
Microsoft.DataWarehouse.SQM
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.1399.00
 
    CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/90/Tools/Binn/VSShell/Common7/IDE/Microsoft.DataWarehouse.SQM.DLL
 
----------------------------------------
 
Microsoft.SqlServer.Instapi
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.1399.00
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.Instapi/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.Instapi.dll
 
----------------------------------------
 
ObjectExplorer
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.1399.00
 
    CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/90/Tools/Binn/VSShell/Common7/IDE/ObjectExplorer.DLL
 
----------------------------------------
 
ConnectionDlg
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.1399.00
 
    CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/90/Tools/Binn/VSShell/Common7/IDE/ConnectionDlg.DLL
 
----------------------------------------
 
SqlWorkbench.Interfaces
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.1399.00
 
    CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/90/Tools/Binn/VSShell/Common7/IDE/SqlWorkbench.Interfaces.DLL
 
----------------------------------------
 
Microsoft.SqlServer.CustomControls
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.3042.00
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.CustomControls/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.CustomControls.dll
 
----------------------------------------
 
Accessibility
 
    Assembly Version: 2.0.0.0
 
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
 
----------------------------------------
 
SqlMgmt
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.1399.00
 
    CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/90/Tools/Binn/VSShell/Common7/IDE/SqlMgmt.DLL
 
----------------------------------------
 
Microsoft.SqlServer.RegSvrEnum
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.3042.00
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.RegSvrEnum/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.RegSvrEnum.dll
 
----------------------------------------
 
EnvDTE
 
    Assembly Version: 8.0.0.0
 
    Win32 Version: 8.0.50727.42 (RTM.050727-4200)
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC/EnvDTE/8.0.0.0__b03f5f7f11d50a3a/EnvDTE.dll
 
----------------------------------------
 
Microsoft.NetEnterpriseServers.ExceptionMessageBox
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.3042.00
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.NetEnterpriseServers.ExceptionMessageBox/9.0.242.0__89845dcd8080cc91/Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll
 
----------------------------------------
 
System.Data
 
    Assembly Version: 2.0.0.0
 
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
 
----------------------------------------
 
Microsoft.SqlServer.ConnectionInfo
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.3042.00
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.ConnectionInfo/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.ConnectionInfo.dll
 
----------------------------------------
 
System.Xml
 
    Assembly Version: 2.0.0.0
 
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
 
----------------------------------------
 
Microsoft.SqlServer.SmoEnum
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.3042.00
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.SmoEnum/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.SmoEnum.dll
 
----------------------------------------
 
System.Configuration
 
    Assembly Version: 2.0.0.0
 
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
 
----------------------------------------
 
System.Transactions
 
    Assembly Version: 2.0.0.0
 
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
 
----------------------------------------
 
System.EnterpriseServices
 
    Assembly Version: 2.0.0.0
 
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
 
----------------------------------------
 
Microsoft.SqlServer.Smo
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.3042.00
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.Smo/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.Smo.dll
 
----------------------------------------
 
Microsoft.SqlServer.SqlEnum
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.3042.00
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.SqlEnum/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.SqlEnum.dll
 
----------------------------------------
 
Microsoft.SqlServer.BatchParser
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 2005.090.3042.00
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/Microsoft.SqlServer.BatchParser/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.BatchParser.dll
 
----------------------------------------
 
msvcm80
 
    Assembly Version: 8.0.50727.163
 
    Win32 Version: 8.00.50727.163
 
    CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.163_x-ww_681e29fb/msvcm80.dll
 
----------------------------------------
 
ObjectExplorerReplication
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.1399.00
 
    CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/90/Tools/Binn/VSShell/Common7/IDE/ObjectExplorerReplication.DLL
 
----------------------------------------
 
Microsoft.ReportViewer.WinForms
 
    Assembly Version: 8.0.0.0
 
    Win32 Version: 8.0.50727.42
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.ReportViewer.WinForms/8.0.0.0__b03f5f7f11d50a3a/Microsoft.ReportViewer.WinForms.dll
 
----------------------------------------
 
System.Management
 
    Assembly Version: 2.0.0.0
 
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
 
----------------------------------------
 
SQLEditors
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.1399.00
 
    CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/90/Tools/Binn/VSShell/Common7/IDE/SQLEditors.DLL
 
----------------------------------------
 
Microsoft.VisualStudio.TextManager.Interop
 
    Assembly Version: 7.1.40304.0
 
    Win32 Version: 7.0.4054
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.VisualStudio.TextManager.Interop/7.1.40304.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.TextManager.Interop.dll
 
----------------------------------------
 
Microsoft.SqlServer.GridControl
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.3042.00
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.GridControl/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.GridControl.dll
 
----------------------------------------
 
SqlAssist.Net
 
    Assembly Version: 1.0.0.0
 
    Win32 Version: 1.0.0.0
 
    CodeBase: file:///C:/Program%20Files/SQL%20Assistant/data/SqlAssist.Net.DLL
 
----------------------------------------
 
Microsoft.SqlServerCe.Client
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 3.0.5207.0
 
    CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/90/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServerCe.Client.DLL
 
----------------------------------------
 
Microsoft.SqlServer.DataStorage
 
    Assembly Version: 9.0.242.0
 
    Win32 Version: 9.00.1399.00
 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.DataStorage/9.0.242.0__89845dcd8080cc91/Microsoft.SqlServer.DataStorage.dll
 
----------------------------------------
 
 
************** JIT Debugging **************
 
To enable just-in-time (JIT) debugging, the .config file for this
 
application or computer (machine.config) must have the
 
jitDebugging value set in the system.windows.forms section.
 
The application must also be compiled with debugging
 
enabled.
 
 
For example:
 
 
<configuration>
 
    <system>
 
</configuration>
 
 
When JIT debugging is enabled, any unhandled exception
 
will be sent to the JIT debugger registered on the computer
 
rather than be handled by this dialog box.[/img]
  | 
			 
		  | 
	
	
		| Tue Apr 17, 2007 10:50 am | 
		          | 
	
	
		  | 
	
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Thanks for the info. We will look into this.
  | 
			 
		  | 
	
	
		| Tue Apr 17, 2007 11:28 am | 
		          | 
	
	
		  | 
	
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Please try build 2.0.13 or later. Hope this issue is fixed now
  | 
			 
		  | 
	
	
		| Thu May 03, 2007 10:02 pm | 
		          | 
	
	
		  | 
	
	
		
			agentgopi 
			 
			
  
			
			
				Joined: 09 May 2007 Posts: 3 Country: United States | 
			 
			  
		 | 
		
			
				  SQL Assitant crashes when using with sql server management | 
				     | 
			 
			
				I have seen this happen all the time, but only when I am trying to connect to different databases, the databases could be on the same server or different does not seam to matter.
  | 
			 
		  | 
	
	
		| Wed May 09, 2007 11:05 am | 
		           | 
	
	
		  | 
	
	
		
			agentgopi 
			 
			
  
			
			
				Joined: 09 May 2007 Posts: 3 Country: United States | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				I am using 2.0.13 beta and it is happening more often with this build.
  | 
			 
		  | 
	
	
		| Wed May 09, 2007 11:06 am | 
		           | 
	
	
		  | 
	
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Please try 2.0.16. We have fixed several connectivity related issues recently. I hope this is one of them.
  | 
			 
		  | 
	
	
		| Wed May 09, 2007 12:04 pm | 
		          | 
	
	
		  | 
	
	
		 |