Good evening, all,
We have been experience this reoccurring error that happens on our application server event log. The only big change that’s happen since this started was we added a new company and site.
Server Side Error
Server Side Exception
EpicorServerException
Correlation ID: c46138e9-41ed-48db-ae0a-ce32a672d522
Description: The target table 'Ice.SysRptLst' of the DML statement cannot have any enabled triggers if the statement contains an OUTPUT clause without INTO clause.
Program: System.Data.dll
Method: OnError
Original Exception Type: SqlException
SQL Line Number: 1
SQL Error Number: 334
Framework Method: BatchedSysRptLstDelete
Framework Line Number: 111
Framework Column Number: 28
Framework Source: BatchedSysRptLstDelete at offset 207 in file:line:column C:\_Releases\ICE\UD10.2.500.17FW\Source\Server\Internal\Lib\TaskLib\RptBase\ReportPurger.cs:111:28
Server Trace Stack: 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.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.ExecuteReader()
at Ice.Core.RptBase.ReportPurger.BatchedSysRptLstDelete(SqlConnection connection, DateTime purgeDate) in C:\_Releases\ICE\UD10.2.500.17FW\Source\Server\Internal\Lib\TaskLib\RptBase\ReportPurger.cs:line 111
at Ice.Core.RptBase.ReportPurger.PurgeReports(DateTime purgeDate) in C:\_Releases\ICE\UD10.2.500.17FW\Source\Server\Internal\Lib\TaskLib\RptBase\ReportPurger.cs:line 64
at Ice.Services.BO.SysAgentSvc.PurgeReports(Nullable`1 purgeDate) in C:\_Releases\ICE\RL10.2.500.0FW\Source\Server\Services\BO\SysAgent\SysAgent.cs:line 418
at Ice.Services.BO.SysAgentSvcFacade.PurgeReports(Nullable`1 purgeDate) in C:\_Releases\ICE\RL10.2.500.0FW\Source\Server\Services\BO\SysAgent\SysAgentSvcFacade.cs:line 264
at SyncInvokePurgeReports(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at Epicor.Hosting.OperationBoundInvoker.InnerInvoke(Object instance, Func`2 func) in C:\_Releases\ICE\UD10.2.500.17FW\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 59
at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func`2 func) in C:\_Releases\ICE\UD10.2.500.17FW\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 28
After this happens, anyone who runs the Inventory WIP/Recon Report or the Work In Process Report experiences these running for many hours without completing. We’ve had a ticket open with Epicor for a week now but I was wonder if anyone else might have an idea of where to troubleshoot.
We can resolve this with a SQL reboot, but this is very perplexing.
Thank you for any help!