Windows 2016 安装Sharepoint 2016 预装组件失败
Windows 2016 安装Sharepoint 2016 预装组件失败
日志如下:
1 2017-09-11 13:32:37 - Request for install time of Web 服务器(IIS)角色 2 2017-09-11 13:32:38 - Request for install time of Web 服务器(IIS)角色 3 2017-09-11 13:32:39 - Request for install time of Web 服务器(IIS)角色 4 2017-09-11 13:32:40 - Request for install time of Web 服务器(IIS)角色 5 2017-09-11 13:32:41 - Request for install time of Web 服务器(IIS)角色 6 2017-09-11 13:32:42 - Request for install time of Web 服务器(IIS)角色 7 2017-09-11 13:32:43 - Install process returned (0X3E8=1000) 8 2017-09-11 13:32:43 - [In HRESULT format] (0X800703E8=-2147023896) 9 2017-09-11 13:32:43 - Last return code (0X3E8=1000) 10 2017-09-11 13:32:43 - Reading the following DWORD value/name... 11 2017-09-11 13:32:43 - Flags 12 2017-09-11 13:32:43 - from the following registry location... 13 2017-09-11 13:32:43 - SOFTWARE\Microsoft\Updates\UpdateExeVolatile 14 2017-09-11 13:32:43 - Reading the following string value/name... 15 2017-09-11 13:32:43 - PendingFileRenameOperations 16 2017-09-11 13:32:43 - from the following registry location... 17 2017-09-11 13:32:43 - SYSTEM\CurrentControlSet\Control\Session Manager 18 2017-09-11 13:32:43 - Reading the following registry location... 19 2017-09-11 13:32:43 - SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired 20 2017-09-11 13:32:43 - Error: The tool was unable to install Web 服务器(IIS)角色. 21 2017-09-11 13:32:43 - Last return code (0X3E8=1000)
解决方法,Powershell(管理员模式)里执行:
1 Import-Module ServerManager 2 3 Add-WindowsFeature Net-Framework-Features,Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Digest-Auth,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Server-Media-Foundation,Xps-Viewer –Source D:\sources\sxs
帮人帮到底,给你Sharepoint 2016 预装软件离线安装包的下载地址:
SharePoint2016 Prerequisites:
- SQL Client (SQLnCli.msi)
- Microsoft Identity Extension (MicrosoftIdentityExtensions-64.msi)
- Microsoft Sync Framework 1.0 SP1 (Synchronization.msi)Extract the appropriate file from the ZIP package.
- AppFabric 1.1 (WindowsServerAppFabricSetup_x64.exe)
- Cumulative Update 7 (KB3092423) for Microsoft AppFabric 1.1 for Windows Server (AppFabric-KB3092423-x64-ENU.exe)
- Active Directory Rights Management Services Client 2.1 (setup_msipc_x64.exe)
- Windows Communications Framework Data Services 5.6.0 (WcfDataServices56.exe)
- .NET Framework 4.6 (NDP453-KB2969351-x86-x64-AllOS-ENU.exe)
- Visual C++ 2012 Redistributable Package (vcredist_x64.exe)
- Visual C++ 2015 Redistributable Package (vc_redist.x64.exe)
把上面的东西下载,保存到
C:\Prereqs
,假设E盘是你的Sharepoint安装介质:
$SharePoint2016Path = "C:\Prereqs"
Start-Process "E:\PrerequisiteInstaller.exe" –ArgumentList "/SQLNCli:$SharePoint2016Path\sqlncli.msi /ODBC:$SharePoint2016Path\msodbcsql.msi /IDFX11:$SharePoint2016Path\MicrosoftIdentityExtensions-64.msi /Sync:$SharePoint2016Path\Synchronization.msi /AppFabric:$SharePoint2016Path\WindowsServerAppFabricSetup_x64.exe /MSIPCClient:$SharePoint2016Path\setup_msipc_x64.exe /WCFDataServices56:$SharePoint2016Path\WcfDataServices.exe /DotNetFx:$SharePoint2016Path\NDP453-KB2969351-x86-x64-AllOS-ENU.exe /MSVCRT11:$SharePoint2016Path\vcredist_x64.exe /MSVCRT14:$SharePoint2016Path\vc_redist.x64.exe /KB3092423:$SharePoint2016Path\AppFabric-KB3092423-x64-ENU.exe"
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 从问题排查到源码分析:ActiveMQ消费端频繁日志刷屏的秘密
· 一次Java后端服务间歇性响应慢的问题排查记录
· dotnet 源代码生成器分析器入门
· ASP.NET Core 模型验证消息的本地化新姿势
· 对象命名为何需要避免'-er'和'-or'后缀
· “你见过凌晨四点的洛杉矶吗?”--《我们为什么要睡觉》
· 编程神器Trae:当我用上后,才知道自己的创造力被低估了多少
· C# 从零开始使用Layui.Wpf库开发WPF客户端
· C#/.NET/.NET Core技术前沿周刊 | 第 31 期(2025年3.17-3.23)
· 接口重试的7种常用方案!
2013-09-11 HillStone上网认证客户端