Hi
I try run axbuild in my database server and got this error, how to fix it :
Unhandled Exception: System.UnauthorizedAccessException: Access to the path 'C:\
Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAx\Log\AOTComp.lo
g' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, I
nt32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions o
ptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolea
n useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean
bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encodin
g, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding
encoding, Boolean checkHost)
at axbuild.Program.CompileAll(Int32 numberOfProcessesPass1, Int32 numberOfPro
cessesPass2and3, SqlConnection modelStoreConnection)
at axbuild.Program.Main(String[] args)
Pre-requisite : I build new development environment using LCS with Test environment topology
I run with this command below :
axbuild.exe xppcompileall /s=01 /altbin="C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin"