I am getting the error above when trying to run an automation (.tas file). My automation loops through several values importing data into SQL server (various dates and locations) and has been working for the past year. This worked last month. It gets through the first 119 loops then gives the error above and stops.
Here is what I found in the ExceptionTrace.log:
"
New exception: 4/15/2020 11:45:10 AM
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\martin38\AppData\Local\Temp\1\731482be-ca55-4bb2-9be7-84ad4ea5e541.tmp'.
Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at Quest.FastData.FastTable.GetTempFileName()
at Quest.FastData.FastTable.RowCollection.SerializeRowData(Object data, FastSerialize serializers)
at Quest.FastData.FastTable.RowCollection.<>c__DisplayClass50_0.b__0(Object )Outer exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
Stack trace:
at Quest.FastData.FastTable.RowCollection.Add(Object item)
at Quest.FastData.FastTable.AddRowAccepted(Object data)
at Quest.Toad.ScriptResults.OutputStorageHandler.AddEntry(OutputEventArgs args)
at Quest.Toad.ScriptResults.OutputStorageHandler.NotificationManager_OutputEvent(Object sender, OutputEventArgs args)
at Quest.Toad.Notification.NotificationManager.SendOutput(Object sender, Int32 imageIndex, OutputCategory category, String text)
at Quest.Toad.ImportExport.ImportEngine.WriteLog(String message, DateTime time)
at Quest.Toad.ImportExport.ImportEngine.LogEvent(String message, Object args)
at Quest.Toad.ImportExport.ImportEngine.LogEventCallback(String message, LogEventType eventType, Object args)
at Quest.Toad.ImportExport.ImportData.LogEvent(String message, Object args)
at Quest.Toad.ImportExport.ImportData.SetTransactionAbort()
at Quest.Toad.ImportExport.ImportData.ImportSourceToTarget()
"
If I run the query manually with the arguments that caused this error, it produces data just fine.
Does anyone know what is causing this and why it would have started this month?