2022-08-19 02:00:14.3502 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) at SilSolver.WEB.Services.SecurityService.GetUserAuthorizedProjectIds() at SilSolver.WEB.Services.SecurityService.AssertHasAccessToProject(Int32 projectId) at SilSolver.BLL.ProjectService.GetProject(Int32 ProjectId) at SilSolver.WEB.ProtectiveFunctionHTML.LoadProtectiveFunction(Int32 Pid) 2022-08-19 02:00:14.6470 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) at SilSolver.WEB.Services.SecurityService.GetUserAuthorizedProjectIds() at SilSolver.WEB.Services.SecurityService.HasAccessToProtectiveFunction(Int32 protectiveFunctionId) at SilSolver.WEB.Services.SecurityService.AssertHasAccessToProtectiveFunction(Int32 protectiveFunctionId) at SilSolver.BLL.ProtectiveFunctionService.GetReduntant(Int32 ProtectiveId) 2022-08-19 02:00:14.6470 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) at SilSolver.WEB.ProtectiveFunctionHTML.LoadReduntant(Int32 ProtectiveFunction_FK) 2022-08-19 02:01:59.4616 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) 2022-08-19 02:21:02.7623 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) 2022-08-19 02:39:07.5446 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) 2022-08-19 02:39:16.6855 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) 2022-08-19 02:39:24.2637 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) 2022-08-19 02:39:33.7361 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) 2022-08-19 02:39:44.0801 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) 2022-08-19 02:54:16.2214 System.UriFormatException: Invalid URI: The hostname could not be parsed. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at System.Uri..ctor(String uriString) at System.Web.Util.UriUtil.BuildUriImpl(String scheme, String serverName, String port, String path, String queryString, Boolean useLegacyRequestUrlGeneration) at System.Web.HttpRequest.BuildUrl(Func`1 pathAccessor) at System.Web.HttpRequest.get_Url() at System.Web.HttpRequestWrapper.get_Url() at System.Web.Http.WebHost.HttpControllerHandler.ConvertRequest(HttpContextBase httpContextBase, IHostBufferPolicySelector policySelector) at System.Web.Http.WebHost.HttpControllerHandler.ConvertRequest(HttpContextBase httpContextBase) at System.Web.Http.WebHost.Routing.HttpContextBaseExtensions.GetOrCreateHttpRequestMessage(HttpContextBase context) at System.Web.Http.WebHost.Routing.HttpRouteExceptionHandler.d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) at System.Web.HttpTaskAsyncHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) System.UriFormatException: Invalid URI: The hostname could not be parsed. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at System.Uri..ctor(String uriString) at System.Web.Util.UriUtil.BuildUriImpl(String scheme, String serverName, String port, String path, String queryString, Boolean useLegacyRequestUrlGeneration) at System.Web.HttpRequest.BuildUrl(Func`1 pathAccessor) at System.Web.HttpRequest.get_Url() at System.Web.HttpRequestWrapper.get_Url() at System.Web.Http.WebHost.HttpControllerHandler.ConvertRequest(HttpContextBase httpContextBase, IHostBufferPolicySelector policySelector) at System.Web.Http.WebHost.HttpControllerHandler.ConvertRequest(HttpContextBase httpContextBase) at System.Web.Http.WebHost.Routing.HttpContextBaseExtensions.GetOrCreateHttpRequestMessage(HttpContextBase context) at System.Web.Http.WebHost.Routing.HttpRouteExceptionHandler.d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) at System.Web.HttpTaskAsyncHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 2022-08-19 05:22:15.2348 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) 2022-08-19 06:16:14.4324 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) 2022-08-19 07:01:29.6672 Edit button clicked. 2022-08-19 07:07:48.5031 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) 2022-08-19 07:08:02.2751 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) 2022-08-19 07:08:22.5428 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) 2022-08-19 07:08:59.2883 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) 2022-08-19 07:09:41.3583 Edit button clicked. 2022-08-19 07:10:08.7713 Edit button clicked. 2022-08-19 07:10:10.6620 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) 2022-08-19 07:12:06.8934 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) 2022-08-19 07:16:07.9426 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39503, A1O1, D21 ). 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 (39503, A1O1, D21 ). 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:7c847bc5-8635-4e26-8fc0-2ea5fcb5cee7 Error Number:2601,State:1,Class:14 2022-08-19 07:16:08.0051 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39503, A1O1, D21 ). 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 (39503, A1O1, D21 ). 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) ClientConnectionId:7c847bc5-8635-4e26-8fc0-2ea5fcb5cee7 Error Number:2601,State:1,Class:14 2022-08-19 07:16:08.0051 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39503, A1O1, D21 ). 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 (39503, A1O1, D21 ). 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) 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) ClientConnectionId:7c847bc5-8635-4e26-8fc0-2ea5fcb5cee7 Error Number:2601,State:1,Class:14 2022-08-19 07:21:13.3647 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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:e9e87c86-ad6a-4f2b-b869-a36cb648f45b Error Number:8134,State:1,Class:16 2022-08-19 07:21:13.3647 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) ClientConnectionId:e9e87c86-ad6a-4f2b-b869-a36cb648f45b Error Number:8134,State:1,Class:16 2022-08-19 07:21:13.3647 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) 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) ClientConnectionId:e9e87c86-ad6a-4f2b-b869-a36cb648f45b Error Number:8134,State:1,Class:16 2022-08-19 07:50:21.2674 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) 2022-08-19 07:50:33.7364 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) 2022-08-19 07:50:51.3930 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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:e9e87c86-ad6a-4f2b-b869-a36cb648f45b Error Number:8134,State:1,Class:16 2022-08-19 07:50:51.3930 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) ClientConnectionId:e9e87c86-ad6a-4f2b-b869-a36cb648f45b Error Number:8134,State:1,Class:16 2022-08-19 07:50:51.3930 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) 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) ClientConnectionId:e9e87c86-ad6a-4f2b-b869-a36cb648f45b Error Number:8134,State:1,Class:16 2022-08-19 07:55:00.9886 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39509, A1O2, D22 ). 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 (39509, A1O2, D22 ). 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:1c671544-aa43-4e0f-be1f-8c71c7b7d804 Error Number:2601,State:1,Class:14 2022-08-19 07:55:01.0043 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39509, A1O2, D22 ). 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 (39509, A1O2, D22 ). 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) ClientConnectionId:1c671544-aa43-4e0f-be1f-8c71c7b7d804 Error Number:2601,State:1,Class:14 2022-08-19 07:55:01.0043 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39509, A1O2, D22 ). 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 (39509, A1O2, D22 ). 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) at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) ClientConnectionId:1c671544-aa43-4e0f-be1f-8c71c7b7d804 Error Number:2601,State:1,Class:14 2022-08-19 07:56:58.9697 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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:e9e87c86-ad6a-4f2b-b869-a36cb648f45b Error Number:8134,State:1,Class:16 2022-08-19 07:56:58.9853 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) ClientConnectionId:e9e87c86-ad6a-4f2b-b869-a36cb648f45b Error Number:8134,State:1,Class:16 2022-08-19 07:56:58.9853 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) 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) ClientConnectionId:e9e87c86-ad6a-4f2b-b869-a36cb648f45b Error Number:8134,State:1,Class:16 2022-08-19 07:57:54.0844 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39509, INP2, D33 ). 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 (39509, INP2, D33 ). 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:e9e87c86-ad6a-4f2b-b869-a36cb648f45b Error Number:2601,State:1,Class:14 2022-08-19 07:57:54.1001 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39509, INP2, D33 ). 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 (39509, INP2, D33 ). 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) ClientConnectionId:e9e87c86-ad6a-4f2b-b869-a36cb648f45b Error Number:2601,State:1,Class:14 2022-08-19 07:57:54.1001 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39509, INP2, D33 ). 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 (39509, INP2, D33 ). 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) at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) ClientConnectionId:e9e87c86-ad6a-4f2b-b869-a36cb648f45b Error Number:2601,State:1,Class:14 2022-08-19 07:58:05.8190 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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:f2e0b9aa-5c24-4308-b6f6-a711eee1b404 Error Number:8134,State:1,Class:16 2022-08-19 07:58:05.8190 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) ClientConnectionId:f2e0b9aa-5c24-4308-b6f6-a711eee1b404 Error Number:8134,State:1,Class:16 2022-08-19 07:58:05.8190 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) 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) ClientConnectionId:f2e0b9aa-5c24-4308-b6f6-a711eee1b404 Error Number:8134,State:1,Class:16 2022-08-19 08:00:56.3867 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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:e9e87c86-ad6a-4f2b-b869-a36cb648f45b Error Number:8134,State:1,Class:16 2022-08-19 08:00:56.3867 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) ClientConnectionId:e9e87c86-ad6a-4f2b-b869-a36cb648f45b Error Number:8134,State:1,Class:16 2022-08-19 08:00:56.4023 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) 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) ClientConnectionId:e9e87c86-ad6a-4f2b-b869-a36cb648f45b Error Number:8134,State:1,Class:16 2022-08-19 08:01:58.1945 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) 2022-08-19 08:02:29.5255 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) 2022-08-19 08:03:14.5548 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) 2022-08-19 08:03:38.7271 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39503, INP2, D32 ). 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 (39503, INP2, D32 ). 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:384d24bc-b00f-4e62-8aa6-fcdbcad96753 Error Number:2601,State:1,Class:14 2022-08-19 08:03:38.7428 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39503, INP2, D32 ). 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 (39503, INP2, D32 ). 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) ClientConnectionId:384d24bc-b00f-4e62-8aa6-fcdbcad96753 Error Number:2601,State:1,Class:14 2022-08-19 08:03:38.7428 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39503, INP2, D32 ). 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 (39503, INP2, D32 ). 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) 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) ClientConnectionId:384d24bc-b00f-4e62-8aa6-fcdbcad96753 Error Number:2601,State:1,Class:14 2022-08-19 08:04:27.4514 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) 2022-08-19 08:04:34.3577 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39503, INP2, 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 (39503, INP2, 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:a2d940d4-93e0-4058-9368-23aadb9164f1 Error Number:2601,State:1,Class:14 2022-08-19 08:04:34.3577 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39503, INP2, 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 (39503, INP2, 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) ClientConnectionId:a2d940d4-93e0-4058-9368-23aadb9164f1 Error Number:2601,State:1,Class:14 2022-08-19 08:04:34.3577 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39503, INP2, 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 (39503, INP2, 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) at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) ClientConnectionId:a2d940d4-93e0-4058-9368-23aadb9164f1 Error Number:2601,State:1,Class:14 2022-08-19 08:05:41.4374 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) 2022-08-19 08:05:53.4446 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) 2022-08-19 08:07:25.2972 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) 2022-08-19 08:07:36.8130 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) 2022-08-19 08:07:51.4710 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) 2022-08-19 08:07:58.2055 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) 2022-08-19 08:08:06.4088 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) 2022-08-19 08:08:29.4255 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) 2022-08-19 08:08:29.9880 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) 2022-08-19 08:08:38.9100 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) 2022-08-19 08:08:49.7071 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) 2022-08-19 08:09:01.9768 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) 2022-08-19 08:09:34.6071 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) 2022-08-19 08:09:36.2634 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39514, 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 (39514, 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:384d24bc-b00f-4e62-8aa6-fcdbcad96753 Error Number:2601,State:1,Class:14 2022-08-19 08:09:36.2634 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39514, 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 (39514, 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) ClientConnectionId:384d24bc-b00f-4e62-8aa6-fcdbcad96753 Error Number:2601,State:1,Class:14 2022-08-19 08:09:36.2634 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39514, 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 (39514, 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) at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) ClientConnectionId:384d24bc-b00f-4e62-8aa6-fcdbcad96753 Error Number:2601,State:1,Class:14 2022-08-19 08:09:51.4823 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) 2022-08-19 08:10:00.5156 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) 2022-08-19 08:10:00.5937 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) 2022-08-19 08:10:09.2066 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) 2022-08-19 08:10:26.5838 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) 2022-08-19 08:11:03.1235 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) 2022-08-19 08:11:10.8268 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) 2022-08-19 08:11:33.7335 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) 2022-08-19 08:11:45.3611 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) 2022-08-19 08:14:30.4919 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) 2022-08-19 08:15:45.6829 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39515, 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 (39515, 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:384d24bc-b00f-4e62-8aa6-fcdbcad96753 Error Number:2601,State:1,Class:14 2022-08-19 08:15:45.6829 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39515, 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 (39515, 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) ClientConnectionId:384d24bc-b00f-4e62-8aa6-fcdbcad96753 Error Number:2601,State:1,Class:14 2022-08-19 08:15:45.6829 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39515, 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 (39515, 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) at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) ClientConnectionId:384d24bc-b00f-4e62-8aa6-fcdbcad96753 Error Number:2601,State:1,Class:14 2022-08-19 08:19:32.0376 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) 2022-08-19 08:29:32.1131 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) 2022-08-19 08:29:51.5665 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) 2022-08-19 08:30:13.4887 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) 2022-08-19 08:31:20.1173 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) 2022-08-19 08:33:37.2003 System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Exception: Unauthorized at SilSolver.WEB.Services.SecurityService.AssertHasAccessToProject(Int32 projectId) at SilSolver.BLL.ProtectiveFunctionService.DT_GetProtectiveFunction_By_ProjectKey(Int32 ProjectId) at SilSolver.WEB.ProjectEdit.Load_ProtectiveFunction_Grid() at SilSolver.WEB.ProjectEdit.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.projectedit_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Exception: Unauthorized at SilSolver.WEB.Services.SecurityService.AssertHasAccessToProject(Int32 projectId) at SilSolver.BLL.ProtectiveFunctionService.DT_GetProtectiveFunction_By_ProjectKey(Int32 ProjectId) at SilSolver.WEB.ProjectEdit.Load_ProtectiveFunction_Grid() at SilSolver.WEB.ProjectEdit.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.projectedit_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 2022-08-19 08:33:39.9192 System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Exception: Unauthorized at SilSolver.WEB.Services.SecurityService.AssertHasAccessToProject(Int32 projectId) at SilSolver.BLL.ProtectiveFunctionService.DT_GetProtectiveFunction_By_ProjectKey(Int32 ProjectId) at SilSolver.WEB.ProjectEdit.Load_ProtectiveFunction_Grid() at SilSolver.WEB.ProjectEdit.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.projectedit_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Exception: Unauthorized at SilSolver.WEB.Services.SecurityService.AssertHasAccessToProject(Int32 projectId) at SilSolver.BLL.ProtectiveFunctionService.DT_GetProtectiveFunction_By_ProjectKey(Int32 ProjectId) at SilSolver.WEB.ProjectEdit.Load_ProtectiveFunction_Grid() at SilSolver.WEB.ProjectEdit.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.projectedit_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 2022-08-19 08:33:58.7531 System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Exception: Unauthorized at SilSolver.WEB.Services.SecurityService.AssertHasAccessToProject(Int32 projectId) at SilSolver.BLL.ProtectiveFunctionService.DT_GetProtectiveFunction_By_ProjectKey(Int32 ProjectId) at SilSolver.WEB.ProjectEdit.Load_ProtectiveFunction_Grid() at SilSolver.WEB.ProjectEdit.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.projectedit_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Exception: Unauthorized at SilSolver.WEB.Services.SecurityService.AssertHasAccessToProject(Int32 projectId) at SilSolver.BLL.ProtectiveFunctionService.DT_GetProtectiveFunction_By_ProjectKey(Int32 ProjectId) at SilSolver.WEB.ProjectEdit.Load_ProtectiveFunction_Grid() at SilSolver.WEB.ProjectEdit.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.projectedit_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 2022-08-19 08:37:23.2809 The remote host closed the connection. The error code is 0x80070057. System.Web.HttpException (0x80070057): The remote host closed the connection. The error code is 0x80070057. at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect) at System.Web.Hosting.IIS7WorkerRequest.ExplicitFlush() at System.Web.HttpResponse.Flush(Boolean finalFlush, Boolean async) at System.Web.HttpResponse.Flush() at SilSolver.WEB.Printing.SilPdfDocument.WriteToResponse(HttpResponse response) at SilSolver.WEB.ProjectEdit.PfDocumentationButtonClick(Object sender, EventArgs e) 2022-08-19 08:39:30.6274 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39525, 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 (39525, 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:acb36da5-5799-402d-9f2e-a8ee9adfbd20 Error Number:2601,State:1,Class:14 2022-08-19 08:39:30.6274 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39525, 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 (39525, 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) ClientConnectionId:acb36da5-5799-402d-9f2e-a8ee9adfbd20 Error Number:2601,State:1,Class:14 2022-08-19 08:39:30.6274 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39525, 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 (39525, 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) at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) ClientConnectionId:acb36da5-5799-402d-9f2e-a8ee9adfbd20 Error Number:2601,State:1,Class:14 2022-08-19 08:41:11.0042 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) 2022-08-19 08:41:13.5199 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) 2022-08-19 08:44:52.5244 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) 2022-08-19 09:01:51.4222 Thread was being aborted. System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.AbortCurrentThread() at System.Web.HttpResponse.End() at SilSolver.WEB.Printing.ZippedDoc.WriteToResponse(HttpResponse response) at SilSolver.WEB.ProjectEdit.Print_Reports_Click(Object sender, EventArgs e) 2022-08-19 09:03:34.0866 Thread was being aborted. System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.AbortCurrentThread() at System.Web.HttpResponse.End() at SilSolver.WEB.Printing.ZippedDoc.WriteToResponse(HttpResponse response) at SilSolver.WEB.ProjectEdit.Print_Reports_Click(Object sender, EventArgs e) 2022-08-19 09:04:19.9684 Thread was being aborted. System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.AbortCurrentThread() at System.Web.HttpResponse.End() at SilSolver.WEB.Printing.ZippedDoc.WriteToResponse(HttpResponse response) at SilSolver.WEB.ProjectEdit.Print_Reports_Click(Object sender, EventArgs e) 2022-08-19 09:16:10.6670 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.ImportProcess.Import_File(String directoryPath, String fileName, Int32 userId, Int32 areaId) 2022-08-19 09:23:50.1599 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.ImportProcess.Import_File(String directoryPath, String fileName, Int32 userId, Int32 areaId) 2022-08-19 09:29:19.9041 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39567, INP1, D33 ). 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 (39567, INP1, D33 ). 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:9a80c0e1-adc0-4166-b678-48d3b442bb2c Error Number:2601,State:1,Class:14 2022-08-19 09:29:19.9197 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39567, INP1, D33 ). 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 (39567, INP1, D33 ). 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) ClientConnectionId:9a80c0e1-adc0-4166-b678-48d3b442bb2c Error Number:2601,State:1,Class:14 2022-08-19 09:29:19.9197 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39567, INP1, D33 ). 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 (39567, INP1, D33 ). 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) 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) ClientConnectionId:9a80c0e1-adc0-4166-b678-48d3b442bb2c Error Number:2601,State:1,Class:14 2022-08-19 09:29:20.0603 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39567, INP1, D33 ). 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 (39567, INP1, D33 ). 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:9a80c0e1-adc0-4166-b678-48d3b442bb2c Error Number:2601,State:1,Class:14 2022-08-19 09:29:20.0760 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39567, INP1, D33 ). 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 (39567, INP1, D33 ). 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) ClientConnectionId:9a80c0e1-adc0-4166-b678-48d3b442bb2c Error Number:2601,State:1,Class:14 2022-08-19 09:29:20.0760 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39567, INP1, D33 ). 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 (39567, INP1, D33 ). 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) 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) ClientConnectionId:9a80c0e1-adc0-4166-b678-48d3b442bb2c Error Number:2601,State:1,Class:14 2022-08-19 09:31:17.5737 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39531, INP1, 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 (39531, INP1, 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:9687fa54-8510-445a-a8ec-d3a524402e29 Error Number:2601,State:1,Class:14 2022-08-19 09:31:17.5737 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39531, INP1, 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 (39531, INP1, 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_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) ClientConnectionId:9687fa54-8510-445a-a8ec-d3a524402e29 Error Number:2601,State:1,Class:14 2022-08-19 09:31:17.5737 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39531, INP1, 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 (39531, INP1, 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_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) ClientConnectionId:9687fa54-8510-445a-a8ec-d3a524402e29 Error Number:2601,State:1,Class:14 2022-08-19 09:33:25.8110 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) 2022-08-19 09:33:37.3893 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) 2022-08-19 09:34:32.0078 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39567, 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 (39567, 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:b3be30cd-4187-4eed-aad8-10297fa78264 Error Number:2601,State:1,Class:14 2022-08-19 09:34:32.0078 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39567, 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 (39567, 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) ClientConnectionId:b3be30cd-4187-4eed-aad8-10297fa78264 Error Number:2601,State:1,Class:14 2022-08-19 09:34:32.0078 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39567, 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 (39567, 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) at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) ClientConnectionId:b3be30cd-4187-4eed-aad8-10297fa78264 Error Number:2601,State:1,Class:14 2022-08-19 09:37:58.5633 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39572, INP1, D22 ). 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 (39572, INP1, D22 ). 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:9a80c0e1-adc0-4166-b678-48d3b442bb2c Error Number:2601,State:1,Class:14 2022-08-19 09:37:58.5633 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39572, INP1, D22 ). 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 (39572, INP1, D22 ). 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) ClientConnectionId:9a80c0e1-adc0-4166-b678-48d3b442bb2c Error Number:2601,State:1,Class:14 2022-08-19 09:37:58.5633 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39572, INP1, D22 ). 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 (39572, INP1, D22 ). 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) 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) ClientConnectionId:9a80c0e1-adc0-4166-b678-48d3b442bb2c Error Number:2601,State:1,Class:14 2022-08-19 09:44:20.2111 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39575, INP1, D22 ). 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 (39575, INP1, D22 ). 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:9a4f0e16-4074-4180-bd67-59ca0df1c033 Error Number:2601,State:1,Class:14 2022-08-19 09:44:20.2267 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39575, INP1, D22 ). 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 (39575, INP1, D22 ). 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) ClientConnectionId:9a4f0e16-4074-4180-bd67-59ca0df1c033 Error Number:2601,State:1,Class:14 2022-08-19 09:44:20.2267 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39575, INP1, D22 ). 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 (39575, INP1, D22 ). 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) at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) ClientConnectionId:9a4f0e16-4074-4180-bd67-59ca0df1c033 Error Number:2601,State:1,Class:14 2022-08-19 09:45:08.5603 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39578, INP1, 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 (39578, INP1, 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:9a80c0e1-adc0-4166-b678-48d3b442bb2c Error Number:2601,State:1,Class:14 2022-08-19 09:45:08.5760 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39578, INP1, 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 (39578, INP1, 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_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) ClientConnectionId:9a80c0e1-adc0-4166-b678-48d3b442bb2c Error Number:2601,State:1,Class:14 2022-08-19 09:45:08.5760 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39578, INP1, 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 (39578, INP1, 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_ProtectiveFunctionForPasteData(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 PM_Id, Int32 userid) at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) ClientConnectionId:9a80c0e1-adc0-4166-b678-48d3b442bb2c Error Number:2601,State:1,Class:14 2022-08-19 09:46:16.4710 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) 2022-08-19 09:46:31.8789 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) 2022-08-19 09:47:55.9338 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) 2022-08-19 09:51:39.6310 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.ImportProcess.Import_File(String directoryPath, String fileName, Int32 userId, Int32 areaId) 2022-08-19 09:55:36.2668 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39600, INP1, D21 ). 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 (39600, INP1, D21 ). 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:9a4f0e16-4074-4180-bd67-59ca0df1c033 Error Number:2601,State:1,Class:14 2022-08-19 09:55:36.2668 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39600, INP1, D21 ). 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 (39600, INP1, D21 ). 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) ClientConnectionId:9a4f0e16-4074-4180-bd67-59ca0df1c033 Error Number:2601,State:1,Class:14 2022-08-19 09:55:36.2825 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39600, INP1, D21 ). 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 (39600, INP1, D21 ). 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) at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) ClientConnectionId:9a4f0e16-4074-4180-bd67-59ca0df1c033 Error Number:2601,State:1,Class:14 2022-08-19 09:59:02.6491 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.ImportProcess.Import_File(String directoryPath, String fileName, Int32 userId, Int32 areaId) 2022-08-19 10:11:32.6776 Thread was being aborted. System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.AbortCurrentThread() at System.Web.HttpResponse.End() at SilSolver.WEB.ProjectEdit.ExportConfirmButtonClick(Object sender, EventArgs e) 2022-08-19 10:15:49.2424 Thread was being aborted. System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.AbortCurrentThread() at System.Web.HttpResponse.End() at SilSolver.WEB.Printing.ZippedDoc.WriteToResponse(HttpResponse response) at SilSolver.WEB.ProjectEdit.Print_Reports_Click(Object sender, EventArgs e) 2022-08-19 10:30:08.8559 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39619, 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 (39619, 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:3fbb797f-0f64-462f-b1c0-1edb25255197 Error Number:2601,State:1,Class:14 2022-08-19 10:30:08.8559 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39619, 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 (39619, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) ClientConnectionId:3fbb797f-0f64-462f-b1c0-1edb25255197 Error Number:2601,State:1,Class:14 2022-08-19 10:30:08.8559 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39619, 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 (39619, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) 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) ClientConnectionId:3fbb797f-0f64-462f-b1c0-1edb25255197 Error Number:2601,State:1,Class:14 2022-08-19 10:33:42.6299 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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:82b65e4a-c716-4d45-9289-9b15cc4b4f25 Error Number:8134,State:1,Class:16 2022-08-19 10:33:42.6299 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) ClientConnectionId:82b65e4a-c716-4d45-9289-9b15cc4b4f25 Error Number:8134,State:1,Class:16 2022-08-19 10:33:42.6299 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) 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) ClientConnectionId:82b65e4a-c716-4d45-9289-9b15cc4b4f25 Error Number:8134,State:1,Class:16 2022-08-19 10:33:47.8644 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39631, 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 (39631, 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:4b4667af-b0ed-4597-ae14-4379a93bc2bf Error Number:2601,State:1,Class:14 2022-08-19 10:33:47.8644 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39631, 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 (39631, 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) ClientConnectionId:4b4667af-b0ed-4597-ae14-4379a93bc2bf Error Number:2601,State:1,Class:14 2022-08-19 10:33:47.8644 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39631, 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 (39631, 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) at SilSolver.WEB.ProtectiveFunctionHTML.BindPasteSaveDevice(String Source, Int32 PrimaryId, String input, String ConfigType, String functionid, Int32 Pid, String deviceposition, Int32 DataSheetId) ClientConnectionId:4b4667af-b0ed-4597-ae14-4379a93bc2bf Error Number:2601,State:1,Class:14 2022-08-19 10:34:00.4740 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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:d13cc010-f16c-4279-bc0f-2dd64b467537 Error Number:8134,State:1,Class:16 2022-08-19 10:34:00.4740 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) ClientConnectionId:d13cc010-f16c-4279-bc0f-2dd64b467537 Error Number:8134,State:1,Class:16 2022-08-19 10:34:00.4740 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) 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) ClientConnectionId:d13cc010-f16c-4279-bc0f-2dd64b467537 Error Number:8134,State:1,Class:16 2022-08-19 10:36:17.7620 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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:4b4667af-b0ed-4597-ae14-4379a93bc2bf Error Number:8134,State:1,Class:16 2022-08-19 10:36:17.7620 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) ClientConnectionId:4b4667af-b0ed-4597-ae14-4379a93bc2bf Error Number:8134,State:1,Class:16 2022-08-19 10:36:17.7620 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) 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) ClientConnectionId:4b4667af-b0ed-4597-ae14-4379a93bc2bf Error Number:8134,State:1,Class:16 2022-08-19 10:40:04.7218 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) 2022-08-19 10:40:30.4879 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39641, 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 (39641, 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:f32e587e-15f7-4be3-8ad8-39fc468e76c4 Error Number:2601,State:1,Class:14 2022-08-19 10:40:30.4879 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39641, 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 (39641, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) ClientConnectionId:f32e587e-15f7-4be3-8ad8-39fc468e76c4 Error Number:2601,State:1,Class:14 2022-08-19 10:40:30.4879 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39641, 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 (39641, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) 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) ClientConnectionId:f32e587e-15f7-4be3-8ad8-39fc468e76c4 Error Number:2601,State:1,Class:14 2022-08-19 10:40:35.9411 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39641, 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 (39641, 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:f32e587e-15f7-4be3-8ad8-39fc468e76c4 Error Number:2601,State:1,Class:14 2022-08-19 10:40:35.9411 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39641, 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 (39641, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) ClientConnectionId:f32e587e-15f7-4be3-8ad8-39fc468e76c4 Error Number:2601,State:1,Class:14 2022-08-19 10:40:35.9411 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39641, 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 (39641, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) 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) ClientConnectionId:f32e587e-15f7-4be3-8ad8-39fc468e76c4 Error Number:2601,State:1,Class:14 2022-08-19 10:40:39.5193 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39641, 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 (39641, 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:f32e587e-15f7-4be3-8ad8-39fc468e76c4 Error Number:2601,State:1,Class:14 2022-08-19 10:40:39.5193 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39641, 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 (39641, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) ClientConnectionId:f32e587e-15f7-4be3-8ad8-39fc468e76c4 Error Number:2601,State:1,Class:14 2022-08-19 10:40:39.5193 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39641, 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 (39641, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) 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) ClientConnectionId:f32e587e-15f7-4be3-8ad8-39fc468e76c4 Error Number:2601,State:1,Class:14 2022-08-19 10:40:46.7572 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) 2022-08-19 10:40:56.8831 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) 2022-08-19 10:40:58.3675 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39641, 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 (39641, 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:3fbb797f-0f64-462f-b1c0-1edb25255197 Error Number:2601,State:1,Class:14 2022-08-19 10:40:58.3675 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39641, 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 (39641, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) ClientConnectionId:3fbb797f-0f64-462f-b1c0-1edb25255197 Error Number:2601,State:1,Class:14 2022-08-19 10:40:58.3675 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39641, 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 (39641, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) 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) ClientConnectionId:3fbb797f-0f64-462f-b1c0-1edb25255197 Error Number:2601,State:1,Class:14 2022-08-19 10:41:14.0294 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39641, 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 (39641, 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:82b65e4a-c716-4d45-9289-9b15cc4b4f25 Error Number:2601,State:1,Class:14 2022-08-19 10:41:14.0450 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39641, 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 (39641, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) ClientConnectionId:82b65e4a-c716-4d45-9289-9b15cc4b4f25 Error Number:2601,State:1,Class:14 2022-08-19 10:41:14.0450 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39641, 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 (39641, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) 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) ClientConnectionId:82b65e4a-c716-4d45-9289-9b15cc4b4f25 Error Number:2601,State:1,Class:14 2022-08-19 10:41:24.8577 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) 2022-08-19 10:43:41.3010 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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:f32e587e-15f7-4be3-8ad8-39fc468e76c4 Error Number:8134,State:1,Class:16 2022-08-19 10:43:41.3010 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) ClientConnectionId:f32e587e-15f7-4be3-8ad8-39fc468e76c4 Error Number:8134,State:1,Class:16 2022-08-19 10:43:41.3010 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) 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) ClientConnectionId:f32e587e-15f7-4be3-8ad8-39fc468e76c4 Error Number:8134,State:1,Class:16 2022-08-19 10:43:52.0044 Thread was being aborted. System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.AbortCurrentThread() at System.Web.HttpResponse.End() at SilSolver.WEB.ProjectMain.Btn_ProjectExportNow_Click(Object sender, EventArgs e) 2022-08-19 10:45:39.6187 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39634, 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 (39634, 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:f32e587e-15f7-4be3-8ad8-39fc468e76c4 Error Number:2601,State:1,Class:14 2022-08-19 10:45:39.6343 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39634, 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 (39634, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) ClientConnectionId:f32e587e-15f7-4be3-8ad8-39fc468e76c4 Error Number:2601,State:1,Class:14 2022-08-19 10:45:39.6343 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39634, 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 (39634, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) 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) ClientConnectionId:f32e587e-15f7-4be3-8ad8-39fc468e76c4 Error Number:2601,State:1,Class:14 2022-08-19 10:46:26.9165 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) 2022-08-19 10:47:13.5580 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) 2022-08-19 10:47:31.3865 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39646, 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 (39646, 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:163b9dd4-fb30-4030-84eb-4764f82d1a81 Error Number:2601,State:1,Class:14 2022-08-19 10:47:31.3865 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39646, 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 (39646, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) ClientConnectionId:163b9dd4-fb30-4030-84eb-4764f82d1a81 Error Number:2601,State:1,Class:14 2022-08-19 10:47:31.3865 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39646, 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 (39646, 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_ProtectiveFunctionForData(PT_ProtectiveFunction oPT_ProtectiveFunction) 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) ClientConnectionId:163b9dd4-fb30-4030-84eb-4764f82d1a81 Error Number:2601,State:1,Class:14 2022-08-19 10:49:05.9704 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) 2022-08-19 10:49:54.3832 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.ImportProcess.Import_File(String directoryPath, String fileName, Int32 userId, Int32 areaId) 2022-08-19 10:52:01.2644 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) 2022-08-19 10:54:55.6953 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) 2022-08-19 10:55:08.6800 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) 2022-08-19 10:57:52.5026 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39651, A1O2, 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 (39651, A1O2, 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:82b65e4a-c716-4d45-9289-9b15cc4b4f25 Error Number:2601,State:1,Class:14 2022-08-19 10:57:52.5183 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39651, A1O2, 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 (39651, A1O2, 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) ClientConnectionId:82b65e4a-c716-4d45-9289-9b15cc4b4f25 Error Number:2601,State:1,Class:14 2022-08-19 10:57:52.5183 Cannot insert duplicate key row in object 'dbo.PT_ProtectiveFunction' with unique index 'idx_UniquePTProtective'. The duplicate key value is (39651, A1O2, 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 (39651, A1O2, 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) 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) ClientConnectionId:82b65e4a-c716-4d45-9289-9b15cc4b4f25 Error Number:2601,State:1,Class:14 2022-08-19 11:10:10.3809 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) 2022-08-19 11:29:34.5347 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) 2022-08-19 11:29:47.7414 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) 2022-08-19 11:30:15.9605 Thread was being aborted. System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.AbortCurrentThread() at System.Web.HttpResponse.End() at SilSolver.WEB.ProjectMain.Btn_ProjectExportNow_Click(Object sender, EventArgs e) 2022-08-19 11:30:22.8825 Thread was being aborted. System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.AbortCurrentThread() at System.Web.HttpResponse.End() at SilSolver.WEB.ProjectMain.Btn_ProjectExportNow_Click(Object sender, EventArgs e) 2022-08-19 11:42:24.5460 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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:82b65e4a-c716-4d45-9289-9b15cc4b4f25 Error Number:8134,State:1,Class:16 2022-08-19 11:42:24.5460 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) ClientConnectionId:82b65e4a-c716-4d45-9289-9b15cc4b4f25 Error Number:8134,State:1,Class:16 2022-08-19 11:42:24.5460 Divide by zero error encountered. System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered. 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) 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) ClientConnectionId:82b65e4a-c716-4d45-9289-9b15cc4b4f25 Error Number:8134,State:1,Class:16 2022-08-19 11:48:08.2430 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) at SilSolver.WEB.Services.SecurityService.GetUserAuthorizedProjectIds() at SilSolver.WEB.Services.SecurityService.AssertHasAccessToProject(Int32 projectId) at SilSolver.BLL.ProjectService.GetProject(Int32 ProjectId) at SilSolver.WEB.ProtectiveFunctionHTML.LoadProtectiveFunction(Int32 Pid) 2022-08-19 11:48:08.4461 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) at SilSolver.WEB.Services.SecurityService.GetUserAuthorizedProjectIds() at SilSolver.WEB.Services.SecurityService.HasAccessToProtectiveFunction(Int32 protectiveFunctionId) at SilSolver.WEB.Services.SecurityService.AssertHasAccessToProtectiveFunction(Int32 protectiveFunctionId) at SilSolver.BLL.ProtectiveFunctionService.GetReduntant(Int32 ProtectiveId) 2022-08-19 11:48:08.4461 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) at SilSolver.WEB.ProtectiveFunctionHTML.LoadReduntant(Int32 ProtectiveFunction_FK) 2022-08-19 15:53:23.3644 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.ImportProcess.Import_File(String directoryPath, String fileName, Int32 userId, Int32 areaId) 2022-08-19 20:52:29.1475 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) 2022-08-19 21:18:04.7199 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)