Unhandled Exception
Posted: Mon Aug 31, 2015 8:56 am
I received this message"Unhandled exception has occurred... Can't find file: "benefit" (errno: 2) when I click on the patient file on the appointment window.
Is this a mysql error? I had copied a few files on back up and that may have caused an error? I am able to log on to open dental and see past patients but when clicking on the patient from appointments the error comes.
If I moved the file from c: to usb E:let me know which file I have to move back and to which directory or subdirectory. Thanks
The details are these:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
MySql.Data.MySqlClient.MySqlException (0x80004005): Can't find file: 'benefit' (errno: 2)
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& insertedId)
at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int32& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId)
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.GetTable(String command)
at OpenDentBusiness.Db.GetTable(String command)
at OpenDentBusiness.Crud.BenefitCrud.SelectMany(String command)
at OpenDentBusiness.Benefits.Refresh(List`1 listForPat, List`1 subList)
at OpenDental.ContrChart.RefreshModuleData(Int64 patNum, Boolean isFullRefresh)
at OpenDental.ContrChart.ModuleSelected(Int64 patNum, Boolean isFullRefresh)
at OpenDental.ContrChart.ModuleSelectedNewCrop(Int64 patNum)
Is this a mysql error? I had copied a few files on back up and that may have caused an error? I am able to log on to open dental and see past patients but when clicking on the patient from appointments the error comes.
If I moved the file from c: to usb E:let me know which file I have to move back and to which directory or subdirectory. Thanks
The details are these:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
MySql.Data.MySqlClient.MySqlException (0x80004005): Can't find file: 'benefit' (errno: 2)
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& insertedId)
at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int32& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId)
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.GetTable(String command)
at OpenDentBusiness.Db.GetTable(String command)
at OpenDentBusiness.Crud.BenefitCrud.SelectMany(String command)
at OpenDentBusiness.Benefits.Refresh(List`1 listForPat, List`1 subList)
at OpenDental.ContrChart.RefreshModuleData(Int64 patNum, Boolean isFullRefresh)
at OpenDental.ContrChart.ModuleSelected(Int64 patNum, Boolean isFullRefresh)
at OpenDental.ContrChart.ModuleSelectedNewCrop(Int64 patNum)