VccAutoMailSentJob.GetConsolidatedAutoApprovedMailDetails

// Job ID: #3653264
using OOP.BackgroundJobsManager.Jobs;

var vccAutoMailSentJob = Activate<VccAutoMailSentJob>();
vccAutoMailSentJob.GetConsolidatedAutoApprovedMailDetails();

Properties

CurrentCulture
"en-IN"
CurrentUICulture
"en-US"
RecurringJobId
"2"
Time
1757395058

State

9/9/2025 5:33:20 AM (+1m 19.263s) Failed

An exception occurred during performance of the job.

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.

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.TryOpenInner(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.Open()
   at OOP.BackgroundTask.Orders.SentAutoMailReportVCC.GetAutoApprovedMailDetailsCount(String division, String state) in D:\Projects_2.O\OOP_Git\OOP.BackgroundTask\Orders\SentAutoMailReportVCC.cs:line 652
   at OOP.BackgroundTask.Orders.SentAutoMailReportVCC.SentConsolidatedAutoMailDivisionWise(DataTable dt, String Division, String State, String mailto, String mailcc) in D:\Projects_2.O\OOP_Git\OOP.BackgroundTask\Orders\SentAutoMailReportVCC.cs:line 1102
   at OOP.BackgroundTask.Orders.SentAutoMailReportVCC.SentConsolidatedAutoMailReportForApprovedOrder(DataTable dt) in D:\Projects_2.O\OOP_Git\OOP.BackgroundTask\Orders\SentAutoMailReportVCC.cs:line 1041
   at OOP.BackgroundJobsManager.Jobs.VccAutoMailSentJob.GetConsolidatedAutoApprovedMailDetails() in D:\Projects_2.O\OOP_Git\OOP.BackgroundJobsManager\Jobs\VccAutoMailSentJob.cs:line 120

+9m 18.484s Processing

Server:
pc15:11020
Worker:
673aea26

+5m 3.853s Processing

Server:
pc15:26868
Worker:
6feba604

+27ms Processing

Server:
pc15:6108
Worker:
cfc4caee

+6ms Enqueued

Triggered by recurring job scheduler

9/9/2025 5:17:38 AM Created