Problem
Running a MettleCI Task in Bamboo results in an error message similar to
Unable to open file C:\Windows\system32\config\systemprofile\AppData\Local\Temp\mci9115423909078010390.auth
.
The temporary directory (%temp%
) for the current user is in a sub directory of the %windir%\System32
directory, usually caused by running Bamboo or a remote agent Service using the Local System
account. When a 32bit Windows applications (ie. some DataStage clients) are executed on a 64bit Operating System, Windows will redirect the file system path from %windir%\System32
to %windir%\SysWOW64
. This will prevent DataStage clients from accessing temporary files created by MettleCI.
For more information about the Windows File System Redirector, please refer to the Microsoft’s documentation.
Solution
This problem usually occurs when Bamboo or a Bamboo Remote Agent are running as a Windows Service using the Local System
account.
...
Note |
---|
It is strongly recommended that Option 1 is applied where possible - running services under the Local System account can cause problems during DataStage compilation. See MettleCI never completes job compilation for details. |