Here is what the trace says:
2009-03-26 16:16:45:750 ApplicationStart done, took 42.2 secs
2009-03-26 16:17:27:250 in OnUnhandledThreadException
2009-03-26 16:17:27:390 ********* exception trapped *********
2009-03-26 16:17:27:390 File sharing lock count exceeded. Increase MaxLocksPerFile registry entry.
2009-03-26 16:17:27:390 at System.Data.OleDb.OleDbCommand.ExecuteCommandTextE rrorHandling(OleDbHResult hr)
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextF orSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText( Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm andBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
at Wilson.ORMapper.Internals.Connection.ExecuteComman d(Type entityType, CommandInfo commandInfo, String sqlStatement, Parameter[] parameters)
at Wilson.ORMapper.ObjectSpace.ExecuteDelete(Type objectType, String whereClause)
at NinjaTrader.Cbi.Account.SimulationReset(Boolean clearAll)
at NinjaTrader.Gui.ResetSimAccountForm.okButton_Click (Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2009-03-26 16:18:13:484 in OnUnhandledThreadException
2009-03-26 16:18:13:484 ********* exception trapped *********
2009-03-26 16:18:13:484 File sharing lock count exceeded. Increase MaxLocksPerFile registry entry.
2009-03-26 16:18:13:484 at System.Data.OleDb.OleDbCommand.ExecuteCommandTextE rrorHandling(OleDbHResult hr)
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextF orSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText( Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm andBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
Comment