Getting error log of module 'Extension metho'

Getting error log of module 'Extension metho'

  

Hi,

I am getting a error log frequently. The log details is as follows.

Module: Extension metho

Message: The DELETE statement conflicted with the REFERENCE constraint "OSFRK_OSLTM_SYNCUSERS_OSSYS_BPM_PROCESS_PROCESSID". The conflict occurred in database "YJY5LF010", table "dbo.OSLTM_SYNCUSERS", column 'PROCESSID'.
The statement has been terminated.

Stack: The DELETE statement conflicted with the REFERENCE constraint "OSFRK_OSLTM_SYNCUSERS_OSSYS_BPM_PROCESS_PROCESSID". The conflict occurred in database "YJY5LF010", table "dbo.OSLTM_SYNCUSERS", column 'PROCESSID'.
The statement has been terminated.
   at System.Data.SqlClient.SqlConnection.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)
   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 OutSystems.HubEdition.Extensibility.Data.ExecutionService.BaseExecutionService.ExecuteNonQuery(IDbCommand cmd)
   at OutSystems.Internal.Db.Command.ExecuteNonQuery(String description, Boolean isApplication, Boolean skipLog, Boolean applyTransformationsToParameters)
   at OutSystems.HubEdition.RuntimePlatform.ProcessDeletion.DeleteProcesses(Transaction trans)
   at OutSystems.RuntimePublic.Processes.ProcessDeletion.DeleteProcesses()
   at ssLifeTimeEngine.RssExtensionBPT_API.MssProcess_Delete(HeContext heContext, Int32 inParamProcessId)


Sowvik Roy wrote:

Hi,

I am getting a error log frequently. The log details is as follows.

Module: Extension metho

Message: The DELETE statement conflicted with the REFERENCE constraint "OSFRK_OSLTM_SYNCUSERS_OSSYS_BPM_PROCESS_PROCESSID". The conflict occurred in database "YJY5LF010", table "dbo.OSLTM_SYNCUSERS", column 'PROCESSID'.
The statement has been terminated.

Stack: The DELETE statement conflicted with the REFERENCE constraint "OSFRK_OSLTM_SYNCUSERS_OSSYS_BPM_PROCESS_PROCESSID". The conflict occurred in database "YJY5LF010", table "dbo.OSLTM_SYNCUSERS", column 'PROCESSID'.
The statement has been terminated.
   at System.Data.SqlClient.SqlConnection.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)
   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 OutSystems.HubEdition.Extensibility.Data.ExecutionService.BaseExecutionService.ExecuteNonQuery(IDbCommand cmd)
   at OutSystems.Internal.Db.Command.ExecuteNonQuery(String description, Boolean isApplication, Boolean skipLog, Boolean applyTransformationsToParameters)
   at OutSystems.HubEdition.RuntimePlatform.ProcessDeletion.DeleteProcesses(Transaction trans)
   at OutSystems.RuntimePublic.Processes.ProcessDeletion.DeleteProcesses()
   at ssLifeTimeEngine.RssExtensionBPT_API.MssProcess_Delete(HeContext heContext, Int32 inParamProcessId)


Hello Sowvik,

this issue will come if the record you're trying to delete is used as a foreign key on another entity.

Before you delete ProcessId, first you need to delete SyncUsers (and all entites which use ProcessId as foreign key), since these entities has a column named ProcessId and it will cause a constraint.


Lady wrote:

Sowvik Roy wrote:

Hi,

I am getting a error log frequently. The log details is as follows.

Module: Extension metho

Message: The DELETE statement conflicted with the REFERENCE constraint "OSFRK_OSLTM_SYNCUSERS_OSSYS_BPM_PROCESS_PROCESSID". The conflict occurred in database "YJY5LF010", table "dbo.OSLTM_SYNCUSERS", column 'PROCESSID'.
The statement has been terminated.

Stack: The DELETE statement conflicted with the REFERENCE constraint "OSFRK_OSLTM_SYNCUSERS_OSSYS_BPM_PROCESS_PROCESSID". The conflict occurred in database "YJY5LF010", table "dbo.OSLTM_SYNCUSERS", column 'PROCESSID'.
The statement has been terminated.
   at System.Data.SqlClient.SqlConnection.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)
   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 OutSystems.HubEdition.Extensibility.Data.ExecutionService.BaseExecutionService.ExecuteNonQuery(IDbCommand cmd)
   at OutSystems.Internal.Db.Command.ExecuteNonQuery(String description, Boolean isApplication, Boolean skipLog, Boolean applyTransformationsToParameters)
   at OutSystems.HubEdition.RuntimePlatform.ProcessDeletion.DeleteProcesses(Transaction trans)
   at OutSystems.RuntimePublic.Processes.ProcessDeletion.DeleteProcesses()
   at ssLifeTimeEngine.RssExtensionBPT_API.MssProcess_Delete(HeContext heContext, Int32 inParamProcessId)


Hello Sowvik,

this issue will come if the record you're trying to delete is used as a foreign key on another entity.

Before you delete ProcessId, first you need to delete SyncUsers (and all entites which use ProcessId as foreign key), since these entities has a column named ProcessId and it will cause a constraint.


Hi,

I am not deleting ProcessID from my application. I think system internally trying to delete some processid.

Regards,

Sowvik

hi Roy,

I found many these same errors in when i open application management (my environment is the personal cloud) and i have reported to the Outsystems:



regards,

A

Anonymous wrote:

hi Roy,

I found many these same errors in when i open application management (my environment is the personal cloud) and i have reported to the Outsystems:



regards,

A

Hi,

Please provide your question link here.

Regards,

Sowvik