vs2012安装失败

提示大概是说:

.net framework 4.5 无法安装


解决方案:

手动安装.net framework 4.5

这里,安装包其实是不用另外下载的,在安装光盘中可以找到,具体路径:

G:\packages\dotNetFramework\dotNetFx45_Full_x86_x64.exe


当然在网上可以找到跟高版本的frameworkk,离线版4.5.2地址:

http://www.microsoft.com/en-us/download/details.aspx?id=42642


离线版的就不说了,下载的时候会卡住,太坑


手动安装也会出问题:

错误码:hresult0xc8000222

解决方案:

方法一:

net stop WuAuServ

2. Click Start, Run, type: %windir% and press Enter.
3. In the opened folder, rename the folder SoftwareDistribution to SDold.
4. Click Start, Run, type: cmd and press Enter.

Please run the following command in the opened window.

net start WuAuServ

方法二:

也可以暴力一些,找到占用SoftwareDistribution的进程,然后直接终止进程

任务管理器->性能->资源监视器->cup->关联的句柄->搜索的句柄中输入文件夹名回车

参考:

1.http://blog.galois21.com/archives/1425

2.http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_update/fresh-windows-7-installation-windows-update-error/16a05548-6f6c-4d86-b5cb-f8abae5afe58


当在安装Windows Server 2012中的IIS时遇到安装失败的问题时,一种可能的原因是找不到源文件。为了解决这个问题,可以尝试使用指定备用源路径的方法。具体的操作是,在安装过程中选择指定备用源路径,并指定sxs文件夹作为源路径,这种方法可以稳定地解决安装失败的问题。 另外,还有一种常见的问题是在安装过程中缺少源文件,导致无法安装IIS和其他组件,特别是.NET Framework 3.5。为了解决这个问题,可以专业地解决Windows Server安装IIS过程中缺少源文件的问题。 此外,还需要注意的是,安装IIS时还要注意潜在的漏洞问题。例如,Microsoft Windows HTTP.sys远程代码执行漏洞(MS15-034)(CVE-2015-1635)是一个已知的漏洞。在安装IIS之前,需要确保系统已经更新到最新的补丁级别,以免存在安全风险。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [windows server2012安装IIS提示安装一个或多个角色、角色服务或功能失败;找不到源文件](https://download.csdn.net/download/weixin_46644116/12883428)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [Windows server2012r 镜像中sxs,专业解决安装.net framework3.5失败缺少源文件错误](https://download.csdn.net/download/qq_19071023/10803436)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [HTTP.sys远程代码执行漏洞(MS15-034)(CVE-2015-1635) 漏洞修复](https://download.csdn.net/download/liuxs1230/88237306)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值