What are the challenges you face when working across database platforms? Take the survey
Options

SQL Data Compare 12 ( 12.3.3.4490 ) - Unhandled Exception

Good Morning,

since I updated to 12.3 ( today ) I cannot Save or Save as any new SQL Data Compare Project.
The Exception information is shown below.

Regards,

Stephan
Faulting application name: RedGate.SQLDataCompare.UI.exe, version: 12.3.3.4490, time stamp: 0x590cba8c
Faulting module name: SHELL32.dll, version: 10.0.15063.413, time stamp: 0xea2a451e
Exception code: 0xc0000005
Fault offset: 0x00000000001012c8
Faulting process id: 0x4418
Faulting application start time: 0x01d2efe74806082f
Faulting application path: C:\Program Files (x86)\Red Gate\SQL Data Compare 12\RedGate.SQLDataCompare.UI.exe
Faulting module path: C:\WINDOWS\System32\SHELL32.dll
Application: RedGate.SQLDataCompare.UI.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 00007FFE56E812C8
Stack:
   at System.Windows.Forms.FileDialogNative+IFileDialog.Show(IntPtr)
   at System.Windows.Forms.FileDialogNative+IFileDialog.Show(IntPtr)
   at System.Windows.Forms.FileDialog.RunDialogVista(IntPtr)
   at System.Windows.Forms.CommonDialog.ShowDialog(System.Windows.Forms.IWin32Window)
   at RedGate.SqlServer.Comparison.Shared.UI.Services.SqlServerProjectService.SaveAs(Redgate.Compare.CommonUI.Interfaces.ProjectService.IProject)
   at RedGate.SqlServer.Comparison.Shared.UI.Services.SqlServerProjectService.Save(Redgate.Compare.CommonUI.Interfaces.ProjectService.IProject)
   at RedGate.SqlServer.Comparison.Shared.UI.Services.SqlServerProjectService.<ShowProjectConfigScreen>b__76_0(Redgate.Compare.CommonUI.Interfaces.ProjectService.IProject)
   at RedGate.SqlServer.Comparison.Shared.UI.Dialogs.Connection.ViewModel.ConnectionViewModel.ExecSave(System.Object)
   at Redgate.Compare.CommonUI.Utils.DelegateCommand.Execute(System.Object)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource, Boolean)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
	-- removed some information so the BR fits
   at System.Windows.Window.ShowHelper(System.Object)
   at System.Windows.Window.ShowDialog()
   at Redgate.Compare.CommonUI.Services.WindowLauncherService.ShowDialog(System.Windows.Window, IntPtr)
   at RedGate.SqlServer.Comparison.Shared.UI.Services.SqlServerProjectService+<ShowProjectConfigScreen>d__76.MoveNext()
   at RedGate.SqlServer.Comparison.Shared.UI.Services.SqlServerProjectService.ShowProjectConfigScreen(RedGate.SqlServer.Comparison.Shared.UI.Dialogs.Connection.ViewModel.ProjectConfigurationTab, Redgate.Compare.CommonUI.Interfaces.ProjectService.IProject, Boolean, Boolean)
   at RedGate.SqlServer.Comparison.Shared.UI.Services.SqlServerProjectService+<ExecEditNewProject>d__62.MoveNext()
   at RedGate.SqlServer.Comparison.Shared.UI.Services.SqlServerProjectService.ExecEditNewProject()
   at RedGate.SqlServer.Comparison.Shared.UI.Services.SqlServerProjectService+<<-ctor>b__59_1>d.MoveNext()
   at RedGate.SqlServer.Comparison.Shared.UI.Services.SqlServerProjectService.<.ctor>b__59_1(System.Object)
   at Redgate.Compare.CommonUI.Utils.AsyncDelegateCommand+<DoWithErrorReporting>d__3.MoveNext()
   at Redgate.Compare.CommonUI.Utils.AsyncDelegateCommand.DoWithErrorReporting(System.Object, System.Func`2<System.Object,System.Threading.Tasks.Task>)
   at Redgate.Compare.CommonUI.Utils.AsyncDelegateCommand+<>c__DisplayClass1_0+<<-ctor>b__0>d.MoveNext()
   at Redgate.Compare.CommonUI.Utils.AsyncDelegateCommand+<>c__DisplayClass1_0.<.ctor>b__0(System.Object)
   at Redgate.Compare.CommonUI.Utils.DelegateCommand.Execute(System.Object)
   at RedGate.SqlServer.Comparison.Shared.UI.Services.CommandServiceAdapter+<>c__DisplayClass10_0.<HookUpCommand>b__1()
   at Redgate.Compare.CommonUI.Infrastructure.Commands.CommandService+BasicCommand.Execute(System.Object, System.EventArgs)
   at Redgate.Compare.CommonUI.Infrastructure.Commands.CommandController.Control_Click(System.Object, System.EventArgs)
   at DevExpress.XtraBars.BarItem.OnClick(DevExpress.XtraBars.BarItemLink)
   at DevExpress.XtraBars.BarButtonItem.OnClick(DevExpress.XtraBars.BarItemLink)
   at DevExpress.XtraBars.BarItemLink.OnLinkClick()
   at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(DevExpress.XtraBars.BarLinkAction, System.Object)
   at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(DevExpress.XtraBars.BarItemLink)
   at DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(System.Windows.Forms.MouseEventArgs)
   at System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)
   at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
   at DevExpress.XtraBars.Controls.DockedBarControl.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
   at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   at Redgate.Compare.CommonUI.StartUp.Start(Redgate.Compare.CommonUI.Interfaces.LoggingService.ILogger, RedGate.Usage.Client.IUsageSession, RedGate.Usage.Client.IUsageConsentProvider, System.Action)
   at RedGate.SqlServer.Comparison.Data.UI.Program.Main()
Tagged:

Comments

  • Options
    Hi - sorry to hear you're having trouble with Data Compare. Unfortunately this looks like a fairly generic crash report with not a lot of information, so this might be a bit hard to track down (exception code c0000005 means ACCESS_VIOLATION in unmanaged memory, which we don't really deal with much since we run almost completely managed .NET code).

    There might be some things we can do to track down the source of this error, though. Do you see the same problem when saving projects in SQL Compare? Does repairing the SQL Data Compare installation (through Programs and Features in windows) help?
  • Options
    Hi, sorry for the late reply.

    I forgot about the BR until today. The same problem, withing the same class ( System.Windows.Forms.FileDialogNative ) is thrown when saving also.

    SQL Compare does not throw the Exception and Loads/Saves correctly.

    Repairing did not help.

    Stephan
Sign In or Register to comment.