Windows Server 2012 R2 Standard x64 deploy Visual Studio 2015 Application
When I run the Server application on Windows Server 2012 R2 operation system.
I meet the error:MSVCP140D.dll is missing from your computer.
Then I download it from MS site :
https://www.microsoft.com/en-US/download/details.aspx?id=48145
But I install vc_redist.x64.exe failed.
Then I got that Windows8.1-KB2999226-x64.msu should be installed to solve it.
But during installation I see the following error.
C:>DISM.exe /Online /Add-Package /PackagePath:D:\install_package\Windows8.1-KB299926-x64.msu
Processing 1 of 1 An error occurred D:\install_packaget\Windows8.1-KB299926-x64msu Error:0x8007003
Error:3
When I open the file c:\windows\logs\dism\dism.log, I saw this:
DISM DISM Provider Store: PID=7296 TID=7012 Getting Provider DISM Package Manager - CDISMProviderStore::GetProvider
2018-01-17 18:12:11, Info DISM DISM Provider Store: PID=7296 TID=7012 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2018-01-17 18:12:11, Info DISM DISM Package Manager: PID=7296 TID=7012 Processing the top level command token(add-package). - CPackageManagerCLIHandler::Private_ValidateCmdLine
2018-01-17 18:12:11, Info DISM DISM Package Manager: PID=7296 TID=7012 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine
2018-01-17 18:12:11, Info DISM DISM Package Manager: PID=7296 TID=7012 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine
2018-01-17 18:12:11, Info DISM DISM Package Manager: PID=7296 TID=7012 Encountered the option "packagepath" with value "D:\install_package\Windows8.1-KB2999226-x64.cab" -ckageManagerCLIHandler::Private_GetPackagesFromCommandLine
2018-01-17 18:12:11, Error DISM DISM Package Manager: PID=7296 TID=7012 Incorrect parameter D:\install_package\Windows8.1-KB2999226-x64.cab - path not found - CDISMPackageManager::Internal_CreatePackageByPath(hr:0x80070003)
2018-01-17 18:12:11, Error DISM DISM Package Manager: PID=7296 TID=7012 Failed to get the underlying CBS package. - CDISMPackageManager::OpenPackageByPath(hr:0x80070003)
2018-01-17 18:12:11, Error DISM DISM Package Manager: PID=7296 TID=7012 Failed to open the package at location: "D:\install_package\Windows8.1-KB2999226-x64.cab" - CPackageManagerCLIHandler::ProcessPackagePath(hr:0x80070003)
2018-01-17 18:12:11, Error DISM DISM Package Manager: PID=7296 TID=7012 Failed while processing command add-package. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070003)
2018-01-17 18:12:11, Info DISM DISM Package Manager: PID=7296 TID=7012 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
Solution:
Change the directory.
My Windows8.1-KB2999226-x64.msu is under directory(you can search in the windwos explorer):
C:\ProgramData\Package Cache\FC6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x64
copy this file (Windows8.1-KB2999226-x64.msu) to a folder you like, such as:
1.Create a C:\temp\2999226 folder
- Use the following command to extract the contents of the MSU file:
Expand –F:* c:\temp\2999226\Windows8.1-KB2999226-x64.msu c:\temp\2999226
3.Now try the following command(as administrator):
D:\install_package>DISM.exe /Online /Add-Package /PackagePath:C:\Temp\2999226\Windows8.1-KB2999226-x64.cab
Then I success in completing the operation.
4.Run the following command:
D:\install_pcakage>vc_redist.x64.exe /repair
Then click repair, you will see the vc_redist.x64.exe is completely installed.
5.reboot the computer.(maybe you do not need it)
Congratulations!!!!
I hope the article will help everyone.
[Reference]
Windows Server 2012 R2 Standard x64 deploy Visual Studio 2015 Application的更多相关文章
- .net core 2.2部署到Windows Server 2012 R2 standard
安装.net core 2.2 下载地址:https://dotnet.microsoft.com/download/dotnet-core/2.2 找到ASP.NET Core Runtime 2. ...
- Windows Server 2012 R2 Standard序列号
备用一个吧,免得用起来的时候找不到. NB4WH-BBBYV-3MPPC-9RCMV-46XCB
- Windows Server 2012 R2 官方原版镜像
微软操作系统 Windows Server 2012 R2 官方原版镜像 Windows Server 2012 R2 是由微软公司(Microsoft)设计开发的新一代的服务器专属操作系统,其核心版 ...
- Windows Server 2012 R2安装SqlServer 2016
1.系统安装 微软操作系统 Windows Server 2012 R2 官方原版镜像 Windows Server 2012 R2 是由微软公司(Microsoft)设计开发的新一代的服务器专属操作 ...
- 微软操作系统 Windows Server 2012 R2 官方原版镜像
微软操作系统 Windows Server 2012 R2 官方原版镜像 Windows Server 2012 R2 是由微软公司(Microsoft)设计开发的新一代的服务器专属操作系统,其核心版 ...
- [MSDN] Windows Server 2012 R2 简/繁/英下载
Windows Server 2012 R2 Chinese-Simplified ISO SHA1-------------------------------------------------- ...
- (转)Windows Server 2012 R2虚拟机自激活(AVMA)技术
转自: 老丁的技术博客 相信Hyper-v管理员都有这样的经历,安装多台虚拟机后,都要一台一台手工激活,如果虚拟机足够多的话,这是一项很繁琐的工作,但从Windows Server 2012 R2开始 ...
- Windows Server 2012 R2 with Update (x64) - DVD (Chinese-Simplified)
http://www.msdn.hk/html/2014/1404.html Windows Server 2012 R2 with Update (x64) - DVD (Chinese-Simpl ...
- Windows Server 2012 R2 IIS8.5+PHP(FastCGI)+MySQL环境搭建教程
原文地址:http://www.osyunwei.com/archives/7378.html 搬运是为了自己找资料方便. 准备篇 一.环境说明: 操作系统:Windows Server 2012 R ...
随机推荐
- vs2015安装ORACLE的DbFirst
不说DbFirst好在哪里,它和ModelFirst,CodeFirst都各有各的好,由于对于已经存在的一个大型的业务库,使用EntityFramework的更倾向于DbFirst,因为好多同事已经习 ...
- laravel Auth token创建于使用
token 的创建和使用, https://laravelacademy.org/post/3640.html 用户表密码字段验证修改,不只是password https://www.jianshu. ...
- Warning: skipping non-radio button in group. 的处理
1)把你的第一个Radio选中group属性: 2)把你“这个组中”的最后一个Raido控件“后”的一个控件(指得是控件添加先后的顺序,可以用ctrl+d来修改顺序)也选中group属性,如最后一个R ...
- Arduino+A4988驱动两相四线步进电机
先吐槽一下,在某宝买东西这么多年碰到的不靠谱的卖家也没这几天多.丝杆发短,42电机只有32大,碳杆上的鱼眼粘的没法再歪了还死紧……所以组装还得几天.于是先玩了一下DC-DC降压模块和A4988,规划了 ...
- GOF23设计模式之适配器模式(Adapter)
一.适配器模式概述 将一个类的接口转换成客户可用的另外一个接口. 将原本不兼容不能在一起工作的类添加适配处理类,使其可以在一起工作. 二.适配器模式场景 要想只有USB接口的电脑想使用PS/2接口的键 ...
- Java web 第一天
java web 的开发一般都是采用比较经典的分层结构: MVC(Model-View-Control)结构,在MVC 结构中,Model层用于处理业务相关,View层用于处理显示相关(View一般为 ...
- Excel不同工作簿之间提取信息
Sub 不同工作簿间提取信息() '用于单个字段信息的提取: Dim w As Workbook, wb1 As Workbook, wb2 As Workbook, wb3 As Workbook ...
- nginx上传文件大小
采用nginx作反向代理,出现了一个诡异的问题,小文件可以提交,大文件会报500内部错误.这个是什么原因导致的呢? 查wiki可知,上传文件大小相关的有三个配置 client_body_buffer_ ...
- 第三章 Istio基本介绍
3.1 Istio的核心组件及其功能 Istio总体分两部分:控制面和数据面. 数据面(sidecar):sidecar通过注入的方式和业务容器共存于一个pod,会劫持业务容器的流量,并接受控制面组件 ...
- IOCP结合AcceptEx实例
在普通IOCP的基础上注意两点: 1.记得把监听socket绑定到端口 2.在Accept处理过程中,抛出接受连接的AcceptEx请求,绑定客户端socket到端口和抛出recv请求 客户端要断开连 ...