Strange Unhandled Exception
Posted: Sat Jun 23, 2018 1:46 pm
When trying to restore a backup at home I am getting;
Unhandled exception from ProgramEntry: Table '.\opendental\sigmessage' is marked as crashed and should be repaired
MySql.Data.MySqlClient.MySqlException
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at OpenDentBusiness.DataConnection.<>c__DisplayClass81_0.<GetTable>b__1() in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Db\DataConnection.cs:line 610
at OpenDentBusiness.DataConnection.RunDbAction(Action actionDb, DbConnection connection) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Db\DataConnection.cs:line 949
at OpenDentBusiness.DataConnection.GetTable(String command, Boolean hasConnLost) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Db\DataConnection.cs:line 610
at OpenDentBusiness.DataCore.GetTable(String command) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Db\DataCore.cs:line 14
at OpenDentBusiness.Db.GetTableWithRemotingRoleCheck(String command) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Db\Db.cs:line 76
at OpenDentBusiness.Db.GetTable(String command) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Db\Db.cs:line 42
at OpenDentBusiness.Crud.SigMessageCrud.SelectMany(String command) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Crud\SigMessageCrud.cs:line 36
at OpenDentBusiness.SigMessages.GetSigMessagesSinceDateTime(DateTime dateTimeSince) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Data Interface\SigMessages.cs:line 73
at OpenDental.ContrStaff.RefreshFullMessages() in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDental\Main Modules\ContrStaff.cs:line 1431
at OpenDental.ContrStaff.InitializeOnStartup() in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDental\Main Modules\ContrStaff.cs:line 813
at OpenDental.FormOpenDental.FormOpenDental_Load(Object sender, EventArgs e) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDental\Main Modules\FormOpenDental.cs:line 2724
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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)
Any help would be appreciated
drtmz
Unhandled exception from ProgramEntry: Table '.\opendental\sigmessage' is marked as crashed and should be repaired
MySql.Data.MySqlClient.MySqlException
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at OpenDentBusiness.DataConnection.<>c__DisplayClass81_0.<GetTable>b__1() in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Db\DataConnection.cs:line 610
at OpenDentBusiness.DataConnection.RunDbAction(Action actionDb, DbConnection connection) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Db\DataConnection.cs:line 949
at OpenDentBusiness.DataConnection.GetTable(String command, Boolean hasConnLost) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Db\DataConnection.cs:line 610
at OpenDentBusiness.DataCore.GetTable(String command) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Db\DataCore.cs:line 14
at OpenDentBusiness.Db.GetTableWithRemotingRoleCheck(String command) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Db\Db.cs:line 76
at OpenDentBusiness.Db.GetTable(String command) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Db\Db.cs:line 42
at OpenDentBusiness.Crud.SigMessageCrud.SelectMany(String command) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Crud\SigMessageCrud.cs:line 36
at OpenDentBusiness.SigMessages.GetSigMessagesSinceDateTime(DateTime dateTimeSince) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Data Interface\SigMessages.cs:line 73
at OpenDental.ContrStaff.RefreshFullMessages() in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDental\Main Modules\ContrStaff.cs:line 1431
at OpenDental.ContrStaff.InitializeOnStartup() in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDental\Main Modules\ContrStaff.cs:line 813
at OpenDental.FormOpenDental.FormOpenDental_Load(Object sender, EventArgs e) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDental\Main Modules\FormOpenDental.cs:line 2724
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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)
Any help would be appreciated
drtmz