SyncAISTargetsJob.ExecuteAsync

// Id: d7fe24b4-d096-44fe-8f8a-97961add42b4
using Hbsa.Navigation.Latincomp.Integration.Worker.Jobs;

var syncAISTargetsJob = Activate<SyncAISTargetsJob>();
await syncAISTargetsJob.ExecuteAsync("py01");

Parameters

RecurringJobId
"py01_LatincompColectAISTargets"
Time
1762646411
CurrentCulture
""
opentelemetry_activity_context
{"$type":"System.Collections.Generic.Dictionary`2[[System.String],[System.String]], mscorlib"}

State

11/09/2025 00:00:13 (+2.248s) Failed

An exception occurred during performance of the job.

System.InvalidOperationException (acqa-latincomp-integration-worker-6fbbd55b49-twpz5:1)

The ConnectionString property has not been initialized.

System.InvalidOperationException: The ConnectionString property has not been initialized.
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Dapper.SqlMapper.QueryAsync[T](IDbConnection cnn, Type effectiveType, CommandDefinition command) in /_/Dapper/SqlMapper.Async.cs:line 433
   at Hbsa.Navigation.Tracker.Infrastructure.Data.Repositories.MappedBoatNameRepository.GetAsync(String tenant) in /_/src/Hbsa.Navigation.Tracker.Infrastructure/Data/Repositories/MappedBoatNameRepository.cs:line 25
   at Hbsa.Navigation.Latincomp.Integration.Worker.Jobs.SyncAISTargetsJob.ExecuteAsync(String tenantId) in /_/src/Hbsa.Navigation.Latincomp.Integration.Worker/Jobs/SyncAISTargetsJob.cs:line 51
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+ <1ms Processing

Server:
acqa-latincomp-integration-worker-6fbbd55b49-twpz5:1
Worker:
1e7f54e5
+2.117sinfo: Total AISTarget to Tenant py01= 393

+ <1ms Enqueued

Triggered by recurring job scheduler

11/09/2025 00:00:11 Created