Automation job runs fine from TDP, but when I send it to TIC, it errors on second select to file script. This just started happening when we upgraded to 6.1 and it is happening on multiple automation scripts. The error message is:
-- 8/15/2023 6:14:23 AM: PW_Airline_Landing_Stats.log: Beginning export
-- 8/15/2023 6:14:23 AM: PW_Airline_Landing_Stats.log: Get_Landing_Weight_Stats - Tried opening a closed connection on PWPROD (tic_loadprocess) (as of 7/15/2023)
Closed from:
at Quest.Toad.Db.Connection.ForceClose()
at Quest.Toad.Db.Connection.Close()
at Quest.Toad.Workflow.Activities.Database.DatabaseConnectionActivity.CloseConnection()
at System.Workflow.ComponentModel.Activity.MarkClosed() at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
at System.Workflow.Runtime.Scheduler.Run()
at System.Workflow.Runtime.WorkflowExecutor.RunScheduler()
at System.Workflow.Runtime.WorkflowExecutor.RunSome(Object ignored) at System.Workflow.Runtime.Hosting.DefaultWorkflowSchedulerService.WorkItem.Invoke(WorkflowSchedulerService service) at System.Workflow.Runtime.Hosting.DefaultWorkflowSchedulerService.QueueWorkerProcess(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
-- 8/15/2023 6:14:23 AM: PW_Airline_Landing_Stats.log: Tried opening a closed connection on PWPROD (tic_loadprocess) (as of 7/15/2023)