2023-04-05 06:55:28.5849 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40255, A1O2, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40255, A1O2, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. 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, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.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 SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) ClientConnectionId:58b5d66e-651f-4586-9cd2-cabd490a5f2c Error Number:2601,State:1,Class:14 2023-04-05 06:55:28.6474 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40255, A1O2, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40255, A1O2, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 648 ClientConnectionId:58b5d66e-651f-4586-9cd2-cabd490a5f2c Error Number:2601,State:1,Class:14 2023-04-05 06:55:28.6474 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40255, A1O2, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40255, A1O2, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 653 at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 1304 ClientConnectionId:58b5d66e-651f-4586-9cd2-cabd490a5f2c Error Number:2601,State:1,Class:14 2023-04-05 07:07:00.7561 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40256, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40256, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. 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, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.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 SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) ClientConnectionId:58b5d66e-651f-4586-9cd2-cabd490a5f2c Error Number:2601,State:1,Class:14 2023-04-05 07:07:00.7561 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40256, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40256, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 648 ClientConnectionId:58b5d66e-651f-4586-9cd2-cabd490a5f2c Error Number:2601,State:1,Class:14 2023-04-05 07:07:00.7561 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40256, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40256, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 653 at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 1304 ClientConnectionId:58b5d66e-651f-4586-9cd2-cabd490a5f2c Error Number:2601,State:1,Class:14 2023-04-05 07:10:34.0051 Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at SilSolver.WEB.Services.SecurityService.GetAuthorizedDescendents(Nullable`1 userAreaPermissions) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services\SecurityService.cs:line 0 at SilSolver.WEB.Services.SecurityService.GetUserAuthorizedProjectIds() in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services\SecurityService.cs:line 241 at SilSolver.WEB.Services.SecurityService.AssertHasAccessToProject(Int32 projectId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services\SecurityService.cs:line 105 at SilSolver.BLL.ProjectService.GetProject(Int32 ProjectId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services\ProjectService.cs:line 76 at SilSolver.WEB.ProtectiveFunctionHTML.LoadProtectiveFunction(Int32 Pid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 2092 2023-04-05 07:10:34.2395 Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at SilSolver.WEB.Services.SecurityService.GetAuthorizedDescendents(Nullable`1 userAreaPermissions) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services\SecurityService.cs:line 0 at SilSolver.WEB.Services.SecurityService.GetUserAuthorizedProjectIds() in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services\SecurityService.cs:line 241 at SilSolver.WEB.Services.SecurityService.HasAccessToProtectiveFunction(Int32 protectiveFunctionId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services\SecurityService.cs:line 114 at SilSolver.WEB.Services.SecurityService.AssertHasAccessToProtectiveFunction(Int32 protectiveFunctionId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services\SecurityService.cs:line 124 at SilSolver.BLL.ProtectiveFunctionService.GetReduntant(Int32 ProtectiveId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services\ProtectiveFunctionService.cs:line 214 2023-04-05 07:10:34.2395 Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at SilSolver.BLL.ProtectiveFunctionService.GetReduntant(Int32 ProtectiveId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services\ProtectiveFunctionService.cs:line 219 at SilSolver.WEB.ProtectiveFunctionHTML.LoadReduntant(Int32 ProtectiveFunction_FK) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 3379 2023-04-05 07:28:32.0653 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40257, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40257, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. 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, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.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 SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) ClientConnectionId:58b5d66e-651f-4586-9cd2-cabd490a5f2c Error Number:2601,State:1,Class:14 2023-04-05 07:28:32.0653 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40257, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40257, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 648 ClientConnectionId:58b5d66e-651f-4586-9cd2-cabd490a5f2c Error Number:2601,State:1,Class:14 2023-04-05 07:28:32.0653 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40257, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40257, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 653 at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 1304 ClientConnectionId:58b5d66e-651f-4586-9cd2-cabd490a5f2c Error Number:2601,State:1,Class:14 2023-04-05 07:32:57.3999 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40257, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40257, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. 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, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.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 SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) ClientConnectionId:58b5d66e-651f-4586-9cd2-cabd490a5f2c Error Number:2601,State:1,Class:14 2023-04-05 07:32:57.3999 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40257, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40257, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 648 ClientConnectionId:58b5d66e-651f-4586-9cd2-cabd490a5f2c Error Number:2601,State:1,Class:14 2023-04-05 07:32:57.3999 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40257, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40257, A1O1, D11 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 653 at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 1304 ClientConnectionId:58b5d66e-651f-4586-9cd2-cabd490a5f2c Error Number:2601,State:1,Class:14 2023-04-05 11:01:10.9759 Value was either too large or too small for an Int16. System.OverflowException: Value was either too large or too small for an Int16. at System.Int16.Parse(String s, NumberStyles style, NumberFormatInfo info) at System.Convert.ToInt16(String value) at SilSolver.WEB.ProtectiveFunctionHTML.SaveSFT_Targets(SFT_Targets data, Int32 Pid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 2926 2023-04-05 15:20:52.6563 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D23 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D23 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. 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, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.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 SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:20:52.7032 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D23 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D23 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 252 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:20:52.7188 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D23 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D23 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 256 at SilSolver.WEB.ProtectiveFunctionHTML.BindAndSaveDevice(String Source, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId, Decimal PositionInput, PSF_ProtectiveFunctionComments psf_ProtectiveFunctionComments, String divId, String voting) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 1257 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:21:11.2924 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D12 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D12 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. 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, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.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 SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:21:11.2924 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D12 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D12 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 648 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:21:11.2924 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D12 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D12 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 653 at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 1304 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:21:11.4365 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D12 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D12 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. 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, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.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 SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:21:11.4365 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D12 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D12 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 648 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:21:11.4365 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D12 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D12 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 653 at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 1304 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:21:19.1744 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. 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, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.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 SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:21:19.1744 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 648 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:21:19.1744 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, A1O1, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 653 at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 1304 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:27:02.9843 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. 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, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.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 SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:27:02.9843 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 648 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:27:02.9843 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 653 at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 1304 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:27:03.0780 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. 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, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.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 SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:27:03.0780 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 648 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:27:03.0780 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 653 at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 1304 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:27:04.2386 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. 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, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.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 SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:27:04.2386 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.DbProviderHelper.FillDataTable(DbDataAdapter dbDataAdapter) at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 648 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:27:04.2386 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (40269, INP2, D13 ). Cannot insert the value NULL into column 'ProtectiveFunctionID_FK', table 'SilSolverV.dbo.PM_ProtectiveFunction'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated. at SilSolver.DAL.PT_ProtectiveFunctionService.AddPT_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 653 at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 1304 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:2601,State:1,Class:14 2023-04-05 15:29:35.3426 Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. System.Data.SqlClient.SqlException (0x80131904): Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. 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.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at SilSolver.DAL.DbProviderHelper.ExecuteNonQuery(DbCommand dbCommand) ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:8115,State:2,Class:16 2023-04-05 15:29:35.3426 Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. System.Data.SqlClient.SqlException (0x80131904): Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. at SilSolver.DAL.DbProviderHelper.ExecuteNonQuery(DbCommand dbCommand) at SilSolver.DAL.PT_ProtectiveFunctionService.CalculationProcedure(Int32 ProtectiveId_FK, String Redundant, Decimal In1Beta, Decimal In2Beta, Decimal In3Beta, Decimal In4Beta, Decimal In5Beta, Decimal In6Beta, Decimal In7Beta, Decimal In8Beta, Decimal In9Beta, Decimal In10Beta, String In1Voting, String In2Voting, String In3Voting, String In4Voting, String In5Voting, String In6Voting, String In7Voting, String In8Voting, String In9Voting, String In10Voting, Int32 UserID, String deviceVersion) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 444 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:8115,State:2,Class:16 2023-04-05 15:29:35.3466 Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. System.Data.SqlClient.SqlException (0x80131904): Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. at SilSolver.DAL.PT_ProtectiveFunctionService.CalculationProcedure(Int32 ProtectiveId_FK, String Redundant, Decimal In1Beta, Decimal In2Beta, Decimal In3Beta, Decimal In4Beta, Decimal In5Beta, Decimal In6Beta, Decimal In7Beta, Decimal In8Beta, Decimal In9Beta, Decimal In10Beta, String In1Voting, String In2Voting, String In3Voting, String In4Voting, String In5Voting, String In6Voting, String In7Voting, String In8Voting, String In9Voting, String In10Voting, Int32 UserID, String deviceVersion) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 454 at SilSolver.WEB.ProtectiveFunctionHTML.Calculation(Int32 Pid, String reduntantvalue, Decimal ccfval1, Decimal ccfval2, Decimal ccfval3, Decimal ccfval4, Decimal ccfval5, Decimal ccfval6, Decimal ccfval7, Decimal ccfval8, Decimal ccfval9, Decimal ccfval10, String inputvoting1, String inputvoting2, String inputvoting3, String inputvoting4, String inputvoting5, String actionvoting1, String actionvoting2, String actionvoting3, String actionvoting4, String actionvoting5) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 2804 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:8115,State:2,Class:16 2023-04-05 15:30:33.1572 Object cannot be cast from DBNull to other types. System.InvalidCastException: Object cannot be cast from DBNull to other types. at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider) at System.Convert.ToInt32(Object value) at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 1308 2023-04-05 15:30:33.7386 Object cannot be cast from DBNull to other types. System.InvalidCastException: Object cannot be cast from DBNull to other types. at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider) at System.Convert.ToInt32(Object value) at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 1308 2023-04-05 15:30:35.0233 Object cannot be cast from DBNull to other types. System.InvalidCastException: Object cannot be cast from DBNull to other types. at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider) at System.Convert.ToInt32(Object value) at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 1308 2023-04-05 15:31:15.5823 Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. System.Data.SqlClient.SqlException (0x80131904): Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. 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.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at SilSolver.DAL.DbProviderHelper.ExecuteNonQuery(DbCommand dbCommand) ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:8115,State:2,Class:16 2023-04-05 15:31:15.5823 Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. System.Data.SqlClient.SqlException (0x80131904): Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. at SilSolver.DAL.DbProviderHelper.ExecuteNonQuery(DbCommand dbCommand) at SilSolver.DAL.PT_ProtectiveFunctionService.CalculationProcedure(Int32 ProtectiveId_FK, String Redundant, Decimal In1Beta, Decimal In2Beta, Decimal In3Beta, Decimal In4Beta, Decimal In5Beta, Decimal In6Beta, Decimal In7Beta, Decimal In8Beta, Decimal In9Beta, Decimal In10Beta, String In1Voting, String In2Voting, String In3Voting, String In4Voting, String In5Voting, String In6Voting, String In7Voting, String In8Voting, String In9Voting, String In10Voting, Int32 UserID, String deviceVersion) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 444 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:8115,State:2,Class:16 2023-04-05 15:31:15.5823 Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. System.Data.SqlClient.SqlException (0x80131904): Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. at SilSolver.DAL.PT_ProtectiveFunctionService.CalculationProcedure(Int32 ProtectiveId_FK, String Redundant, Decimal In1Beta, Decimal In2Beta, Decimal In3Beta, Decimal In4Beta, Decimal In5Beta, Decimal In6Beta, Decimal In7Beta, Decimal In8Beta, Decimal In9Beta, Decimal In10Beta, String In1Voting, String In2Voting, String In3Voting, String In4Voting, String In5Voting, String In6Voting, String In7Voting, String In8Voting, String In9Voting, String In10Voting, Int32 UserID, String deviceVersion) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 454 at SilSolver.WEB.ProtectiveFunctionHTML.Calculation(Int32 Pid, String reduntantvalue, Decimal ccfval1, Decimal ccfval2, Decimal ccfval3, Decimal ccfval4, Decimal ccfval5, Decimal ccfval6, Decimal ccfval7, Decimal ccfval8, Decimal ccfval9, Decimal ccfval10, String inputvoting1, String inputvoting2, String inputvoting3, String inputvoting4, String inputvoting5, String actionvoting1, String actionvoting2, String actionvoting3, String actionvoting4, String actionvoting5) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 2804 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:8115,State:2,Class:16 2023-04-05 15:32:00.9188 Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. System.Data.SqlClient.SqlException (0x80131904): Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. 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.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at SilSolver.DAL.DbProviderHelper.ExecuteNonQuery(DbCommand dbCommand) ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:8115,State:2,Class:16 2023-04-05 15:32:00.9188 Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. System.Data.SqlClient.SqlException (0x80131904): Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. at SilSolver.DAL.DbProviderHelper.ExecuteNonQuery(DbCommand dbCommand) at SilSolver.DAL.PT_ProtectiveFunctionService.CalculationProcedure(Int32 ProtectiveId_FK, String Redundant, Decimal In1Beta, Decimal In2Beta, Decimal In3Beta, Decimal In4Beta, Decimal In5Beta, Decimal In6Beta, Decimal In7Beta, Decimal In8Beta, Decimal In9Beta, Decimal In10Beta, String In1Voting, String In2Voting, String In3Voting, String In4Voting, String In5Voting, String In6Voting, String In7Voting, String In8Voting, String In9Voting, String In10Voting, Int32 UserID, String deviceVersion) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 444 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:8115,State:2,Class:16 2023-04-05 15:32:00.9188 Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. System.Data.SqlClient.SqlException (0x80131904): Arithmetic overflow error converting expression to data type bigint. Arithmetic overflow error converting expression to data type bigint. at SilSolver.DAL.PT_ProtectiveFunctionService.CalculationProcedure(Int32 ProtectiveId_FK, String Redundant, Decimal In1Beta, Decimal In2Beta, Decimal In3Beta, Decimal In4Beta, Decimal In5Beta, Decimal In6Beta, Decimal In7Beta, Decimal In8Beta, Decimal In9Beta, Decimal In10Beta, String In1Voting, String In2Voting, String In3Voting, String In4Voting, String In5Voting, String In6Voting, String In7Voting, String In8Voting, String In9Voting, String In10Voting, Int32 UserID, String deviceVersion) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\Services121\PT_ProtectiveFunctionService.cs:line 454 at SilSolver.WEB.ProtectiveFunctionHTML.Calculation(Int32 Pid, String reduntantvalue, Decimal ccfval1, Decimal ccfval2, Decimal ccfval3, Decimal ccfval4, Decimal ccfval5, Decimal ccfval6, Decimal ccfval7, Decimal ccfval8, Decimal ccfval9, Decimal ccfval10, String inputvoting1, String inputvoting2, String inputvoting3, String inputvoting4, String inputvoting5, String actionvoting1, String actionvoting2, String actionvoting3, String actionvoting4, String actionvoting5) in C:\Users\hunter\source\repos\SIL-Solver\SIL Solver Enterprise\Silsolver\SourceCode\SilSolver.WEB\SilSolver.WEB\ProtectiveFunctionHTML.aspx.cs:line 2804 ClientConnectionId:b40e8420-479f-4340-92cf-81d5ce6a47b6 Error Number:8115,State:2,Class:16 2023-04-05 17:02:36.9083 System.Web.HttpException (0x80004005): The file '/owa/auth/logon.aspx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) System.Web.HttpException (0x80004005): The file '/owa/auth/logon.aspx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)