ExecuteDataCleanedUpQueueProcessingEventTask.ExecuteJob

// Job ID: #99628770
using DPoint.Scheduler.Infrastructure.Tasks;

var executeDataCleanedUpQueueProcessingEventTask = Activate<ExecuteDataCleanedUpQueueProcessingEventTask>();
await executeDataCleanedUpQueueProcessingEventTask.ExecuteJob();

Parameters

CurrentCulture
""
CurrentUICulture
""
RecurringJobId
"ExecuteDataCleanedUpQueueProcessingEventTask"
Time
1734669553

State

12/20/2024 04:40:06 (+48.743s) Failed

An exception occurred during performance of the job.

System.InvalidOperationException

Could not get a value of the job parameter `CurrentCulture`. See inner exception for details.

System.InvalidOperationException: Could not get a value of the job parameter `CurrentCulture`. See inner exception for details.
 ---> System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server)
   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   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 Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
   at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
   at Hangfire.SqlServer.SqlServerConnection.GetJobParameter(String id, String name)
   at Hangfire.Server.PerformContext.GetJobParameter[T](String name)
ClientConnectionId:00000000-0000-0000-0000-000000000000
   --- End of inner exception stack trace ---
   at Hangfire.Server.PerformContext.GetJobParameter[T](String name)
   at Hangfire.CaptureCultureAttribute.OnPerforming(PerformingContext filterContext)
   at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1 tuple)
   at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstance instance, Func`2 action, String message)
   at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfiler profiler, TInstance instance, Action`1 action, String message)
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation)

+963ms Processing

Server:
scheduler-api-9f4b77bfb-t85hz:1
Worker:
6d3532bf

+34ms Enqueued

Triggered by recurring job scheduler

Queue:
default

12/20/2024 04:39:17 Created