********************************************************** Time Of Error : 14-08-2023 14:43:00 Error Message : Fatal error encountered during command execution. Error Exeption : MySql.Data.MySqlClient.MySqlException: Fatal error encountered attempting to read the resultset. ---> MySql.Data.MySqlClient.MySqlException: Deadlock found when trying to get lock; try restarting transaction at MySql.Data.MySqlClient.MySqlStream.OpenPacket() at MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) at MySql.Data.MySqlClient.MySqlDataReader.GetResultSet() at MySql.Data.MySqlClient.MySqlDataReader.NextResult() --- End of inner exception stack trace --- at MySql.Data.MySqlClient.MySqlDataReader.NextResult() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) Error Place : at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() at MySqlHelper.ExecuteNonQuery(MySqlTransaction transaction, CommandType commandType, String commandText, MySqlParameter[] commandParameters) in d:\live_code\Naokon\App_Code\DataLinkLayer\ODBCHelper.cs:line 324 at MySqlHelper.ExecuteNonQuery(MySqlTransaction transaction, CommandType commandType, String commandText) in d:\live_code\Naokon\App_Code\DataLinkLayer\ODBCHelper.cs:line 300 at LabOPD.LabPrescriptionOPDEdit(String PatientID, String Title, String PName, String Gender, String House_No, String City, String cityid, String Phone, String Mobile, String Age, String DOB_ShowFormat, String DOB_DBFormat, String Relation, String RelationName, Int32 isActual, String Doctor_ID, String Panel_ID, String ReferedBy, String Source, Double TotalDiscAmt, Double TotalDiscPer, Double GrossAmount, Double NetAmount, String DiscReason, String Remarks, String ApprovedBy, String UniqueHash, String UserID, String ItemData, String PaymentData, Int32 rdDOB, String Sample, String PatientType, String ReportReceivingType, String SampleBySelf, String OtherDr, String LedgerTransactionNo, String CardNo, String Comments, String EmailID, String PDispatchData, String HomeVisitBoy, String Locality, String State, String stateid, String proid, String frRate, String fOldGross, String fOldNet, String referlab, String policyno, String mytokenno, String IdentityCardType, String IdentityCardNo, String Height, String Weight, String AutoMailToPatient, String uhid_hosp, String ipdno_hosp, String wardno, String bedno, String ageyear, String agemonth, String ageday, String doctorType, String dispatchMode, String collectionType, String collectionBoyId, String collectionBobyName, String deliveryBoyId, String deliveryBoyName, String assistantid, String referralTypeId, String marketingAgentId, String Pensionertype, String WBSHID, String ReferDate, String Employeeno, String DispCode, String DispDept, String EmployeeStatus, String officeaddress, String Employeerelation, String IPDtype, String RefbyHospital, String LMP, String collectioncharge, String DeliveryCharge, String pansionername, String BloodGroup, String OtherReferalDoctor, String AllowOutSideContainer, String OutSideSample, Int32 IsHomeDelivery, Int32 IsIntimateToDoctor, Int32 IsIntimateToPatient, Int32 IsIntimateToNhPanel, Int32 IsDocumentPending, String PatientOccupatient) in d:\live_code\Naokon\App_Code\BuisnessLogic\LabOPD.cs:line 3686 Error On Machine : NAOKON-LIS Error Machine IP Address : 10.0.0.100 ********************************************************** Time Of Error : 14-08-2023 15:39:58 Error Message : Fatal error encountered during command execution. Error Exeption : MySql.Data.MySqlClient.MySqlException: Fatal error encountered attempting to read the resultset. ---> MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%' inner join investigation_master im on pli.Investigation_ID = im.Investigation' at line 1 at MySql.Data.MySqlClient.MySqlStream.OpenPacket() at MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) at MySql.Data.MySqlClient.MySqlDataReader.GetResultSet() at MySql.Data.MySqlClient.MySqlDataReader.NextResult() --- End of inner exception stack trace --- at MySql.Data.MySqlClient.MySqlDataReader.NextResult() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) Error Place : 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(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) at MySqlHelper.ExecuteDataset(MySqlConnection connection, CommandType commandType, String commandText, MySqlParameter[] commandParameters) in d:\live_code\Naokon\App_Code\DataLinkLayer\ODBCHelper.cs:line 488 at MySqlHelper.ExecuteDataset(MySqlConnection connection, CommandType commandType, String commandText) in d:\live_code\Naokon\App_Code\DataLinkLayer\ODBCHelper.cs:line 460 at StockReports.GetDataTable(String strQuery) in d:\live_code\Naokon\App_Code\BuisnessLogic\Finance\StockReports.cs:line 566 at PatientLabSearch.Search(String LabNo, String UHID_hosp, String IPDNo_hosp, String RegNo, String PName, String CentreID, String dtFrom, String dtTo, String Dept, String Status, String PhoneNo, String Mobile, String refrdby, String Ptype, String TimeFrm, String TimeTo, String FromLabNo, String ToLabNo, String PanelID, String CardNoFrom, String CardNoTo, String InvestigationID, String isUrgent, String slidenumber, String BarCodeNo, String SearchByDate, String OutLab, String OutCentre, String CPTCode, String ColourCode, String CardNo, String _CheckCount, String PrintFlag, String _action, String TestCentre, String DispatchNo, Int32 IsIntimateToDoctor, Int32 IsIntimateToPatient, Int32 IsIntimateToNhPanel, Int32 IsDocumentPending, String CovidStatus) in d:\live_code\Naokon\Design\Lab\Services\PatientLabSearch.asmx:line 1175 Error On Machine : NAOKON-LIS Error Machine IP Address : 10.0.0.100 ********************************************************** Time Of Error : 14-08-2023 15:39:59 Error Message : Fatal error encountered during command execution. Error Exeption : MySql.Data.MySqlClient.MySqlException: Fatal error encountered attempting to read the resultset. ---> MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%' inner join investigation_master im on pli.Investigation_ID = im.Investigation' at line 1 at MySql.Data.MySqlClient.MySqlStream.OpenPacket() at MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) at MySql.Data.MySqlClient.MySqlDataReader.GetResultSet() at MySql.Data.MySqlClient.MySqlDataReader.NextResult() --- End of inner exception stack trace --- at MySql.Data.MySqlClient.MySqlDataReader.NextResult() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) Error Place : 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(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) at MySqlHelper.ExecuteDataset(MySqlConnection connection, CommandType commandType, String commandText, MySqlParameter[] commandParameters) in d:\live_code\Naokon\App_Code\DataLinkLayer\ODBCHelper.cs:line 488 at MySqlHelper.ExecuteDataset(MySqlConnection connection, CommandType commandType, String commandText) in d:\live_code\Naokon\App_Code\DataLinkLayer\ODBCHelper.cs:line 460 at StockReports.GetDataTable(String strQuery) in d:\live_code\Naokon\App_Code\BuisnessLogic\Finance\StockReports.cs:line 566 at PatientLabSearch.Search(String LabNo, String UHID_hosp, String IPDNo_hosp, String RegNo, String PName, String CentreID, String dtFrom, String dtTo, String Dept, String Status, String PhoneNo, String Mobile, String refrdby, String Ptype, String TimeFrm, String TimeTo, String FromLabNo, String ToLabNo, String PanelID, String CardNoFrom, String CardNoTo, String InvestigationID, String isUrgent, String slidenumber, String BarCodeNo, String SearchByDate, String OutLab, String OutCentre, String CPTCode, String ColourCode, String CardNo, String _CheckCount, String PrintFlag, String _action, String TestCentre, String DispatchNo, Int32 IsIntimateToDoctor, Int32 IsIntimateToPatient, Int32 IsIntimateToNhPanel, Int32 IsDocumentPending, String CovidStatus) in d:\live_code\Naokon\Design\Lab\Services\PatientLabSearch.asmx:line 1175 Error On Machine : NAOKON-LIS Error Machine IP Address : 10.0.0.100