2024-06-27 12:12:12.963 +05:30 3f83f006-e60a-4183-a8af-0ec697cf684e ERR The INSERT statement conflicted with the FOREIGN KEY constraint "FK__t_s_Profi__iMenu__2A164134". The conflict occurred in database "SS0001", table "dbo.t_c_Menu", column 'iId'. Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0. 2024-06-27 12:12:13.007 +05:30 3f83f006-e60a-4183-a8af-0ec697cf684e ERR Database connection error: System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "FK__t_s_Profi__iMenu__2A164134". The conflict occurred in database "SS0001", table "dbo.t_c_Menu", column 'iId'. Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0. 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) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite, String methodName) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Sang.Service.Common.CommonService.CommonEntityService.ExecuteAndFetchOutput(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) at Sang.Security.Api.Repositories.ProfileRepository.<>c__DisplayClass11_0.<b__0>d.MoveNext() in C:\SOURCECODE\Apps\Sang.Security.Api\Sang.Security.Api\Repositories\ProfileRepository.cs:line 209 --- End of stack trace from previous location --- at Sang.Service.Common.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) ClientConnectionId:2064989b-d34f-4a70-8d4e-ada7b1b8f4ac Error Number:50000,State:1,Class:16 2024-06-27 12:12:13.009 +05:30 3f83f006-e60a-4183-a8af-0ec697cf684e ERR The INSERT statement conflicted with the FOREIGN KEY constraint "FK__t_s_Profi__iMenu__2A164134". The conflict occurred in database "SS0001", table "dbo.t_c_Menu", column 'iId'. Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0. 2024-06-27 12:12:13.013 +05:30 3f83f006-e60a-4183-a8af-0ec697cf684e ERR Upsert Failed System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "FK__t_s_Profi__iMenu__2A164134". The conflict occurred in database "SS0001", table "dbo.t_c_Menu", column 'iId'. Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0. 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) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite, String methodName) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Sang.Service.Common.CommonService.CommonEntityService.ExecuteAndFetchOutput(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) at Sang.Security.Api.Repositories.ProfileRepository.<>c__DisplayClass11_0.<b__0>d.MoveNext() in C:\SOURCECODE\Apps\Sang.Security.Api\Sang.Security.Api\Repositories\ProfileRepository.cs:line 209 --- End of stack trace from previous location --- at Sang.Service.Common.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) at Sang.Security.Api.Repositories.ProfileRepository.UpsertProfile(ProfileRequest profile) in C:\SOURCECODE\Apps\Sang.Security.Api\Sang.Security.Api\Repositories\ProfileRepository.cs:line 190 at Sang.Security.Api.Services.ProfileService.UpsertProfile(ProfileRequest profileDetails) in C:\SOURCECODE\Apps\Sang.Security.Api\Sang.Security.Api\Services\ProfileService.cs:line 45 at Sang.Security.Api.Controllers.ProfileController.UpsertProfile(ProfileRequest profileDetails) in C:\SOURCECODE\Apps\Sang.Security.Api\Sang.Security.Api\Controllers\ProfileController.cs:line 159 ClientConnectionId:2064989b-d34f-4a70-8d4e-ada7b1b8f4ac Error Number:50000,State:1,Class:16 2024-06-27 14:49:24.844 +05:30 61538775-dfb5-4d87-acce-1f0452f263e7 ERR The INSERT statement conflicted with the FOREIGN KEY constraint "FK__t_s_Profi__iMenu__2A164134". The conflict occurred in database "SS0001", table "dbo.t_c_Menu", column 'iId'. Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0. 2024-06-27 14:49:24.848 +05:30 61538775-dfb5-4d87-acce-1f0452f263e7 ERR Database connection error: System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "FK__t_s_Profi__iMenu__2A164134". The conflict occurred in database "SS0001", table "dbo.t_c_Menu", column 'iId'. Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0. 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) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite, String methodName) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Sang.Service.Common.CommonService.CommonEntityService.ExecuteAndFetchOutput(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) at Sang.Security.Api.Repositories.ProfileRepository.<>c__DisplayClass11_0.<b__0>d.MoveNext() in C:\SOURCECODE\Apps\Sang.Security.Api\Sang.Security.Api\Repositories\ProfileRepository.cs:line 209 --- End of stack trace from previous location --- at Sang.Service.Common.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) ClientConnectionId:c3ac0e8f-fc69-4f0a-b8aa-72b09472d7cb Error Number:50000,State:1,Class:16 2024-06-27 14:49:24.848 +05:30 61538775-dfb5-4d87-acce-1f0452f263e7 ERR The INSERT statement conflicted with the FOREIGN KEY constraint "FK__t_s_Profi__iMenu__2A164134". The conflict occurred in database "SS0001", table "dbo.t_c_Menu", column 'iId'. Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0. 2024-06-27 14:49:24.850 +05:30 61538775-dfb5-4d87-acce-1f0452f263e7 ERR Upsert Failed System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "FK__t_s_Profi__iMenu__2A164134". The conflict occurred in database "SS0001", table "dbo.t_c_Menu", column 'iId'. Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0. 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) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite, String methodName) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Sang.Service.Common.CommonService.CommonEntityService.ExecuteAndFetchOutput(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) at Sang.Security.Api.Repositories.ProfileRepository.<>c__DisplayClass11_0.<b__0>d.MoveNext() in C:\SOURCECODE\Apps\Sang.Security.Api\Sang.Security.Api\Repositories\ProfileRepository.cs:line 209 --- End of stack trace from previous location --- at Sang.Service.Common.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) at Sang.Security.Api.Repositories.ProfileRepository.UpsertProfile(ProfileRequest profile) in C:\SOURCECODE\Apps\Sang.Security.Api\Sang.Security.Api\Repositories\ProfileRepository.cs:line 190 at Sang.Security.Api.Services.ProfileService.UpsertProfile(ProfileRequest profileDetails) in C:\SOURCECODE\Apps\Sang.Security.Api\Sang.Security.Api\Services\ProfileService.cs:line 45 at Sang.Security.Api.Controllers.ProfileController.UpsertProfile(ProfileRequest profileDetails) in C:\SOURCECODE\Apps\Sang.Security.Api\Sang.Security.Api\Controllers\ProfileController.cs:line 159 ClientConnectionId:c3ac0e8f-fc69-4f0a-b8aa-72b09472d7cb Error Number:50000,State:1,Class:16