1st Problem
Hi Support,
I had an error today during a cloning process of a SQL connection.
This is the error:
System.Data.ConstraintException: Column 'id' is constrained to be unique. Value '147' is already present.
at System.Data.UniqueConstraint.CheckConstraint(DataRow row, DataRowAction action)
at System.Data.DataTable.RaiseRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction, Boolean fireEvent)
at System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Int32 position, Boolean fireEvent, Exception& deferredException)
at System.Data.DataTable.InsertRow(DataRow row, Int32 proposedID, Int32 pos, Boolean fireEvent)
at System.Data.DataRowCollection.Add(DataRow row)
at Dictionary.ConnectionParametersDataTable.AddConnectionParametersRow(ConnectionParametersRow row)
at frmConnectionWizard.CloneConnection(String strConnectionId)
at ODNKNCFDHHPJPCMOFFIIHIOEPAPDAKPENFKF.LEDLLOPPDOMPIKCJPFKAMIOKAODDMGMMFFGK.HAEJEADLBDKGJJHECDIBNHOJFJBNMFFIKCHL()
at ODNKNCFDHHPJPCMOFFIIHIOEPAPDAKPENFKF.LEDLLOPPDOMPIKCJPFKAMIOKAODDMGMMFFGK.KPCICEAMKMKJNLMLEFGLCEGPCKGFMDNFBNEL(Object , ToolClickEventArgs )
at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e)
at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e)
at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick()
at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.DoClickProcessing(MouseEventArgs e)
at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.OnMouseUp(MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
at Infragistics.Win.UltraControlBase.OnMouseUp(MouseEventArgs e)
at Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.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)
To reproduce this error follow these steps:
1. Have some connections in the connections list. One (or more) being a SQL connection.
2. Start adding a new SQL connection, but close this window after clicking once on the next button.
3. Now select one SQL connection and press the clone button.
The error should appear.
Regards,
Erik
Edited by user
2010-10-11T14:49:24Z
|
Reason: Not specified
Uses Visualcron since 2006.