12042 Error: Value of 1 is not valid for index Author: Products: URL: /Support_Kb.aspx?kbname=Error-ListViewControl-Value-1-not-valid Created: 08-May-2007 Last updated: 08-May-2007
The following error can occur in Enhanced Windows Backup v1.1.1006. It is a known issue and will be fixed in a future release. When working on jobs in the list, the following fatal error can occur. InvalidArgument=Value of '1' is not valid for 'index'.Parameter name: index at System.Windows.Forms.ListViewItem.ListViewSubItemCollection.get_Item(Int32 index) at EWBackup.ListViewItemComparer.Compare(Object x, Object y) at System.Windows.Forms.ListView.CompareFunc(IntPtr lparam1, IntPtr lparam2, IntPtr lparamSort) 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.ListView.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) The problem is caused by a discrepancy in the ListView Control's view of the list of jobs and EWBackups list of jobs. Stopping and restarting the program may solve the problem but if it doesn't, then you can delete the configuration file C:\Documents and Settings\All Users\Application Data\SoftSwift\EWB_Config.xml When you next run EWBackup you will need to re-create the backup jobs.
Click here to view a printable copy of this article