我尝试的事情:
我有以下错误日志:
[0A48:124C][2016-09-16T13:28:19]i300: Apply begin
[0A48:124C][2016-09-16T13:28:19]i010: Launching elevated engine process.
[0A48:124C][2016-09-16T13:28:19]i011: Launched elevated engine process.
[0A48:124C][2016-09-16T13:28:20]i012: Connected to elevated engine.
[0D94:0270][2016-09-16T13:28:20]i358: Pausing automatic updates.
[0D94:0270][2016-09-16T13:28:20]i359: Paused automatic updates.
[0D94:0270][2016-09-16T13:28:20]i360: Creating a system restore point.
[0D94:0270][2016-09-16T13:28:20]i362: System restore disabled, system restore point not created.
[0D94:0270][2016-09-16T13:28:20]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e39e00c9-09be-48bb-b175-01a07b3f7538}, resume: Active, restart initiated: No, disable resume: No
[0D94:08CC][2016-09-16T13:28:20]i304: Verified existing payload: AspNetCoreModule_x64 at path: C:\ProgramData\Package Cache\{4ADC4F4A-2D55-442A-8655-FBF619F94A69}v1.0.1967\packages\aspnetcoremodule_x64_en_rc2_39.msi.
[0D94:0270][2016-09-16T13:28:20]i301: Applying execute package: AspNetCoreModule_x64, action: Repair, path: C:\ProgramData\Package Cache\{4ADC4F4A-2D55-442A-8655-FBF619F94A69}v1.0.1967\packages\aspnetcoremodule_x64_en_rc2_39.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"'
[0D94:08CC][2016-09-16T13:28:20]e000: Error 0x80070002: Failed to find payload: DotNetRedist_x64 in working path: C:\Users\OSCHEL~1\AppData\Local\Temp\2\{3C386474-F8E3-4928-8751-FBC35786E734}\DotNetRedist_x64 and unverified path: C:\ProgramData\Package Cache\.unverified\DotNetRedist_x64
[0D94:08CC][2016-09-16T13:28:20]e000: Error 0x80070002: Failed to cache payload: DotNetRedist_x64
[0A48:0A5C][2016-09-16T13:28:20]e314: Failed to cache payload: DotNetRedist_x64 from working path: C:\Users\OSCHEL~1\AppData\Local\Temp\2\{3C386474-F8E3-4928-8751-FBC35786E734}\DotNetRedist_x64, error: 0x80070002.
[0A48:0A5C][2016-09-16T13:28:20]e349: Application requested retry of payload: DotNetRedist_x64, encountered error: 0x80070002. Retrying...
[0D94:08CC][2016-09-16T13:28:20]i305: Verified acquired payload: DotNetRedist_x64 at path: C:\ProgramData\Package Cache\.unverified\DotNetRedist_x64, moving to: C:\ProgramData\Package Cache\21CBEEE3E1DCAA0BD8F9DA42A6230CF52F9F5A78\packages\DotNetCore.1.0.1-Runtime-x64.exe.
[0A48:124C][2016-09-16T13:28:21]i319: Applied execute package: AspNetCoreModule_x64, result: 0x0, restart: None
[0D94:0270][2016-09-16T13:28:21]i325: Registering dependency: {e39e00c9-09be-48bb-b175-01a07b3f7538} on package provider: IIS_AspNetCore_Module,x64, package: AspNetCoreModule_x64
[0D94:0270][2016-09-16T13:28:21]i301: Applying execute package: DotNetRedist_x64, action: Install, path: C:\ProgramData\Package Cache\21CBEEE3E1DCAA0BD8F9DA42A6230CF52F9F5A78\packages\DotNetCore.1.0.1-Runtime-x64.exe, arguments: '"C:\ProgramData\Package Cache\21CBEEE3E1DCAA0BD8F9DA42A6230CF52F9F5A78\packages\DotNetCore.1.0.1-Runtime-x64.exe" /quiet /norestart'
[0D94:0270][2016-09-16T13:28:30]e000: Error 0x80070490: Process returned error: 0x490
[0D94:0270][2016-09-16T13:28:30]e000: Error 0x80070490: Failed to execute EXE package.
[0A48:124C][2016-09-16T13:28:30]e000: Error 0x80070490: Failed to configure per-machine EXE package.
[0A48:124C][2016-09-16T13:28:30]i319: Applied execute package: DotNetRedist_x64, result: 0x80070490, restart: None
[0A48:124C][2016-09-16T13:28:30]e000: Error 0x80070490: Failed to execute EXE package.
[0D94:0270][2016-09-16T13:28:30]i351: Removing cached package: DotNetRedist_x64, from path: C:\ProgramData\Package Cache\21CBEEE3E1DCAA0BD8F9DA42A6230CF52F9F5A78\
[0D94:0270][2016-09-16T13:28:30]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e39e00c9-09be-48bb-b175-01a07b3f7538}, resume: ARP, restart: None, disable resume: No
[0D94:0270][2016-09-16T13:28:30]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e39e00c9-09be-48bb-b175-01a07b3f7538}, resume: ARP, restart initiated: No, disable resume: No
[0A48:124C][2016-09-16T13:28:31]i399: Apply complete, result: 0x80070490, restart: None, ba requested restart: No
答案 0 :(得分:16)
我遇到了同样的问题,我通过安装此软件包http://go.microsoft.com/fwlink/?LinkID=615460&clcid=0x409
来修复它来自DotNetCore.1.0.1-WindowsHosting安装的日志非常有用,所以我尝试安装DotNetCore.1.0.1-SDK.1.0.0.Preview2-003131-x64软件包也失败了。但是,SDK Preview 2日志有更多信息,并且显示由于获取此软件包时出现问题而失败。
来自日志的错误:获取包:VC_redist.x64.exe,有效负载:VC_redist.x64.exe,从以下网址下载:http://go.microsoft.com/fwlink/?LinkID=615460&clcid=0x409
手动下载并安装此软件包后,我可以在我的服务器上安装Windows Hosting和SDK Preview 2.
答案 1 :(得分:3)
您可以下载Windows(服务器主机)安装程序,并从管理员命令提示符运行以下命令:
DotNetCore.1.0.1-WindowsHosting.exe OPT_INSTALL_REDIST=0