Server Side Error

I have some workers trying to use the MES and are getting this error. We have tried restarting the machine and reinstalling the MES to that machine. No other machines affected.

Server Side Exception

Session is invalid. Session has either timed out or has been deleted. You must login again to continue.

Exception caught in: Epicor.ServiceModel

Error Detail

Description: Session is invalid. Session has either timed out or has been deleted. You must login again to continue.
Program: Epicor.ServiceModel.dll
Method: .ctor
Line Number: 5
Column Number: 9
Server Trace Stack: at Ice.Common.InvalidSessionException…ctor() in c:_Releases\ICE\3.1.400.19\source\Shared\Framework\Epicor.ServiceModel\Exceptions\InvalidSessionException.cs:line 5
at Ice.Hosting.SessionCache.Get[T](Guid sessionID) in c:_Releases\ICE\3.1.400.19\source\Framework\Epicor.Ice\Hosting\SessionCache.cs:line 31
at Erp.Extensibility.SessionProvider.ErpSessionBuilder.GetSession(Guid sessionID) in c:_Releases\ERP\RL10.1.400.0\Source\Server\Internal\Extensibility\SessionProvider\ErpSessionBuilder.cs:line 31
at Epicor.Hosting.CallContext.Create(Operation op) in c:_Releases\ICE\3.1.400.19\source\Framework\Epicor.Ice\Hosting\CallContext.cs:line 200
at Ice.Security.AuthorizationManager.CheckAccess(OperationContext operationContext, Message& message) in c:_Releases\ICE\3.1.400.19\source\Framework\Epicor.Ice\Security\AuthorizationManager.cs:line 73
at System.ServiceModel.Dispatcher.AuthorizationBehavior.Authorize(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext)
at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext)
at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result)
at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
at System.ServiceModel.Channels.TransportDuplexSessionChannel.TryReceiveAsyncResult.OnReceive(IAsyncResult result)
at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
at System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult.OnReceiveComplete(Object state)
at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state)
at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.Security.NegotiateStream.ProcessFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.ReadCallback(AsyncProtocolRequest asyncRequest)
at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
at System.ServiceModel.Channels.ConnectionStream.IOAsyncResult.OnAsyncIOComplete(Object state)
at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)
at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(SocketError socketError, Int32 bytesTransferred, SocketFlags flags)
at System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

Client Stack Trace

at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets)
at Erp.Proxy.BO.EmpBasicImpl.GetRows(String whereClauseEmpBasic, String whereClauseEmpBasicAttch, String whereClauseEmpLabExpRate, String whereClauseEmpCal, String whereClausePartner, String whereClauseResourceCal, String whereClauseEmpRole, String whereClauseEntityGLC, String whereClauseEmpRoleRt, Int32 pageSize, Int32 absolutePage, Boolean& morePages)
at Erp.Adapters.EmpBasicAdapter.OnGetRows(SearchOptions opts, Boolean& MorePages, String[] whereClauses)
at Ice.Lib.Framework.EpiBaseAdapter.GetRows(SearchOptions opts, Boolean& morePages)
at Ice.Lib.Searches.EpiSearchEngine.SearchUsingAdapterMethod(SearchOptions options)
at Ice.Lib.Searches.EpiSearchEngine.SearchIt(SearchOptions options, DataSet& results, Boolean& usedAdapter)
at Ice.Lib.Searches.EpiSearchEngine.SearchIt(SearchOptions options)
at Ice.Lib.Framework.EpiBaseAdapter.InvokeSearch(SearchOptions opts)
at Erp.Menu.Mes.Transa

How’s the RAM on your SQL Box? I have seen this happen with a but in SSRS which it takes all your RAM and eats it right up… All your RAMS are belong to us :slight_smile:

1 Like

Not sure why, but it cleared up after I bypassed the desktop shortcut icon and went straight to the exe. Then the shortcut worked with no issues. So, could be a ram thing, I’ll have to check in to that. Thanks!

We found this to be the culprit:
image