Always Failed When Microsoft Dynamic AX Client

Posted on Posted in ERP, Microsoft

On this article, I want to share my experience with Microsoft Dynamic AX 2009 Client on Windows 7

AX-Error

I had an error below:

[code] === Setup logging started: 1/2/2014 10:54:19 AM ===
Running file: "C:UsersADMINI~1AppDataLocalTempAxSetupAxSetup.exe" RelatedFilesDir="C:Usersdewi.yartiDesktop1-DynamicsAX2009"
AxSetup version number: 5.0.593.0
Microsoft Windows NT 6.1.7601 Service Pack 1 (32 bit)
Computer Name
——Administrator
Interactive: True

RelatedFilesDir=C:Usersdewi.yartiDesktop1-DynamicsAX2009
Property RelatedFilesDir set to: ‘C:Usersdewi.yartiDesktop1-DynamicsAX2009’
Property SetupLanguage set to: ‘EN’

=== Loading parameters from the command line or a parameter file ===
Initializing log file: C:ProgramDataMicrosoftDynamics AXDynamics AX Setup Logs2014-01-02 10-54-19DynamicsSetupLog.txt

=== Starting evaluation of existing installation state ===
MSI file: Components32.msi Installed: False
MSI file: ClientHelp.msi Installed: False

=== Checking parameters ===
Property InstallPath set to: ‘C:Program FilesMicrosoft Dynamics AX50’

=== Starting UI phase ===
Property AcceptLicenseTerms set to: ‘1’
Property BypassWarnings set to: ‘0’
Property RunMode set to: ‘Custom’
Property BypassWarnings set to: ‘0’
Property InstallClientUI set to: ‘1’
Performing prerequisite validation: DhtmlEd
Performing prerequisite validation: VC++ SP1
Performing prerequisite validation: VC++ SP1
Property InstallPath set to: ‘C:Program FilesMicrosoft Dynamics AX50’
Property ClientLanguage set to: ‘EN-US’
Property ClientHelpLanguages set to: ‘EN-US’
Property ClientAosServer set to: ‘——‘
Property AosInstanceName set to: ‘——‘
Property AosPort set to: ‘—-‘

=== Starting execution phase ===
=== Setting up Components ===
Launching MSI: /i "C:UsersDesktop1-DynamicsAX2009MsiComponents32Components32.msi" /qb-! /l*v "C:ProgramDataMicrosoftDynamics AXDynamics AX Setup Logs2014-01-02 10-54-19Components32 Log.txt" DIRECTEXECUTE=1 SETUPLANGUAGE=EN INSTALLDIR="C:Program FilesMicrosoft Dynamics AX50" INSTALLDIR32="C:Program FilesMicrosoft Dynamics AX50" ADDLOCAL="ClientUI,ClientConfig"
An error occurred during setup of Components.
For more information see: C:ProgramDataMicrosoftDynamics AXDynamics AX Setup Logs2014-01-02 10-54-19Components32 Log.txt
Additional information may be available in the InstallLog files under: C:Program FilesMicrosoft Dynamics AX50Setup
Following are messages from the MSI actions log file Microsoft.Dynamics.Setup.Components.InstallLog, which could include earlier messages, (check the date):
Installing assembly ‘C:Program FilesMicrosoft Dynamics AX50SetupMicrosoft.Dynamics.Setup.Components.dll’.
Affected parameters are:
setuplanguage = EN
action = install
clientbindir = C:Program FilesMicrosoft Dynamics AX50ClientBin#
feature = ClientUI
installtype = notransaction
assemblypath = C:Program FilesMicrosoft Dynamics AX50SetupMicrosoft.Dynamics.Setup.Components.dll
logfile = C:Program FilesMicrosoft Dynamics AX50SetupMicrosoft.Dynamics.Setup.Components.InstallLog

>>Install: Client Start 1/2/2014 10:55:21 AM
>>Install: Unregistering file ‘C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.ReportingServices.dll’
>>Install: C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm.exe "C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.ReportingServices.dll" /unregister
>>Install: Microsoft (R) .NET Framework Assembly Registration Utility 4.0.30319.1
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Types un-registered successfully

>>Install: Registering or configuring file: ‘C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.ReportingServices.dll’
>>Install: C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm.exe "C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.ReportingServices.dll" /tlb /codebase
>>Install: Microsoft (R) .NET Framework Assembly Registration Utility 4.0.30319.1
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Types registered successfully
Assembly exported to ‘C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.ReportingServices.tlb’, and the type library was registered successfully

>>Install: Unregistering file ‘C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.ElsterTransferHandler.dll’
>>Install: C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm.exe "C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.ElsterTransferHandler.dll" /unregister
>>Install: Microsoft (R) .NET Framework Assembly Registration Utility 4.0.30319.1
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Types un-registered successfully

>>Install: Registering or configuring file: ‘C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.ElsterTransferHandler.dll’
>>Install: C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm.exe "C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.ElsterTransferHandler.dll" /tlb /codebase
>>Install: Microsoft (R) .NET Framework Assembly Registration Utility 4.0.30319.1
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Types registered successfully
Assembly exported to ‘C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.ElsterTransferHandler.tlb’, and the type library was registered successfully

>>Install: Unregistering file ‘C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.Framework.Expression.AxExpressionBuilder.dll’
>>Install: C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm.exe "C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.Framework.Expression.AxExpressionBuilder.dll" /unregister
>>Install: Microsoft (R) .NET Framework Assembly Registration Utility 4.0.30319.1
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Types un-registered successfully

>>Install: Registering or configuring file: ‘C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.Framework.Expression.AxExpressionBuilder.dll’
>>Install: C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm.exe "C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.Framework.Expression.AxExpressionBuilder.dll" /tlb /codebase
>>Install: Microsoft (R) .NET Framework Assembly Registration Utility 4.0.30319.1
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Types registered successfully
Assembly exported to ‘C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.Framework.Expression.AxExpressionBuilder.tlb’, and the type library was registered successfully

>>Install: Unregistering file ‘C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.Framework.DirectoryView.dll’
>>Install: C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm.exe "C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.Framework.DirectoryView.dll" /unregister
>>Install: Microsoft (R) .NET Framework Assembly Registration Utility 4.0.30319.1
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Types un-registered successfully

>>Install: Registering or configuring file: ‘C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.Framework.DirectoryView.dll’
>>Install: C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm.exe "C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.Framework.DirectoryView.dll" /tlb /codebase
>>Install: Microsoft (R) .NET Framework Assembly Registration Utility 4.0.30319.1
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Types registered successfully
Type library exporter warning processing ‘Microsoft.Dynamics.Framework.DirectoryView.IDirPartyDirectoryNode, Microsoft.Dynamics.Framework.DirectoryView’. Warning: The type had one or more duplicate DISPIDs specified. The duplicate DISPIDs were ignored.
Assembly exported to ‘C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.Framework.DirectoryView.tlb’, and the type library was registered successfully

>>Install: Unregistering file ‘C:Program FilesMicrosoft Dynamics AXCommonMindKeyGroup.MindKey.Wheel.dll’
>>Install: C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm.exe "C:Program FilesMicrosoft Dynamics AXCommonMindKeyGroup.MindKey.Wheel.dll" /unregister
>>Install: Microsoft (R) .NET Framework Assembly Registration Utility 4.0.30319.1
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

RegAsm : error RA0000 : Could not load file or assembly ‘System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.

>>Install: During Setup of an error occurred. Program run: C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm.exe. Parameters: "C:Program FilesMicrosoft Dynamics AXCommonMindKeyGroup.MindKey.Wheel.dll" /unregister
>>Install: Registering or configuring file: ‘C:Program FilesMicrosoft Dynamics AXCommonMindKeyGroup.MindKey.Wheel.dll’
>>Install: C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm.exe "C:Program FilesMicrosoft Dynamics AXCommonMindKeyGroup.MindKey.Wheel.dll" /tlb /codebase
>>Install: Microsoft (R) .NET Framework Assembly Registration Utility 4.0.30319.1
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

RegAsm : error RA0000 : Could not load file or assembly ‘System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.

>>Install: During Setup of Client an error occurred. Program run: C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm.exe. Parameters: "C:Program FilesMicrosoft Dynamics AXCommonMindKeyGroup.MindKey.Wheel.dll" /tlb /codebase
>>Install: Error during Setup:
>>Install: An error occurred during the Client install custom action step within the Microsoft Dynamics AX components installer. For details, see the previous messages in the log.
>>Install: During Setup of Client an error occurred. Program run: C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm.exe. Parameters: "C:Program FilesMicrosoft Dynamics AXCommonMindKeyGroup.MindKey.Wheel.dll" /tlb /codebase
>>Install: at Microsoft.Dynamics.Setup.InstallCommonMisc.RunProcess(String fileName, String args, String displayName)
at Microsoft.Dynamics.Setup.InstallCommonMisc.Regasm(String versionOfRegasmToRun, String dll, String displayName)
at Microsoft.Dynamics.Setup.InstallCommonMisc.Regasm(String dll, String displayName)
at Microsoft.Dynamics.Setup.ClientUI.Install(InstallDriver installDriver)
at Microsoft.Dynamics.Setup.InstallDriver.Install(IDictionary stateSaver)
>>Install: Client End 1/2/2014 10:55:22 AM

Rolling back assembly ‘C:Program FilesMicrosoft Dynamics AX50SetupMicrosoft.Dynamics.Setup.Components.dll’.
Affected parameters are:
setuplanguage = EN
action = rollback
clientbindir = C:Program FilesMicrosoft Dynamics AX50ClientBin#
feature = ClientUI
installtype = notransaction
assemblypath = C:Program FilesMicrosoft Dynamics AX50SetupMicrosoft.Dynamics.Setup.Components.dll
logfile = C:Program FilesMicrosoft Dynamics AX50SetupMicrosoft.Dynamics.Setup.Components.InstallLog

>>Rollback: Client Start 1/2/2014 10:55:22 AM
>>Rollback: Attempting to remove Client which may have been partially or fully installed
>>Rollback: Unregistering file ‘C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.ReportingServices.dll’
>>Rollback: C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm.exe "C:Program FilesMicrosoft Dynamics AX50ClientBinMicrosoft.Dynamics.ReportingServices.dll" /unregister
>>Rollback: Microsoft (R) .NET Framework Assembly Registration Utility 4.0.30319.1
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Types un-registered successfully

>>Rollback: C:Program FilesMicrosoft Dynamics AX50ClientBinax32.exe -unregserver
>>Rollback:

>>Rollback: Client End 1/2/2014 10:55:24 AM

=== Setup was canceled or failed. For details see the previous messages in the log.

=== Setup logging ended: 1/2/2014 10:55:55 AM ErrorLevel/ExitCode: ‘1’ ===
[/code]
After analyzing the error, I guess the .NET framework 4.0 is used by another application. I try to uninstall .Net framework first, after that I reinstall the Microsoft Dynamic AX 2009.
Maybe you will be afraid how about the another application that used .Net Framework.
No problem, because after install Microsoft Dynamic AX 2009 completely, your computer will be applied the .Net Framework.

Thanks, lets try.. :)

Leave a Reply

Your email address will not be published. Required fields are marked *