C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin>axbuild
.exe xppcompileall /aos=01 /altbin="C:\Program Files\Microsoft Dynamics AX\60\Cl
ient\Bin" /workers=4
Microsoft (R) Dynamics AX Build Utility 6.2.1000.4051
Copyright (C) Microsoft Corporation. All rights reserved.
*** Compile all starting at 13.12.2017 11:57:01.
*** Kicking off header compilation (pass 1) with 4 workers.
Unhandled Exception: System.AggregateException: One or more errors occurred. ---
> System.IO.IOException: The directory name is invalid.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Path.InternalGetTempFileName(Boolean checkHost)
at axbuild.Program.<>c__DisplayClass1.<Compile_Headers>b__0(List`1 nodes)
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating
>b__0(Object )
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceled
Exceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationTo
ken cancellationToken)
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int
32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWit
hState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`
1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState
, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithE
verything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Act
ion`1 body)
at axbuild.Program.Compile_Headers(List`1 NodesFirstPass)
at axbuild.Program.CompileAll(Int32 numberOfProcessesPass1, Int32 numberOfPro
cessesPass2and3, SqlConnection modelStoreConnection)
at axbuild.Program.Main(String[] args)
Hi Everybody
Did anyone came across this error when compile and how to fix it?