@Olga below the 3 category of logs taken from the server
Windows Logs > Application:
All these events in the event log show the same exception message.
RequestPath: /SERVERNAME/api/rpc/Ice.BO.SysAgent/GetByIdForTaskAgent
RequestPath: /SERVERNAME/api/rpc/Ice.BO.ReportMonitor/GetRowsKeepIdleTimeWithBallonInfo
RequestPath: /SERVERNAME/api/rpc/Ice.Lib.RunTask/RunSystemTasks
RequestPath: /SERVERNAME/api/rpc/Ice.BO.ReportMonitor/GetRowsKeepIdleTimeWithBallonInfo
RequestPath: /SERVERNAME/api/rpc/Ice.BO.SysAgent/PurgeTaskHistory
RequestPath: /SERVERNAME/api/rpc/Ice.BO.ReportMonitor/GetRowsKeepIdleTimeWithBallonInfo
RequestPath: /SERVERNAME/api/rpc/Ice.BO.SysAgent/GetByIdForTaskAgent
Category: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware
EventId: 1
SpanId: 62ac0f203edfbd40
TraceId: 54eeb74b626eb57fc0e7121b0a26b083
ParentId: 0000000000000000
RequestId: 80004b75-0004-ec00-b63f-84710c7967bb
RequestPath: /SERVERNAME/api/rpc/Ice.BO.SysAgent/GetByIdForTaskAgent
An unhandled exception has occurred while executing the request.
Exception:
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Epicor.Data.Database.CreateConnection(Boolean open) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.System\Data\Database.cs:line 48
at Epicor.AppServerNotification.DatabaseNotification.InnerBroadcast() in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.System\AppServerNotification\DatabaseNotification.cs:line 51
at Epicor.AppServerNotification.DatabaseNotification.Broadcast() in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.System\AppServerNotification\DatabaseNotification.cs:line 44
at Epicor.Hosting.CallContext.Create(Operation op, UserFileItem user, ISessionBuilder sessionBuilder) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.Ice\Hosting\CallContext.cs:line 132
at Ice.Security.AuthenticationHelper.CheckAccess(String authorizationScheme, String authorizationValue, IEnumerable`1 headers, String clientAddress, String action, Boolean isRpcCall) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.Ice\Security\AuthenticationHelper.cs:line 56
at Ice.Hosting.AspNetCore.Middleware.AuthorizationMiddleware.Invoke(HttpContext context, CurrentCallInformationService currentCallInformation) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Middleware\AuthorizationMiddleware.cs:line 44
at Ice.Hosting.AspNetCore.ETags.ETagMiddleware.Invoke(HttpContext httpContext) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\ETags\ETagMiddleware.cs:line 110
at Ice.Hosting.AspNetCore.ETags.ETagMiddleware.Invoke(HttpContext httpContext) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\ETags\ETagMiddleware.cs:line 110
at Ice.Hosting.AspNetCore.Middleware.DecompressRequestMiddleware.Invoke(HttpContext context) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Middleware\DecompressRequestMiddleware.cs:line 42
at Epicor.RESTApi.Middleware.ApiKeyEnforcerMiddleware.Invoke(HttpContext context) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Middleware\ApiKeyEnforcerMiddleware.cs:line 79
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
Category: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware
EventId: 1
SpanId: ed2a3b68b8d38811
TraceId: 21aeeb534096de830c94a0cb5d8fb4cb
ParentId: 0000000000000000
RequestId: 8000389b-0004-e500-b63f-84710c7967bb
RequestPath: /SERVERNAME/api/rpc/Ice.Lib.RunTask/RunSystemTasks
An unhandled exception has occurred while executing the request.
Exception:
System.Data.Entity.Core.EntityException: The underlying provider failed on Open.
---> System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Epicor.Data.Provider.EpiConnection.Open() in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.System\Data\EpiProvider2\EpiConnection.cs:line 241
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
--- End of inner exception stack trace ---
at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
at Ice.Services.ContextFactory.CreateContext() in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.System\Services\ContextFactory.cs:line 70
at Ice.Services.ContextFactory.CreateContext[TDataContext]() in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.System\Services\ContextFactory.cs:line 39
at Epicor.Hosting.CallContext.CreateSession(Operation op, UserFileItem user, ISessionBuilder sessionBuilder, String companyId) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.Ice\Hosting\CallContext.cs:line 237
at Epicor.Hosting.CallContext.Create(Operation op, UserFileItem user, ISessionBuilder sessionBuilder) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.Ice\Hosting\CallContext.cs:line 132
at Ice.Security.AuthenticationHelper.CheckAccess(String authorizationScheme, String authorizationValue, IEnumerable`1 headers, String clientAddress, String action, Boolean isRpcCall) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.Ice\Security\AuthenticationHelper.cs:line 56
at Ice.Hosting.AspNetCore.Middleware.AuthorizationMiddleware.Invoke(HttpContext context, CurrentCallInformationService currentCallInformation) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Middleware\AuthorizationMiddleware.cs:line 44
at Ice.Hosting.AspNetCore.ETags.ETagMiddleware.Invoke(HttpContext httpContext) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\ETags\ETagMiddleware.cs:line 110
at Ice.Hosting.AspNetCore.ETags.ETagMiddleware.Invoke(HttpContext httpContext) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\ETags\ETagMiddleware.cs:line 110
at Ice.Hosting.AspNetCore.Middleware.DecompressRequestMiddleware.Invoke(HttpContext context) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Middleware\DecompressRequestMiddleware.cs:line 42
at Epicor.RESTApi.Middleware.ApiKeyEnforcerMiddleware.Invoke(HttpContext context) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Middleware\ApiKeyEnforcerMiddleware.cs:line 79
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
Applications and Services Logs > Epicor App Server:
Ice.Common.EpicorServerException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
---> System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Epicor.Data.Database.CreateConnection(Boolean open) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.System\Data\Database.cs:line 48
at Epicor.AppServerNotification.DatabaseNotification.InnerBroadcast() in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.System\AppServerNotification\DatabaseNotification.cs:line 51
at Epicor.AppServerNotification.DatabaseNotification.Broadcast() in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.System\AppServerNotification\DatabaseNotification.cs:line 44
at Epicor.Hosting.CallContext.Create(Operation op, UserFileItem user, ISessionBuilder sessionBuilder) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.Ice\Hosting\CallContext.cs:line 132
at Ice.Security.AuthenticationHelper.CheckAccess(String authorizationScheme, String authorizationValue, IEnumerable`1 headers, String clientAddress, String action, Boolean isRpcCall) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.Ice\Security\AuthenticationHelper.cs:line 56
at Ice.Hosting.AspNetCore.Middleware.AuthorizationMiddleware.Invoke(HttpContext context, CurrentCallInformationService currentCallInformation) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Middleware\AuthorizationMiddleware.cs:line 44
at Ice.Hosting.AspNetCore.ETags.ETagMiddleware.Invoke(HttpContext httpContext) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\ETags\ETagMiddleware.cs:line 110
at Ice.Hosting.AspNetCore.ETags.ETagMiddleware.Invoke(HttpContext httpContext) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\ETags\ETagMiddleware.cs:line 110
at Ice.Hosting.AspNetCore.Middleware.DecompressRequestMiddleware.Invoke(HttpContext context) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Middleware\DecompressRequestMiddleware.cs:line 42
at Epicor.RESTApi.Middleware.ApiKeyEnforcerMiddleware.Invoke(HttpContext context) in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Hosting\AspNetCore\Ice.Hosting.AspNetCore\Middleware\ApiKeyEnforcerMiddleware.cs:line 79
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
--- End of inner exception stack trace ---
Ice.Common.EpicorServerException: The underlying provider failed on Open.
---> System.Data.Entity.Core.EntityException: The underlying provider failed on Open.
---> System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Epicor.Data.Provider.EpiConnection.Open() in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.System\Data\EpiProvider2\EpiConnection.cs:line 241
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
--- End of inner exception stack trace ---
at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
at Ice.Services.ContextFactory.CreateContext() in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.System\Services\ContextFactory.cs:line 70
at Ice.Services.ContextFactory.CreateContext[TDataContext]() in C:\_releases\ICE\ICE4.2.200.21\Source\Server\Framework\Epicor.System\Services\ContextFactory.cs:line 39
at Ice.Services.Lib.RunTaskSvc.SetTaskStatus(String status, Int64 taskNumber, Boolean clearActivityMessage, Boolean isAPRTask) in C:\_releases\ICE\ICE4.2.200.0\Source\Server\Services\Lib\RunTask\RunTask.cs:line 805
at Ice.Services.Lib.RunTaskSvc.InnerRunTask(Int64 ipTaskNum, Boolean suppressTransaction) in C:\_releases\ICE\ICE4.2.200.0\Source\Server\Services\Lib\RunTask\RunTask.cs:line 540
at Ice.Services.Lib.RunTaskSvc.RunTask(Int64 ipTaskNum) in C:\_releases\ICE\ICE4.2.200.0\Source\Server\Services\Lib\RunTask\RunTask.cs:line 328
at Ice.Services.Lib.RunTaskSvcFacade.RunTask(Int64 ipTaskNum) in C:\_releases\ICE\ICE4.2.200.0\Source\Server\Services\Lib\RunTask\RunTaskSvcFacade.cs:line 165
at Microsoft.Extensions.Internal.ObjectMethodExecutor.<>c__DisplayClass33_0.<WrapVoidMethod>b__0(Object target, Object[] parameters)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.VoidResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of inner exception stack trace ---
Applications and Services Logs > Epicor ICE Task Agent Service:
"SERVERNAME": Agent "SystemTaskAgent" completed with the following error:
Error details:
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at Ice.Cloud.ProxyBase`1.CallWithCommunicationFailureRetry(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, RestRpcValueSerializer serializer) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 725
at Ice.Cloud.ProxyBase`1.CallWithMultistepBpmHandling(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 670
at Ice.Cloud.ProxyBase`1.Call(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 649
at Ice.Proxy.BO.SysAgentImpl.GetByIdForTaskAgent(String agentID, Boolean firstPass) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Contracts\BO\SysAgent\SysAgentProxy.cs:line 65
at Ice.TaskAgentCore.ImplCaller.ImplCaller`1.Call[TResult](Func`2 doWork, ExceptionBehavior communicationExceptionBehavior, ExceptionBehavior timeoutExceptionBehavior)
at Ice.TaskAgentCore.ScheduledTaskRunner.QueryAndQueueAvailableSchedules()
at Ice.TaskAgentCore.ScheduledTaskRunner.Process()
at Ice.TaskAgentCore.SequentialAsyncActionRunner.HandleContinuation(Task task, Action action, Action cancelAction, Action`1 exceptionAction)
at Ice.TaskAgentCore.SequentialAsyncActionRunner.<>c__DisplayClass12_0.<RunAfterDelay>b__0(Task task)
at System.Threading.Tasks.Task.Execute()
"SERVERNAME": An error occurred trying to call RunSystemProcess on the application server.
Error details:
Ice.Common.EpicorServerException: The underlying provider failed on Open.
at Ice.Cloud.ProxyBase`1.CallWithCommunicationFailureRetry(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, RestRpcValueSerializer serializer) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 725
at Ice.Cloud.ProxyBase`1.CallWithMultistepBpmHandling(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 670
at Ice.Cloud.ProxyBase`1.Call(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 649
at Ice.Proxy.Lib.RunTaskImpl.RunSystemTasks() in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Contracts\Lib\RunTask\RunTaskProxy.cs:line 49
at Ice.TaskAgentCore.ImplCaller.RunTaskImplCaller`1.<>c__DisplayClass4_0.<Call>b__0(TImpl impl)
at Ice.TaskAgentCore.ImplCaller.RunTaskImplCaller`1.Call[TResult](Func`2 doWork, ExceptionBehavior communicationExceptionBehavior, ExceptionBehavior timeoutExceptionBehavior, Boolean isContinuousProcessingTask)
at Ice.TaskAgentCore.ImplCaller.RunTaskImplCaller`1.Call(Action`1 doWork, ExceptionBehavior communicationExceptionBehavior, ExceptionBehavior timeoutExceptionBehavior, Boolean isContinuousProcessingTask)
at Ice.TaskAgentCore.ServiceCaller.RunTask_RunSystemTasks(ExceptionBehavior communicationExceptionBehavior, ExceptionBehavior timeoutExceptionBehavior)
at Ice.TaskAgentCore.SystemTaskRunner.Process()
at Ice.TaskAgentCore.SequentialAsyncActionRunner.HandleContinuation(Task task, Action action, Action cancelAction, Action`1 exceptionAction)
at Ice.TaskAgentCore.SequentialAsyncActionRunner.<>c__DisplayClass12_0.<RunAfterDelay>b__0(Task task)
at System.Threading.Tasks.Task.Execute()
"SERVERNAME": Following error occurred while purging SysTask records:
Error details:
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at Ice.Cloud.ProxyBase`1.CallWithCommunicationFailureRetry(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, RestRpcValueSerializer serializer) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 725
at Ice.Cloud.ProxyBase`1.CallWithMultistepBpmHandling(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 670
at Ice.Cloud.ProxyBase`1.Call(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 649
at Ice.Proxy.BO.SysAgentImpl.PurgeTaskHistory(Nullable`1 purgeDate) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Contracts\BO\SysAgent\SysAgentProxy.cs:line 83
at Ice.TaskAgentCore.ServiceCaller.<>c__DisplayClass40_0.<SysAgent_PurgeTaskHistory>b__0(SysAgentImpl impl)
at Ice.TaskAgentCore.ImplCaller.ImplCaller`1.<>c__DisplayClass4_0.<Call>b__0(TImpl impl)
at Ice.TaskAgentCore.ImplCaller.ImplCaller`1.Call[TResult](Func`2 doWork, ExceptionBehavior communicationExceptionBehavior, ExceptionBehavior timeoutExceptionBehavior)
at Ice.TaskAgentCore.ImplCaller.ImplCaller`1.Call(Action`1 doWork, ExceptionBehavior communicationExceptionBehavior, ExceptionBehavior timeoutExceptionBehavior)
at Ice.TaskAgentCore.ServiceCaller.SysAgent_PurgeTaskHistory(DateTime purgeDate, ExceptionBehavior communicationExceptionBehavior, ExceptionBehavior timeoutExceptionBehavior)
at Ice.TaskAgentCore.TaskHistoryPurgeRunner.Process()
at Ice.TaskAgentCore.SequentialAsyncActionRunner.HandleContinuation(Task task, Action action, Action cancelAction, Action`1 exceptionAction)
at Ice.TaskAgentCore.SequentialAsyncActionRunner.<>c__DisplayClass12_0.<RunAfterDelay>b__0(Task task)
at System.Threading.Tasks.Task.Execute()
"SERVERNAME": Agent "SystemTaskAgent" completed with the following error:
Error details:
Ice.Common.EpicorServerException: The underlying provider failed on Open.
at Ice.Cloud.ProxyBase`1.CallWithCommunicationFailureRetry(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, RestRpcValueSerializer serializer) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 725
at Ice.Cloud.ProxyBase`1.CallWithMultistepBpmHandling(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 670
at Ice.Cloud.ProxyBase`1.Call(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 649
at Ice.Proxy.BO.SysAgentImpl.GetByIdForTaskAgent(String agentID, Boolean firstPass) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Contracts\BO\SysAgent\SysAgentProxy.cs:line 65
at Ice.TaskAgentCore.ImplCaller.ImplCaller`1.Call[TResult](Func`2 doWork, ExceptionBehavior communicationExceptionBehavior, ExceptionBehavior timeoutExceptionBehavior)
at Ice.TaskAgentCore.ScheduledTaskRunner.QueryAndQueueAvailableSchedules()
at Ice.TaskAgentCore.ScheduledTaskRunner.Process()
at Ice.TaskAgentCore.SequentialAsyncActionRunner.HandleContinuation(Task task, Action action, Action cancelAction, Action`1 exceptionAction)
at Ice.TaskAgentCore.SequentialAsyncActionRunner.<>c__DisplayClass12_0.<RunAfterDelay>b__0(Task task)
at System.Threading.Tasks.Task.Execute()
"SERVERNAME": The following error occurred while purging reports:
Error details:
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at Ice.Cloud.ProxyBase`1.CallWithCommunicationFailureRetry(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, RestRpcValueSerializer serializer) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 725
at Ice.Cloud.ProxyBase`1.CallWithMultistepBpmHandling(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 670
at Ice.Cloud.ProxyBase`1.Call(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 649
at Ice.Proxy.BO.SysAgentImpl.PurgeReports(Nullable`1 purgeDate) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Contracts\BO\SysAgent\SysAgentProxy.cs:line 90
at Ice.TaskAgentCore.ServiceCaller.<>c__DisplayClass39_0.<SysAgent_PurgeReports>b__0(SysAgentImpl impl)
at Ice.TaskAgentCore.ImplCaller.ImplCaller`1.<>c__DisplayClass4_0.<Call>b__0(TImpl impl)
at Ice.TaskAgentCore.ImplCaller.ImplCaller`1.Call[TResult](Func`2 doWork, ExceptionBehavior communicationExceptionBehavior, ExceptionBehavior timeoutExceptionBehavior)
at Ice.TaskAgentCore.ImplCaller.ImplCaller`1.Call(Action`1 doWork, ExceptionBehavior communicationExceptionBehavior, ExceptionBehavior timeoutExceptionBehavior)
at Ice.TaskAgentCore.ServiceCaller.SysAgent_PurgeReports(DateTime purgeDate, ExceptionBehavior communicationExceptionBehavior, ExceptionBehavior timeoutExceptionBehavior)
at Ice.TaskAgentCore.ReportPurgeRunner.Process()
at Ice.TaskAgentCore.SequentialAsyncActionRunner.HandleContinuation(Task task, Action action, Action cancelAction, Action`1 exceptionAction)
at Ice.TaskAgentCore.SequentialAsyncActionRunner.<>c__DisplayClass12_0.<RunAfterDelay>b__0(Task task)
at System.Threading.Tasks.Task.Execute()
"SERVERNAME": Agent "SystemTaskAgent" completed with the following error:
Error details:
Ice.Common.EpicorServerException: The underlying provider failed on Open.
at Ice.Cloud.ProxyBase`1.CallWithCommunicationFailureRetry(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, RestRpcValueSerializer serializer) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 725
at Ice.Cloud.ProxyBase`1.CallWithMultistepBpmHandling(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 670
at Ice.Cloud.ProxyBase`1.Call(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 649
at Ice.Proxy.BO.SysAgentImpl.GetByIdForTaskAgent(String agentID, Boolean firstPass) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Contracts\BO\SysAgent\SysAgentProxy.cs:line 65
at Ice.TaskAgentCore.ImplCaller.ImplCaller`1.Call[TResult](Func`2 doWork, ExceptionBehavior communicationExceptionBehavior, ExceptionBehavior timeoutExceptionBehavior)
at Ice.TaskAgentCore.ScheduledTaskRunner.QueryAndQueueAvailableSchedules()
at Ice.TaskAgentCore.ScheduledTaskRunner.Process()
at Ice.TaskAgentCore.SequentialAsyncActionRunner.HandleContinuation(Task task, Action action, Action cancelAction, Action`1 exceptionAction)
at Ice.TaskAgentCore.SequentialAsyncActionRunner.<>c__DisplayClass12_0.<RunAfterDelay>b__0(Task task)
at System.Threading.Tasks.Task.Execute()