欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

AspNet5.ENU.RC1安装错误:0x80072f0d - 未指定的错误

程序员文章站 2022-05-05 10:30:08
...

AspNet5.ENU.RC1安装错误:0x80072f0d - 未指定的错误

AspNet5.ENU.RC1安装错误:0x80072f0d - 未指定的错误

操作系统:Windows 7 x64

安装文件:AspNet5.ENU.RC1_Update1_KB3137909.exe

安装过程中提示需要:Microsoft .NET Framework 4.5.1,如下图:

AspNet5.ENU.RC1安装错误:0x80072f0d - 未指定的错误


Microsoft .NET Framework 4.5.1(脱机安装程序)下载地址:

https://www.microsoft.com/zh-cn/download/details.aspx?id=40779
https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=40779
适用于 Windows Vista SP2、Windows 7 SP1、Windows 8、Windows Server 2008 SP2 Windows Server 2008 R2 SP1 和 Windows Server 2012 的 Microsoft .NET Framework 4.5.1(脱机安装程序)


但是我并没有安装Microsoft .NET Framework 4.5.1,而是下载安装了 Visual Studio 2015,

参考:《ASP.NET5》Windows 7下Visual Studio 2015安装记录

安装了Visual Studio 2015之后以为就不需要安装AspNet5,但是在创建AspNet5的项目时却直接打开一个下载链接,下载AspNet5安装程序。

下载后安装过程中就提示0x80072f0d - 未指定的错误。

AspNet5.ENU.RC1安装错误:0x80072f0d - 未指定的错误

点击“log file”部分错误内容如下:

[2660:2B08][2016-02-25T21:21:25]i338: Acquiring package: DotNetVersionManager_x64, payload: DotNetVersionManager_x64, download from: https://go.microsoft.com/fwlink/?LinkId=708515
[2660:2B08][2016-02-25T21:21:25]e000: Error 0x80072f0d: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=708515, trying to process HTTP status code anyway.
[2660:2B08][2016-02-25T21:21:25]e000: Error 0x80072f0d: Unknown HTTP status code 0, returned from URL: https://go.microsoft.com/fwlink/?LinkId=708515
[2660:2B08][2016-02-25T21:21:25]e000: Error 0x80072f0d: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=708515' to: 'C:\Users\abcde\AppData\Local\Temp\{ce3f8ea8-1d35-48c9-a8c2-dd3011cd434b}\DotNetVersionManager_x64'
[2660:2B08][2016-02-25T21:21:25]w343: Prompt for source of package: DotNetVersionManager_x64, payload: DotNetVersionManager_x64, path: F:\Software\System\DotNetVersionManager-x64_rc1.msi
[2660:2B08][2016-02-25T21:21:28]i338: Acquiring package: DotNetVersionManager_x64, payload: DotNetVersionManager_x64, download from: https://go.microsoft.com/fwlink/?LinkId=708515
[2660:2B08][2016-02-25T21:21:28]e000: Error 0x80072f0d: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=708515, trying to process HTTP status code anyway.
[2660:2B08][2016-02-25T21:21:28]e000: Error 0x80072f0d: Unknown HTTP status code 0, returned from URL: https://go.microsoft.com/fwlink/?LinkId=708515
[2660:2B08][2016-02-25T21:21:28]e000: Error 0x80072f0d: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=708515' to: 'C:\Users\abcde\AppData\Local\Temp\{ce3f8ea8-1d35-48c9-a8c2-dd3011cd434b}\DotNetVersionManager_x64'
[2660:2B08][2016-02-25T21:21:28]w343: Prompt for source of package: DotNetVersionManager_x64, payload: DotNetVersionManager_x64, path: F:\Software\System\DotNetVersionManager-x64_rc1.msi
[2660:2B08][2016-02-25T21:21:31]i338: Acquiring package: DotNetVersionManager_x64, payload: DotNetVersionManager_x64, download from: https://go.microsoft.com/fwlink/?LinkId=708515
[2660:2B08][2016-02-25T21:21:31]e000: Error 0x80072f0d: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=708515, trying to process HTTP status code anyway.
[2660:2B08][2016-02-25T21:21:31]e000: Error 0x80072f0d: Unknown HTTP status code 0, returned from URL: https://go.microsoft.com/fwlink/?LinkId=708515
[2660:2B08][2016-02-25T21:21:31]e000: Error 0x80072f0d: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=708515' to: 'C:\Users\abcde\AppData\Local\Temp\{ce3f8ea8-1d35-48c9-a8c2-dd3011cd434b}\DotNetVersionManager_x64'
[2660:2B08][2016-02-25T21:21:31]w343: Prompt for source of package: DotNetVersionManager_x64, payload: DotNetVersionManager_x64, path: F:\Software\System\DotNetVersionManager-x64_rc1.msi
[2660:2B08][2016-02-25T21:21:34]i338: Acquiring package: DotNetVersionManager_x64, payload: DotNetVersionManager_x64, download from: https://go.microsoft.com/fwlink/?LinkId=708515
[2660:2B08][2016-02-25T21:21:34]e000: Error 0x80072f0d: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=708515, trying to process HTTP status code anyway.
[2660:2B08][2016-02-25T21:21:34]e000: Error 0x80072f0d: Unknown HTTP status code 0, returned from URL: https://go.microsoft.com/fwlink/?LinkId=708515
[2660:2B08][2016-02-25T21:21:34]e000: Error 0x80072f0d: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=708515' to: 'C:\Users\abcde\AppData\Local\Temp\{ce3f8ea8-1d35-48c9-a8c2-dd3011cd434b}\DotNetVersionManager_x64'
[2660:2B08][2016-02-25T21:21:34]e000: Error 0x80072f0d: Failed to acquire payload from: 'https://go.microsoft.com/fwlink/?LinkId=708515' to working path: 'C:\Users\abcde\AppData\Local\Temp\{ce3f8ea8-1d35-48c9-a8c2-dd3011cd434b}\DotNetVersionManager_x64'
[2660:2B08][2016-02-25T21:21:34]e313: Failed to acquire payload: DotNetVersionManager_x64 to working path: C:\Users\abcde\AppData\Local\Temp\{ce3f8ea8-1d35-48c9-a8c2-dd3011cd434b}\DotNetVersionManager_x64, error: 0x80072f0d.
[2CD8:27B8][2016-02-25T21:21:34]i351: Removing cached package: Preparation_Uninstall_ASPNET, from path: C:\ProgramData\Package Cache\b5a923d4-a497-3a7b-b4a7-1cafadd39c95\
[2CD8:27B8][2016-02-25T21:21:34]i351: Removing cached package: SetupBlocked_Install, from path: C:\ProgramData\Package Cache\aaf6a4f0-adde-3e1c-83aa-8e3772843c50\
[2660:1BFC][2016-02-25T21:21:34]e000: Error 0x80072f0d: Failed while caching, aborting execution.
[2CD8:1DF0][2016-02-25T21:21:34]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ce3f8ea8-1d35-48c9-a8c2-dd3011cd434b}, resume: None, restart: None, disable resume: No
[2CD8:1DF0][2016-02-25T21:21:34]i330: Removed bundle dependency provider: {6f87c276-35ab-4e52-acd7-0198970e9d8e}
[2CD8:1DF0][2016-02-25T21:21:34]i352: Removing cached bundle: {ce3f8ea8-1d35-48c9-a8c2-dd3011cd434b}, from path: C:\ProgramData\Package Cache\{ce3f8ea8-1d35-48c9-a8c2-dd3011cd434b}\
[2CD8:1DF0][2016-02-25T21:21:34]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ce3f8ea8-1d35-48c9-a8c2-dd3011cd434b}, resume: None, restart initiated: No, disable resume: No
[2660:1BFC][2016-02-25T21:21:35]i399: Apply complete, result: 0x80072f0d, restart: None, ba requested restart:  No
发现是有文件下载不成功,考虑到当时正在使用下载工具下载大文件,把带宽都点满了,嗯嗯,应该是这个问题,于是把下载工具关了,再重新运行安装程序,OK,安装成功了。

==========================================================================

人生最不幸处,是偶一失言,而祸不及;偶一失谋,而事幸成;偶一恣行,而获小利。后乃视为故常,而恬不为意。则莫大之患,由此生矣。

——弘一法师:修己与涉世

AspNet5.ENU.RC1安装错误:0x80072f0d - 未指定的错误