Good Morning,
First things first, we are running 10.1.400.22, in case this is merely a bug.
Came across these errors looking at another post trying to find a detailed error for why our PO’s will not print, but can be print previewed. The report completes successfully, but when looking in the System Monitor, I find the that the last action shows “System error has occurred! Run in preview mode from System Monitor for details.”
Someone suggested in another post that looking on the server at the Event Viewer for Epicor Ice Tack Agent Service errors might help me find the detail. I do not see an error for the print job that I am looking into, but I see that the “System task runner has been stopped” every 20 seconds for all of my environments. Then it restarts. Is this normal? See full error below:
“EpicorLive10: System task runner has been stopped.”
“EpicorLive10: System task runner has been restarted after encountering an error.”
“EpicorLive10: System task runner has been started.”
"EpicorLive10: An error occurred trying to call RunSystemProcess on the application server.
Program Ice.Services.Lib.RunTask raised an unexpected exception with the following message: RunSystemTask: An error occurred trying to run system task TaskAgentExtention:
Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. Refresh ObjectStateManager entries.
Stack Trace:
at System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter)
at System.Data.Objects.ObjectContext.SaveChanges(SaveOptions options)
at Ice.IceDataContext.SaveChanges(SaveOptions options) in c:_Releases\ICE\3.1.400.22\Source\Framework\Epicor.System\Data\IceDataContext.cs:line 328
at Ice.ContextBoundBase1.Complete(Boolean isRoot) in c:\_Releases\ICE\3.1.400.22\Source\Framework\Epicor.Ice\Services\ContextBoundBase.cs:line 81 at Epicor.Hosting.OperationBoundInvoker.InnerInvoke(Object instance, Func
2 func) in c:_Releases\ICE\3.1.400.22\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 62
at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func`2 func) in c:_Releases\ICE\3.1.400.22\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 47
at Ice.Hosting.SystemTaskCaller.ExecuteTasks() in c:_Releases\ICE\3.1.400.22\Source\Framework\Epicor.Ice\Hosting\TaskCaller\SystemTaskCaller.cs:line 78
Stack Trace:
Inner Exception:
Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. Refresh ObjectStateManager entries.
Stack Trace:
at System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter)
at System.Data.Objects.ObjectContext.SaveChanges(SaveOptions options)
at Ice.IceDataContext.SaveChanges(SaveOptions options) in c:_Releases\ICE\3.1.400.22\Source\Framework\Epicor.System\Data\IceDataContext.cs:line 328
at Ice.ContextBoundBase1.Complete(Boolean isRoot) in c:\_Releases\ICE\3.1.400.22\Source\Framework\Epicor.Ice\Services\ContextBoundBase.cs:line 81 at Epicor.Hosting.OperationBoundInvoker.InnerInvoke(Object instance, Func
2 func) in c:_Releases\ICE\3.1.400.22\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 62
at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func`2 func) in c:_Releases\ICE\3.1.400.22\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 47
at Ice.Hosting.SystemTaskCaller.ExecuteTasks() in c:_Releases\ICE\3.1.400.22\Source\Framework\Epicor.Ice\Hosting\TaskCaller\SystemTaskCaller.cs:line 78"
Thanks in advance,
Eric