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 ...
随机推荐
- python 怎么和命令行交互
http://www.cyberciti.biz/faq/python-run-external-command-and-get-output/ http://stackoverflow.com/qu ...
- jeecg中选择的数据字典
<t:dictSelect field="fjingji" hasLabel="false" typeGroupCode="fjingji&qu ...
- “FPGA+云"助力高性能计算
用AI防鲨鱼.用AI学写中国书法.用AI预测人类死亡时间.用AI审判罪犯……在人工智能方兴未艾的今天,越来越廉价和普及的AI领域真的是什么都不值钱,除了想象力.那在这无所不能的AI盛世,一定没道理让算 ...
- VBA7种遍历方法
Sub 在选定文档最后加入一句话() '遍历文件 Dim MyDialog As FileDialog On Error Resume NextApplication.ScreenUpdating = ...
- Java堆外内存之七:JVM NativeMemoryTracking 分析堆外内存泄露
Native Memory Tracking (NMT) 是Hotspot VM用来分析VM内部内存使用情况的一个功能.我们可以利用jcmd(jdk自带)这个工具来访问NMT的数据. NMT介绍 工欲 ...
- UI“三重天”之实践Uiautomator1
说起来Uiautomator也有一年没碰过了.借此来回顾.总结一下. 也是阅读<精通APP自动化测试>一书.实践出真知的一个框架.编写了部分移动端UI自动化脚本.后续再深入学习. 虽然现在 ...
- 模拟admin组件自己开发stark组件之自定义list_display,反向解析url
反向解析 在上一篇文章中,我们创建好了stark这个组件,一个应用一个表有四个默认的url,那么我们如何区别这些url,因为可能会有重复现象(本组件不会,因为前面拼接了应用名,表明,肯定唯一),概念请 ...
- node+express+jade搭建一个简单的"网站"
1.建立工程文件夹:my_jade 2.下载express和jade包到本地.我个人不喜欢下载成全局的,我喜欢下到工程文件夹中去. 3.建立相关的文件夹和文件. index.js: style.css ...
- oracle建立用户与授权(转载)
创建表空间及用户: create tablespace 表空间名 datafile 'd:/seal.dbf' size 10M autoextend on;create user username ...
- nginx的下载和安装
安装 下载必要组件 nginx下载地址 http://nginx.org/en/download.html pcre库下载地址,nginx需要[解析正则] http://sourceforge.ne ...