Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

在Microsoft Windows Server 2012上安装.NET 3.5 Framework

Summary: 戴尔技术中心中的戴尔操作系统和应用程序解决方案-Project Sputnik、Microsoft Windows、Red Hat Linux、SUSE、Ubuntu等

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

此博客文章最初由迈克尔 Schroeder 编写。

欢迎参加意见!要建议博客主题或发表其他意见,请与
WinServerBlogs@dell.com联系。

目前,有许多应用程序和公用程序可利用 .NET 3.5 框架来正常工作。对于Windows Server 2012,Microsoft提供.NET 3.5和4.5两种安装选项,供满足任何应用程序的要求。当安装.NET 3.5组件时,必须注意一些细节。

当使用Server Manager安装.NET 3.5功能时,可能会遇到以下消息,表示可能无法找到源文件:服务器管理器要安装使用 PowerShell 进行安装的 .NET 3.5

,我们会看到类似消息,说明 "无法下载源文件" 以及错误为0x800f0906。在我的案例中,服务器没有连接互联网,无法访问Windows Update服务器。返回并更仔细地查看“添加角色和功能”向导,您会看到顶部的一条警告,询问以下问题,向导底部还提供了“Specify an alternate source path”(指定另一个源路径)链接。指定备用源路径

为什么需要提供此功能的源文件,而不是其他?对Full GUI安装运行以下PowerShell命令后,我们看到这些组件的安装状态设置为“Removed”(已删除)。“Removed”(已删除)安装状态指示本地服务器上没有相关功能文件。对于所有版本的Windows Server 2012,这都是默认的。完整 GUI 上的 PowerShell 命令

对于没有WSUS服务器或未连接到Windows Update的那些服务器,如果可以检索必要的组件,则我们需要提供到Windows Server安装介质上Side-by-side存储(sxs)的另一个源路径,以完成功能安装。

我们可以选择以下安装方法之一:

1.使用“添加角色和功能”向导,通过向导底部的链接指定另一个源路径。例如,D:是我的Windows Server DVD介质。

D:\Sources\sxs
2.使用PowerShell,在安装时指定源文件路径。
Install-WindowsFeature NET-Framework-Core –Source D:\Sources\sxs

3.从命令提示符处使用DISM,指定源文件路径参数:
DISM /Online /Enable-Feature /FeatureName:NetFx3 /Source:d:\sources\sxs

4.使用包含sxs文件夹的文件共享,指定UNC共享路径:
Install-WindowsFeature NET-Framework-Core –Source \\ServerName\ShareName\sxs
 

其他资源:

即将TechNet:安装或卸载角色、角色服务或功能


Article Properties


Last Published Date

21 Feb 2021

Version

4

Article Type

Solution