EDIT: Problem Solved - It turns out that an unnamed individual in-house upgraded from 10.2.200.x to 10.2.600.x a while back and never disabled the task agents for the old version…I killed the task agents, and disabled the service, and now everything seems to be running perfectly
There are some long log files posted here - I apologize in advance for that. But I am hoping someone can help pinpoint what needs to be done here.
Our live/production is running 10.2.600.6, but it appears that someone loaded up 10.2.600.33 on the App Server. I am not sure if that is the issue or not (and if it is, what needs to do to resolve it with minimal impact on the staff).
Anyways, onto the errors
Error Number One: I am getting this error around 50 times/sec. It shows up in the “Epicor ICE Task Agent Service” logs. It is accompanied by this message: “E10Live: Task Agent has been restarted after encountering an error.”
E10Live: Agent SystemTaskAgent completed with the following error:
Error Detail:
Could not load file or assembly ‘Epicor.ServiceModel, Version=3.2.600.0, Culture=neutral, PublicKeyToken=37a5ccb872c00aec’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Stack Trace:
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError)
at Ice.Common.EpicorFaultDetail.GetExceptionType() in C:_Releases\ICE\RL3.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Exceptions\EpicorFaultDetail.cs:line 129
at Ice.Common.EpicorFaultDetail.GetExceptionInstance() in C:_Releases\ICE\RL3.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Exceptions\EpicorFaultDetail.cs:line 152
at Ice.Common.ExceptionFunctions.GetExceptionFromFault(FaultException1 faultEx) in C:\_Releases\ICE\RL3.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Exceptions\ExceptionFunctions.cs:line 19 at Ice.Common.ExceptionFunctions.GetExceptionFromFault(FaultException
1 ex, DataSet dataSets) in C:_Releases\ICE\RL3.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Exceptions\ExceptionFunctions.cs:line 50
at Epicor.ServiceModel.Channels.ImplBase1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets) in C:\_Releases\ICE\RL3.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Channels\ImplBase.cs:line 751 at Ice.Proxy.Lib.SessionModImpl.HandshakeBaseVersion(Version clientVersion) in C:\_Releases\ICE\RL3.2.200.0\Source\Shared\Contracts\Lib\SessionMod\SessionModImpl.cs:line 563 at Ice.TaskAgentCore.TaskAgent.<>c.<RunAgentWorker>b__23_0(SessionModImpl impl) at Ice.TaskAgentCore.ImplCaller.ImplCaller
1.<>c__DisplayClass4_0.b__0(TImpl impl)
at Ice.TaskAgentCore.ImplCaller.ImplCaller1.Call[TResult](Func
2 doWork, ExceptionBehavior communicationExceptionBehavior, ExceptionBehavior timeoutExceptionBehavior)
at Ice.TaskAgentCore.ImplCaller.ImplCaller1.Call(Action
1 doWork, ExceptionBehavior communicationExceptionBehavior, ExceptionBehavior timeoutExceptionBehavior)
at Ice.TaskAgentCore.TaskAgent.RunAgentWorker(String serviceSettingId, String agentId, String appServerUrl, String userId, String password, String endpointBinding, String dnsIdentity, Int32 operationTimeout, Int32 maxConcurrentTasks, Int32 operationRetryCount, Boolean validateWcfCert, Object state, CancellationToken globalToken, CancellationToken agentToken, Boolean performStartupTasks)
Error Number 2: I am getting the error below around 75 times/sec. It shows up in “Epicor App Server” logs.
Ice.Common.VersionMismatchException: Version mismatch between client (3.2.200.0) and server (3.2.600.0).
at Ice.Services.Lib.SessionModSvc.HandshakeBaseVersion(Version clientVersion) in C:_Releases\ICE\RL10.2.600.0FW\Source\Server\Services\Lib\SessionMod\SessionMod.cs:line 415
at Ice.Services.Lib.SessionModSvcFacade.HandshakeBaseVersion(Version clientVersion) in C:_Releases\ICE\RL10.2.600.0FW\Source\Server\Services\Lib\SessionMod\SessionModSvcFacade.cs:line 579
at SyncInvokeHandshakeBaseVersion(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.600.6FW\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.600.6FW\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 28
I have turned off the task agents that are not part of our production environment, and stopped the app servers for those environments as well. The errors have not slowed down at all.