Message gets displayed when Employee code 1600020 is selected to mail health card Full from Periodic Annual 2017 First
System.Data.SqlClient.SqlException (0x80131904): Arithmetic overflow error for data type tinyint, value = 256. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at Microsoft.Practices.EnterpriseLibrary.Data.Database.DoExecuteScalar(IDbCommand command) at Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteScalar(DbCommand command) at Sapphire.Ohu.DataAccess.Framework.BaseDA.DataBase.ExecuteScalar(DbCommand command) at Sapphire.Ohu.DataAccess.Business.ClinicalInformation.ExaminationDA.ExaminationSetupDB.ModifyHealthReportCount(String StrXML, Int32 SetupId, Int32 OrgId, Boolean IsPrint) at Sapphire.Ohu.BusinessLogic.Business.ClinicalInformation.ExaminationBL.ExaminationSetupService.ModifyHealthReportCount(String StrXML, Int32 SetupId, Int32 OrgId, Boolean IsPrint) at Pages_Examination_ReportCriteria_HealthCardReportCriteria.MailHealthCardFullButton_Click(Object sender, EventArgs e) in d:\Project\ohu\Website\Pages\Examination\ReportCriteria\HealthCardReportCriteria.aspx.cs:line 686 ClientConnectionId:64cb2d04-9917-401f-b424-8ddee91b42d7