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

Error while copying script to clipboard

Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
edited February 5, 2004 9:29AM in SQL Compare Previous Versions
Hi Eric,

Which window is this error coming out of, and how much text is in the
window?

This has happened before, but we can't get it to happen reliably, hence
we can't get it fixed.

Thanks for your help!

Kind Regards,

Brian Donahue
Red Gate Technical Support

"lakusha@excite.com" <Lakusha@excite.com> wrote in message
news:F$fqhQC5DHA.1244@server53...
> FYI,
>
> With SQL Compare 3.1.0.151
>
> regards,
>
> Eric
>
>
> See the end of this message for details on invoking
> just-in-time (JIT) debugging instead of this dialog box.
>
> ************** Exception Text **************
> System.Runtime.InteropServices.ExternalException: The requested clipboard
> operation failed.
> at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean
> copy)
> at RedGate.SQL.Controls.LargeTextBox.CopyToClipBoard(Int64
fromCharIndex,
> Int64 toCharIndex, Int32 fromLineIndex, Int32 toLineIndex)
> at RedGate.SQL.Controls.BaseTextBox.OnKeyDown(KeyEventArgs e)
> at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
> at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
> at System.Windows.Forms.Control.WmKeyChar(Message& m)
> at System.Windows.Forms.Control.WndProc(Message& m)
> at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
> at System.Windows.Forms.ContainerControl.WndProc(Message& m)
> at System.Windows.Forms.UserControl.WndProc(Message& m)
> at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
> at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
> IntPtr wparam, IntPtr lparam)
>
>
> ************** Loaded Assemblies **************
> mscorlib
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
> file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
>
> RedGate.SQLCompare.UI
> Assembly Version: 3.1.0.151
> Win32 Version: 3.1.0.151
> CodeBase:
>
file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/RedGate.SQLCompare.UI.exe
>
> System.Windows.Forms
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
>
file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
>
> System
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
>
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
>
> RedGate.SQLCompare.Engine
> Assembly Version: 3.1.0.151
> Win32 Version: 3.1.0.151
> CodeBase:
>
file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/RedGate.SQLCompare.Engine.DLL
>
> System.Drawing
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
>
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
>
> RedGate.SQL.Controls
> Assembly Version: 3.3.0.79
> Win32 Version: 3.3.0.79
> CodeBase:
>
file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/RedGate.SQL.Controls.DLL
>
> RedGate.SQL.Grids
> Assembly Version: 3.3.0.79
> Win32 Version: 3.3.0.79
> CodeBase:
> file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/RedGate.SQL.Grids.DLL
>
> ActiproSoftware.TabStripPanel
> Assembly Version: 2.0.197.0
> Win32 Version: 2.0.197.0
> CodeBase:
>
file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/ActiproSoftware.TabStripPanel.DLL
>
> RedGate.SQL.Shared
> Assembly Version: 3.3.0.79
> Win32 Version: 3.3.0.79
> CodeBase:
>
file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/RedGate.SQL.Shared.DLL
>
> ActiproSoftware.DockableWindow
> Assembly Version: 2.0.197.0
> Win32 Version: 2.0.197.0
> CodeBase:
>
file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/ActiproSoftware.DockableWindow.DLL
>
> DevExpress.XtraBars
> Assembly Version: 2.1.1.0
> Win32 Version: 2.1.1.0
> CodeBase:
>
file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/DevExpress.XtraBars.DLL
>
> DevExpress.XtraEditors
> Assembly Version: 2.0.1.0
> Win32 Version: 2.0.1.0
> CodeBase:
>
file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/DevExpress.XtraEditors.DLL
>
> DevExpress.Utils
> Assembly Version: 2.0.1.0
> Win32 Version: 2.0.1.0
> CodeBase:
> file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/DevExpress.Utils.DLL
>
> ActiproSoftware.Wizard
> Assembly Version: 2.0.77.0
> Win32 Version: 2.0.77.0
> CodeBase:
>
file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/ActiproSoftware.Wizard.DLL
>
> RedGate.Licensing.Client
> Assembly Version: 1.2.1.25
> Win32 Version: 1.2.1.25
> CodeBase:
>
file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/RedGate.Licensing.Client.DLL
>
> RedGate.Licensing.Helper
> Assembly Version: 1.2.1.25
> Win32 Version: 1.2.1.25
> CodeBase:
>
file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/RedGate.Licensing.Helper.DLL
>
> System.Xml
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
>
file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
>
> Accessibility
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
>
file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
>
> System.Data
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
>
file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
>
> System.EnterpriseServices
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
>
file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
>
>
> ************** JIT Debugging **************
> To enable just in time (JIT) debugging, the config file for this
> application or machine (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.windows.forms jitDebugging="true" />
> </configuration>
>
> When JIT debugging is enabled, any unhandled exception
> will be sent to the JIT debugger registered on the machine
> rather than being handled by this dialog.
>
>
>

Comments

  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hi Eric,

    I'm still not having any luck trying to break SQL Compare this way. Can
    you tell me what your OS is and what version of the .Net Framework you have?

    Thanks

    Brian Donahue
    Red Gate Technical Support

    "lakusha@excite.com" <Lakusha@excite.com> wrote in message
    news:cCPTL5p5DHA.1600@server53...
    >
    > Hi Brian,
    >
    > In the bottom frame of the main window. I click on the tab with the blue
    > arrow to see the script to synch one of the db. Select *, copy, crash.
    >
    > BUT, if I click "Continue", the problem can't be reproduced again. It
    seems
    > the way to reproduce it is to:
    >
    > a) open the application and do a compare
    > b) click the blue* tab
    > c) select * and copy....exception
    >
    >
    > * I haven't tried with the red tab. I suppose its behavior is the same;)
    >
    > regards,
    >
    > Eric
    >
    >
    >
    > "Brian Donahue (Red Gate)" <brian.donahue@red-gate.com> wrote in message
    > news:I6aTW8n5DHA.1600@server53...
    > > Hi Eric,
    > >
    > > Which window is this error coming out of, and how much text is in
    the
    > > window?
    > >
    > > This has happened before, but we can't get it to happen reliably,
    > hence
    > > we can't get it fixed.
    > >
    > > Thanks for your help!
    > >
    > > Kind Regards,
    > >
    > > Brian Donahue
    > > Red Gate Technical Support
    > >
    > > "lakusha@excite.com" <Lakusha@excite.com> wrote in message
    > > news:F$fqhQC5DHA.1244@server53...
    > > > FYI,
    > > >
    > > > With SQL Compare 3.1.0.151
    > > >
    > > > regards,
    > > >
    > > > Eric
    > > >
    > > >
    > > > See the end of this message for details on invoking
    > > > just-in-time (JIT) debugging instead of this dialog box.
    > > >
    > > > ************** Exception Text **************
    > > > System.Runtime.InteropServices.ExternalException: The requested
    > clipboard
    > > > operation failed.
    > > > at System.Windows.Forms.Clipboard.SetDataObject(Object data,
    Boolean
    > > > copy)
    > > > at RedGate.SQL.Controls.LargeTextBox.CopyToClipBoard(Int64
    > > fromCharIndex,
    > > > Int64 toCharIndex, Int32 fromLineIndex, Int32 toLineIndex)
    > > > at RedGate.SQL.Controls.BaseTextBox.OnKeyDown(KeyEventArgs e)
    > > > at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
    > > > at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
    > > > at System.Windows.Forms.Control.WmKeyChar(Message& m)
    > > > at System.Windows.Forms.Control.WndProc(Message& m)
    > > > at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    > > > at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    > > > at System.Windows.Forms.UserControl.WndProc(Message& m)
    > > > at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
    > > > at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
    > > > at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32
    msg,
    > > > IntPtr wparam, IntPtr lparam)
    > > >
    > > >
    > > > ************** Loaded Assemblies **************
    > > > mscorlib
    > > > Assembly Version: 1.0.5000.0
    > > > Win32 Version: 1.1.4322.573
    > > > CodeBase:
    > > > file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
    > > >
    > > > RedGate.SQLCompare.UI
    > > > Assembly Version: 3.1.0.151
    > > > Win32 Version: 3.1.0.151
    > > > CodeBase:
    > > >
    > >
    >
    file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/RedGate.SQLCompare.UI.exe
    > > >
    > > > System.Windows.Forms
    > > > Assembly Version: 1.0.5000.0
    > > > Win32 Version: 1.1.4322.573
    > > > CodeBase:
    > > >
    > >
    >
    file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
    > > >
    > > > System
    > > > Assembly Version: 1.0.5000.0
    > > > Win32 Version: 1.1.4322.573
    > > > CodeBase:
    > > >
    > >
    >
    file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
    > > >
    > > > RedGate.SQLCompare.Engine
    > > > Assembly Version: 3.1.0.151
    > > > Win32 Version: 3.1.0.151
    > > > CodeBase:
    > > >
    > >
    >
    file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/RedGate.SQLCompare.Engine.DLL
    > > >
    > > > System.Drawing
    > > > Assembly Version: 1.0.5000.0
    > > > Win32 Version: 1.1.4322.573
    > > > CodeBase:
    > > >
    > >
    >
    file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
    > > >
    > > > RedGate.SQL.Controls
    > > > Assembly Version: 3.3.0.79
    > > > Win32 Version: 3.3.0.79
    > > > CodeBase:
    > > >
    > >
    >
    file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/RedGate.SQL.Controls.DLL
    > > >
    > > > RedGate.SQL.Grids
    > > > Assembly Version: 3.3.0.79
    > > > Win32 Version: 3.3.0.79
    > > > CodeBase:
    > > >
    > file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/RedGate.SQL.Grids.DLL
    > > >
    > > > ActiproSoftware.TabStripPanel
    > > > Assembly Version: 2.0.197.0
    > > > Win32 Version: 2.0.197.0
    > > > CodeBase:
    > > >
    > >
    >
    file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/ActiproSoftware.TabStripPanel.DLL
    > > >
    > > > RedGate.SQL.Shared
    > > > Assembly Version: 3.3.0.79
    > > > Win32 Version: 3.3.0.79
    > > > CodeBase:
    > > >
    > >
    >
    file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/RedGate.SQL.Shared.DLL
    > > >
    > > > ActiproSoftware.DockableWindow
    > > > Assembly Version: 2.0.197.0
    > > > Win32 Version: 2.0.197.0
    > > > CodeBase:
    > > >
    > >
    >
    file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/ActiproSoftware.DockableWindow.DLL
    > > >
    > > > DevExpress.XtraBars
    > > > Assembly Version: 2.1.1.0
    > > > Win32 Version: 2.1.1.0
    > > > CodeBase:
    > > >
    > >
    >
    file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/DevExpress.XtraBars.DLL
    > > >
    > > > DevExpress.XtraEditors
    > > > Assembly Version: 2.0.1.0
    > > > Win32 Version: 2.0.1.0
    > > > CodeBase:
    > > >
    > >
    >
    file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/DevExpress.XtraEditors.DLL
    > > >
    > > > DevExpress.Utils
    > > > Assembly Version: 2.0.1.0
    > > > Win32 Version: 2.0.1.0
    > > > CodeBase:
    > > >
    > file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/DevExpress.Utils.DLL
    > > >
    > > > ActiproSoftware.Wizard
    > > > Assembly Version: 2.0.77.0
    > > > Win32 Version: 2.0.77.0
    > > > CodeBase:
    > > >
    > >
    >
    file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/ActiproSoftware.Wizard.DLL
    > > >
    > > > RedGate.Licensing.Client
    > > > Assembly Version: 1.2.1.25
    > > > Win32 Version: 1.2.1.25
    > > > CodeBase:
    > > >
    > >
    >
    file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/RedGate.Licensing.Client.DLL
    > > >
    > > > RedGate.Licensing.Helper
    > > > Assembly Version: 1.2.1.25
    > > > Win32 Version: 1.2.1.25
    > > > CodeBase:
    > > >
    > >
    >
    file:///C:/Program%20Files/Red%20Gate%20SQL%20Bundle/RedGate.Licensing.Helper.DLL
    > > >
    > > > System.Xml
    > > > Assembly Version: 1.0.5000.0
    > > > Win32 Version: 1.1.4322.573
    > > > CodeBase:
    > > >
    > >
    >
    file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
    > > >
    > > > Accessibility
    > > > Assembly Version: 1.0.5000.0
    > > > Win32 Version: 1.1.4322.573
    > > > CodeBase:
    > > >
    > >
    >
    file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
    > > >
    > > > System.Data
    > > > Assembly Version: 1.0.5000.0
    > > > Win32 Version: 1.1.4322.573
    > > > CodeBase:
    > > >
    > >
    >
    file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
    > > >
    > > > System.EnterpriseServices
    > > > Assembly Version: 1.0.5000.0
    > > > Win32 Version: 1.1.4322.573
    > > > CodeBase:
    > > >
    > >
    >
    file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
    > > >
    > > >
    > > > ************** JIT Debugging **************
    > > > To enable just in time (JIT) debugging, the config file for this
    > > > application or machine (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.windows.forms jitDebugging="true" />
    > > > </configuration>
    > > >
    > > > When JIT debugging is enabled, any unhandled exception
    > > > will be sent to the JIT debugger registered on the machine
    > > > rather than being handled by this dialog.
    > > >
    > > >
    > > >
    > >
    > >
    >
    >
This discussion has been closed.