Microsoft Dynamics AX 2012 中的 KB 修补程序安装错误

KB-Hotfix installation error in Microsoft Dynamics AX 2012

我正在尝试在 AX 上安装一些知识库,但出现错误。 我检查了用户的权限,一切正常

日志:

=== Setup logging started: 06/05/2020 17:56:03 === Running file: "C:\Users\XXX_IN~1\AppData\Local\Temp\AxSetupSP\AxSetupUI.exe" RelatedFilesDir="C:\Users\xxxxxxxx\Documents\kb" AXSetup version number: 6.3.6000.6729 Microsoft Windows NT 6.2.9200.0 (64 bit) VM-SERV-HOMOLOG DOMAIN\xxxxxxxx Interactive: True

RelatedFilesDir=C:\Users\xxxxxxxx\Documents\kb Property RelatedFilesDir set to: 'C:\Users\xxxxxxxx\Documents\kb' 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 Logs20-05-06 17-56-03\DynamicsSetupLog.txt

=== Starting evaluation of existing installation state === Evaluating installation state of Application Object Server instance 00. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 01. MSI file: ObjectServer64.msi Installed: True Application Object Server instance 1 has been installed with the name 01-XXX_AX60_R3_DB_TEST. Evaluating installation state of Application Object Server instance 02. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 03. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 04. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 05. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 06. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 07. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 08. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 09. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 10. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 11. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 12. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 13. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 14. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 15. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 16. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 17. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 18. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 19. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 20. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 21. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 22. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 23. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 24. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 25. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 26. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 27. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 28. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 29. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 30. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 31. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 32. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 33. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 34. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 35. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 36. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 37. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 38. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 39. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 40. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 41. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 42. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 43. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 44. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 45. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 46. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 47. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 48. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 49. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 50. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 51. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 52. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 53. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 54. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 55. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 56. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 57. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 58. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 59. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 60. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 61. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 62. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 63. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 64. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 65. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 66. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 67. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 68. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 69. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 70. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 71. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 72. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 73. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 74. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 75. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 76. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 77. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 78. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 79. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 80. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 81. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 82. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 83. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 84. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 85. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 86. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 87. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 88. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 89. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 90. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 91. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 92. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 93. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 94. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 95. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 96. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 97. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 98. MSI file: ObjectServer64.msi Installed: False Evaluating installation state of Application Object Server instance 99. MSI file: ObjectServer64.msi Installed: False MSI file: ClientOba64.msi Installed: True MSI file: Components64.msi Installed: True MSI file: HelpServer64.msi Installed: False MSI file: SetupSupport64.msi Installed: True MSI file: TraceParser.msi Installed: False MSI file: MRClient64.msi Installed: False MSI file: MRServer64.msi Installed: False MSI file: USPayroll64.msi Installed: True MSI file: USPayroll32.msi Installed: True MSI file: RapidStartConnectorService.msi Installed: False MSI file: RetailHeadquarters64.msi Installed: True MSI file: RetailChannelDatabase.msi Installed: True MSI file: RetailHardwareStation.msi Installed: False Check if current operating system version is Windows 10 or higher. Yes

MSI file: RetailModernPOS.msi Installed: False MSI file: RetailScaleOutDeployment.msi Installed: False MSI file: RetailSDK.msi Installed: False MSI file: RetailServer.msi Installed: False MSI file: RetailPOS.msi Installed: True MSI file: RetailPOSPlugins.msi Installed: False MSI file: RetailSaltUtility64.msi Installed: True MSI file: CommerceDataExchangeSynchService64.msi Installed: False MSI file: RetailDatabaseUtility.msi Installed: True MSI file: CommerceDataExchangeReal-timeService.msi Installed: True MSI file: CommerceDataExchangeAsyncClient.msi Installed: True MSI file: CommerceDataExchangeAsyncServer.msi Installed: True MSI file: RetailOnlineChannel.msi Installed: False MSI file: CommerceRuntimeSDK.msi Installed: False MSI file: VSTools64.msi Installed: False Previously Installed Component: Application Object Server (AOS) (01-XXX_AX60_R3_DB_TEST) Previously Installed Component: Client Previously Installed Component: Office add-ins Previously Installed Component: Web services on IIS Previously Installed Component: .NET Business Connector Previously Installed Component: Debugger Previously Installed Component: Reporting Services extensions

AxUtil call is complete. Getting known model databases from AOS configuration. Verifying if the model database "XXX_AX60_R3_DB_TEST_model" on server "SERVER-HOMOLOG" can be updated. Using AXUtil to connect to database "XXX_AX60_R3_DB_TEST_model" on server "SERVER-HOMOLOG". Calling AxUtil to get list of installed models. Using AXUtil to connect to database "XXX_AX60_R3_DB_TEST_model" on server "SERVER-HOMOLOG". AxUtil call is complete. Installed models:


Layer: "Sys", name: "Foundation Upgrade", publisher "Microsoft Corporation", version "6.3.164.0", partition "N/A" Layer: "Sys", name: "Foundation", publisher "Microsoft Corporation", version "6.3.164.0", partition "N/A" Layer: "Sys", name: "Foundation Labels", publisher "Microsoft Corporation", version "6.3.164.0", partition "N/A" Layer: "Syp", name: "Hotfix-KB2964763-CL4307967-Foundation", publisher "Microsoft Corporation", version "6.3.164.755", partition "Foundation"

->> Listed here all installed KBs .....

Layer: "Syp", name: "Hotfix-KB4552332-4582330-Foundation", publisher "Microsoft Corporation", version "6.3.6000.9892", partition "Foundation" Layer: "Syp", name: "Hotfix-KB4552334-4582327-Foundation", publisher "Microsoft Corporation", version "6.3.6000.9887", partition "Foundation" Layer: "Syp", name: "Hotfix-KB4552480-4582328-Foundation", publisher "Microsoft Corporation", version "6.3.6000.9888", partition "Foundation"


Found update model(File: C:\Users\xxxxxxxx\Documents\kb\Models\dynamicsax2012r3-kb4531474-syplabels.axmodel, Layer: Syp, Name: SYP Labels, Version: 6.3.6000.9964, Partition: SYP-Labels) Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Found update model(File: C:\Users\xxxxxxxx\Documents\kb\Models\dynamicsax2012r3_cl4582181.axmodel, Layer: Syp, Name: Hotfix-KB4531583-4582181-Foundation, Version: 6.3.6000.9517, Partition: Foundation) Found update model(File: C:\Users\xxxxxxxx\Documents\kb\Models\dynamicsax2012r3_cl4582362.axmodel, Layer: Syp, Name: Hotfix-KB4531474-4582362-Foundation, Version: 6.3.6000.9964, Partition: Foundation) Evaluating applicability requirements for model file: C:\Users\xxxxxxxx\Documents\kb\Models\dynamicsax2012r3-kb4531474-syplabels.axmodel Required model (Layer: SYS, Name: Foundation, Version: 6.3.164.0) is installed: True Update model file is installed: False Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available.

=== Checking parameters === Property InstallPath set to: 'C:\Program Files\Microsoft Dynamics AX' Property InstallPath32Bit set to: 'C:\Program Files (x86)\Microsoft Dynamics AX'

=== Starting UI phase === MSI file: DIXF_Service64.msi Installed: False MSI file: DIXF_AOS64.msi Installed: False MSI file: DIXF_Client64.msi Installed: False Msi C:\Users\xxxxxxxx\Documents\kb\MSI\VSTools64\VSTools64.msi Found False Property ModelDatabaseInstanceName set to: 'SERVER-HOMOLOG:XXX_AX60_R3_DB_TEST_model' Property InstallModelDatabase set to: '1' Property ModelDatabaseInstanceName set to: 'SERVER-HOMOLOG:XXX_AX60_R3_DB_TEST_model' Property InstallModelDatabase set to: '1' Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Model store state cannot be verified. Getting schema build version for database XXX_AX60_R3_DB_TEST_model on server SERVER-HOMOLOG Obtained schema build version string "6.3.6000.9100" Getting contents of model file C:\Users\xxxxxxxx\Documents\kb\Models\dynamicsax2012r3-kb4531474-syplabels.axmodel AxUtil call is complete. Getting contents of model file C:\Users\xxxxxxxx\Documents\kb\Models\dynamicsax2012r3_cl4582181.axmodel AxUtil call is complete. Getting contents of model file C:\Users\xxxxxxxx\Documents\kb\Models\dynamicsax2012r3_cl4582362.axmodel AxUtil call is complete. Examining customized elements. Using AXUtil to connect to database "XXX_AX60_R3_DB_TEST_model" on server "SERVER-HOMOLOG". Getting contents of model VAR Model AxUtil call is complete. Getting contents of model XXX Shared Objects AxUtil call is complete. Getting contents of model Common Interface Application AxUtil call is complete. Getting contents of model MMT AxUtil call is complete. Getting contents of model ToolCommon (Conflict 1) AxUtil call is complete. Getting contents of model ToolCommon (Conflict 2) AxUtil call is complete. Getting contents of model VAP Model AxUtil call is complete. Getting contents of model USR Model AxUtil call is complete. Getting contents of model SecurityDevelopmentTool AxUtil call is complete. Starting to calculate potential conflicts. Finished calculating potential conflicts.

KB4531474: Allocated Charges amounts and FA transactions incorrectly posted when we maintain Charges before PO Confirmation – PO line is a Procurement category KB4531583: Updated depreciation calculation when posting reduction entry with Direct-off type Property AosStart set to: '0' Property InstallOtherModelDatabase set to: '1' Property InstallModelDatabase set to: '1' === Setting up Model Database === Updating model database "XXX_AX60_R3_DB_TEST_model" on server "SERVER-HOMOLOG". Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Update model details metadata not available. Following files will be imported as part of this update: C:\Users\xxxxxxxx\Documents\kb\Models\dynamicsax2012r3-kb4531474-syplabels.axmodel, C:\Users\xxxxxxxx\Documents\kb\Models\dynamicsax2012r3_cl4582181.axmodel, C:\Users\xxxxxxxx\Documents\kb\Models\dynamicsax2012r3_cl4582362.axmodel. Using AXUtil to connect to database "XXX_AX60_R3_DB_TEST_model" on server "SERVER-HOMOLOG". Calling AxUtil to import model file "C:\USERS\xxxxxxxx\DOCUMENTS\kb\MODELS\DYNAMICSAX2012R3_CL4582181.AXMODEL". AxUtil call is complete. AxUtil call returned errors: You cannot import the Foundation (KB4531583) model into a Microsoft layer. Error updating model database: Microsoft.Dynamics.Setup.AxSetupException: AxUtil call returned errors:You cannot import the Foundation (KB4531583) model into a Microsoft layer.

at Microsoft.Dynamics.Setup.Misc.ValidateAxUtilStatus(AxUtilContext context) at Microsoft.Dynamics.Setup.DatabaseSqlModel.DatabaseSqlModelInstanceCommon.ImportModelFiles(IEnumerable1 filenames, IEnumerable1 modelsToReplace) at Microsoft.Dynamics.Setup.DatabaseSqlModel.DatabaseSqlModelInstanceUpdate.Execute() An error occurred during setup of Model Database (SERVER-HOMOLOG:XXX_AX60_R3_DB_TEST_model). Completed setup of Model Database.

=== Setup was completed successfully.

=== Setup logging ended: 06/05/2020 17:58:37 ErrorLevel/ExitCode: '0' ===

信息: 微软动态 AX 2012 R3[​​=16=]


编辑 1:

我正在使用从知识库中解压缩的 axupdate(应用程序).​​exe。

我检查了一下,KB 是系统的一部分。见下图。


编辑 2:

我正在尝试安装 Microsoft 于 2020 年 4 月 10 日发布的所有最新知识库。

我有一个安装列表。从这个列表中,大多数 KB 都有上面日志中提到的错误。但是,我成功安装了最新的 7 KB 和 3 Hotifix 内核。

我不明白怎么可能安装一些 KB 而其他的有错误。

嗯..

我确定 .axmodel 证书已过期。

在这种情况下,问题出在 Microsoft 发布的 KB 的发布中。

谢谢大家的帮助

特此通知您 - 如果您还不知道 - Microsoft 现在已了解情况并正在努力重新发布所有 AX 2012 R3 KB 的新证书。他们希望在 星期一 18-05 之前准备好第一批,这是 Microsoft 的一个人告诉我的。

我最近尝试安装 1/2021 发布的 KB 4602212(2020 1099 修复)。 AX DEV 环境位于 6.3.4000.2085 AX 内核上。我 运行 尝试安装 HF 时遇到此错误。由于 SQL 服务器(AX SSRS 组件)由 DEV、TEST 和 UAT 共享,因此无法将较新的 AX 内核应用于他们的 DEV 环境。解决方法是从 C:\Program Files\Microsoft Dynamics AX\Server\MicrosoftDynamicsAX\bin 或 C:\Program Files\Microsoft Dynamics AX\ManagementUtilities 文件夹并在 AX DEV 环境中替换这些文件。

我 运行 在安装 KB3210144 时遇到同样的问题。对于它的价值,对于 AX R3,MS 支持指示我从 LCS 下载 AX 更新安装程序。在您的 LCS 项目中(如果没有,请创建一个虚拟项目)向右滚动到项目工具/更新

在哪里可以下载“Microsoft Dynamics AX 2012 R3 更新安装程序”。

不幸的是,在我的情况下,该工具发现我已经安装了修复程序。