Windows-Server-2012-R2
如何在 Windows Server 2012 R2 上安裝 .net framework 4.6.1 執行時
我啟動了一個 AWS EC2 實例 Windows Server 2012 R2。
它預裝了 .Net 4.5。
但我正在執行需要 4.6.1 的程式碼。
我嘗試了線上和離線安裝程序。我是管理員。我在安裝程序上選擇“以管理員身份執行”。它提取包。安裝進度條達到完成。無論哪種方式,我都會收到相同的錯誤消息:
錯誤消息沒有幫助,我不知道如何繼續。
日誌文件顯示以下內容:
© 2009 Microsoft Corporation. All rights reserved. Terms of Use. OS Version = 6.3.9600, SP = 0.0, Platform 2 OS Description = Win2k12R2 - x64 Standard Edition MSI = 5.0.9600.19082 Windows servicing = 6.3.9600.18384 CommandLine = D:\0ce7916d947e0ebb7a5825cc0c\\Setup.exe /x86 /x64 /redist TimeZone = Pacific Standard Time Initial LCID = 1033 Using Simultaneous Download and Install mechanism Operation: Installing Package Name = Microsoft .NET Framework 4.6.1 Setup Package Version = 4.6.01055 User Experience Data Collection Policy: Disabled Number of applicable items: 6 Exe (D:\0ce7916d947e0ebb7a5825cc0c\SetupUtility.exe) succeeded. Exe (D:\0ce7916d947e0ebb7a5825cc0c\SetupUtility.exe) succeeded. Exe (D:\0ce7916d947e0ebb7a5825cc0c\x64-Windows8.1-KB3102467-x64.cab) failed with 0x57 - The parameter is incorrect. . Final Result: Installation failed with error code: (0x00000057), "The parameter is incorrect. " (Elapsed time: 0 00:00:49).
如果 Windows 模組安裝程序服務被禁用,則可能會導致此問題。