Backup file already exists error

Issue #113 resolved
Jason Carr repo owner created an issue

LaunchBox Version 3.2 Operating System Windows 7 Operating System Architecture 64-bit Times Occurred A Few Times Issue/Error: System.IO.IOException: The file 'C:GamesLaunchBoxBackupsLaunchBox.xml.backup-635428695198197926' already exists. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) at LaunchBox.DataManager.BackupXml() at LaunchBox.DataManager.Save() at LaunchBox.MainForm.playButton_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(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)

What were you trying to do at the time of the error? Launched a game by mistake, closed it quickly, immediately launched another game.

Are you able to reproduce this issue? Not reliably

LaunchBox Error: System.IO.IOException: The file 'C:\Games\LaunchBox\Backups\LaunchBox.xml.backup-635428695198197926' already exists. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) at LaunchBox.DataManager.BackupXml() at LaunchBox.DataManager.Save() at LaunchBox.MainForm.playButton_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(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)

Comments (2)

  1. Jason Carr reporter
    • edited description

    LaunchBox Version 3.2 Operating System Windows 8.1 Operating System Architecture 64-bit Times Occurred Twice Issue/Error: System.IO.IOException: The file 'C:UsersMatthewMy DocumentsSoftwareLaunchBoxBackupsLaunchBox.xml.backup-635427742488357436' already exists. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) at LaunchBox.DataManager.BackupXml() at LaunchBox.DataManager.Save() at LaunchBox.MainForm.playButton_Click(Object sender, EventArgs e) at LaunchBox.GamesControl.GamesControl_DoubleClick(Object sender, EventArgs e) at System.Windows.Forms.Control.OnDoubleClick(EventArgs 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.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    What were you trying to do at the time of the error? Adding a game.

    Are you able to reproduce this issue? Probably. It seems to occur whenever the app wants to make a backup.

    LaunchBox Error: System.IO.IOException: The file 'C:\Users\Matthew\My Documents\Software\LaunchBox\Backups\LaunchBox.xml.backup-635427742488357436' already exists. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) at LaunchBox.DataManager.BackupXml() at LaunchBox.DataManager.Save() at LaunchBox.MainForm.playButton_Click(Object sender, EventArgs e) at LaunchBox.GamesControl.GamesControl_DoubleClick(Object sender, EventArgs e) at System.Windows.Forms.Control.OnDoubleClick(EventArgs 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.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  2. Log in to comment