Home > ERP, Microsoft > Always Failed When Microsoft Dynamic AX Client

Always Failed When Microsoft Dynamic AX Client

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:

 === Setup logging started: 1/2/2014 10:54:19 AM ===
Running file: "C:\Users\ADMINI~1\AppData\Local\Temp\AxSetup\AxSetup.exe" RelatedFilesDir="C:\Users\dewi.yarti\Desktop1-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:\Users\dewi.yarti\Desktop1-DynamicsAX2009
Property RelatedFilesDir set to: 'C:\Users\dewi.yarti\Desktop1-DynamicsAX2009\'
Property SetupLanguage set to: 'EN'

=== Loading parameters from the command line or a parameter file ===
Initializing log file: C:\ProgramData\Microsoft\Dynamics AX\Dynamics AX Setup Logs\2014-01-02 10-54-19\DynamicsSetupLog.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 Files\Microsoft Dynamics AX\50'

=== 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 Files\Microsoft Dynamics AX\50'
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:\Users\Desktop1-DynamicsAX2009\Msi\Components32\Components32.msi" /qb-! /l*v "C:\ProgramData\Microsoft\Dynamics AX\Dynamics AX Setup Logs\2014-01-02 10-54-19\Components32 Log.txt" DIRECTEXECUTE=1 SETUPLANGUAGE=EN INSTALLDIR="C:\Program Files\Microsoft Dynamics AX\50" INSTALLDIR32="C:\Program Files\Microsoft Dynamics AX\50" ADDLOCAL="ClientUI,ClientConfig"
An error occurred during setup of Components.
For more information see: C:\ProgramData\Microsoft\Dynamics AX\Dynamics AX Setup Logs\2014-01-02 10-54-19\Components32 Log.txt
Additional information may be available in the InstallLog files under: C:\Program Files\Microsoft Dynamics AX\50\Setup
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 Files\Microsoft Dynamics AX\50\Setup\Microsoft.Dynamics.Setup.Components.dll'.
Affected parameters are:
setuplanguage = EN
action = install
clientbindir = C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\#
feature = ClientUI
installtype = notransaction
assemblypath = C:\Program Files\Microsoft Dynamics AX\50\Setup\Microsoft.Dynamics.Setup.Components.dll
logfile = C:\Program Files\Microsoft Dynamics AX\50\Setup\Microsoft.Dynamics.Setup.Components.InstallLog

>>Install: Client Start 1/2/2014 10:55:21 AM
>>Install: Unregistering file 'C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.Dynamics.ReportingServices.dll'
>>Install: C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe "C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.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 Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.Dynamics.ReportingServices.dll'
>>Install: C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe "C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.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 Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.Dynamics.ReportingServices.tlb', and the type library was registered successfully

>>Install: Unregistering file 'C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.Dynamics.ElsterTransferHandler.dll'
>>Install: C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe "C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.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 Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.Dynamics.ElsterTransferHandler.dll'
>>Install: C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe "C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.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 Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.Dynamics.ElsterTransferHandler.tlb', and the type library was registered successfully

>>Install: Unregistering file 'C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.Dynamics.Framework.Expression.AxExpressionBuilder.dll'
>>Install: C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe "C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.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 Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.Dynamics.Framework.Expression.AxExpressionBuilder.dll'
>>Install: C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe "C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.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 Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.Dynamics.Framework.Expression.AxExpressionBuilder.tlb', and the type library was registered successfully

>>Install: Unregistering file 'C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.Dynamics.Framework.DirectoryView.dll'
>>Install: C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe "C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.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 Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.Dynamics.Framework.DirectoryView.dll'
>>Install: C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe "C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.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 Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.Dynamics.Framework.DirectoryView.tlb', and the type library was registered successfully

>>Install: Unregistering file 'C:\Program Files\Microsoft Dynamics AX\Common\MindKeyGroup.MindKey.Wheel.dll'
>>Install: C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe "C:\Program Files\Microsoft Dynamics AX\Common\MindKeyGroup.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:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe. Parameters: "C:\Program Files\Microsoft Dynamics AX\Common\MindKeyGroup.MindKey.Wheel.dll" /unregister
>>Install: Registering or configuring file: 'C:\Program Files\Microsoft Dynamics AX\Common\MindKeyGroup.MindKey.Wheel.dll'
>>Install: C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe "C:\Program Files\Microsoft Dynamics AX\Common\MindKeyGroup.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:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe. Parameters: "C:\Program Files\Microsoft Dynamics AX\Common\MindKeyGroup.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:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe. Parameters: "C:\Program Files\Microsoft Dynamics AX\Common\MindKeyGroup.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 Files\Microsoft Dynamics AX\50\Setup\Microsoft.Dynamics.Setup.Components.dll'.
Affected parameters are:
setuplanguage = EN
action = rollback
clientbindir = C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\#
feature = ClientUI
installtype = notransaction
assemblypath = C:\Program Files\Microsoft Dynamics AX\50\Setup\Microsoft.Dynamics.Setup.Components.dll
logfile = C:\Program Files\Microsoft Dynamics AX\50\Setup\Microsoft.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 Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.Dynamics.ReportingServices.dll'
>>Rollback: C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe "C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Microsoft.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 Files\Microsoft Dynamics AX\50\Client\Bin\ax32.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' ===

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..🙂

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: