Upgraded to TIC 5.1 now getting an Compilation failed. The filename, directory name, or volume label syntax is incorrect

We see this in the log as we try to run many scripts that we have. It's like it doesn't know the userID which I think is causing the error.

Temp Dir = C:\Users\灴湥捩kown\AppData\Local\Temp\

-- 12/5/2019 9:00:39 AM: SOUTH_AZDC_TEMPLATE.log: Setting up environment
-- 12/5/2019 9:00:39 AM: SOUTH_AZDC_TEMPLATE.log: Script run by Toad Data Point 5.1.0.142 as tpenick on PHX07890
-- 12/5/2019 9:00:39 AM: SOUTH_AZDC_TEMPLATE.log: AppDataDir = C:\ProgramData\Quest Software\AutomationScript\root\SOUTH_AZDC_TEMPLATE
-- 12/5/2019 9:00:39 AM: SOUTH_AZDC_TEMPLATE.log: Temp Dir = C:\Users\灴湥捩kown\AppData\Local\Temp
-- 12/5/2019 9:00:39 AM: SOUTH_AZDC_TEMPLATE.log: Build started
-- 12/5/2019 9:00:39 AM: SOUTH_AZDC_TEMPLATE.log: Compiling script
-- 12/5/2019 9:00:39 AM: SOUTH_AZDC_TEMPLATE.log: Start CompileWorkflow
-- 12/5/2019 9:00:39 AM: SOUTH_AZDC_TEMPLATE.log: Set Temp directore under AppData directory
-- 12/5/2019 9:00:39 AM: SOUTH_AZDC_TEMPLATE.log: Temp Dir just before compile = C:\ProgramData\Quest Software\AutomationScript\root\SOUTH_AZDC_TEMPLATE\TEMP
-- 12/5/2019 9:00:39 AM: SOUTH_AZDC_TEMPLATE.log: Before Compile
-- 12/5/2019 9:00:41 AM: SOUTH_AZDC_TEMPLATE.log: Return from CompileWorkflow
-- 12/5/2019 9:00:41 AM: SOUTH_AZDC_TEMPLATE.log: Script has Compiler Errors
-- 12/5/2019 9:00:41 AM: SOUTH_AZDC_TEMPLATE.log: Compilation failed. The filename, directory name, or volume label syntax is incorrect
-- 12/5/2019 9:00:41 AM: SOUTH_AZDC_TEMPLATE.log: Error Column: -1
-- 12/5/2019 9:00:41 AM: SOUTH_AZDC_TEMPLATE.log: Error Line: -1
-- 12/5/2019 9:00:41 AM: SOUTH_AZDC_TEMPLATE.log: Error Number: 348
-- 12/5/2019 9:00:41 AM: SOUTH_AZDC_TEMPLATE.log: Error File Name:
-- 12/5/2019 9:00:41 AM: SOUTH_AZDC_TEMPLATE.log: Native Compiler Return Value 0

hi,

The script is run under user of tpenick, right? May I know what's the value of user environment variable TMP? You may login Windows with user tpenick, run cmd command to open Command Prompt window and then run set tmp to show that environment variable value.

Gavin,

When the ID logs into the server we do see the TMP is set to C:\users???known\AppData\Local\Temp. It looks like his profile is no longer valid either.

You may reset that environment variable value to a correct one or make it empty. I believe that will make the automation script works again.