我们一直在尝试安装 SQL Server Data Tools,但遇到了一个错误,导致我们无法安装它,而且我们无法找出原因。
我们正在 Windows 7 Professional 上安装它,并且已经成功安装了 VS 2015 和 SQL Server 2014。
以下是日志中包含的错误消息:
Automatic updates could not be paused due to error: 0x80240025. Continuing...
Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed to connect to URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed to get size and time for URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409' to: 'C:\Users\Q041607\AppData\Local\Temp\{020a3802-41bd-4140-a729-9b6daa142d10}\TSQLLANGSVC13X64'
Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed to connect to URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed to get size and time for URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409' to: 'C:\Users\Q041607\AppData\Local\Temp\{020a3802-41bd-4140-a729-9b6daa142d10}\TSQLLANGSVC13X64'
Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed to connect to URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed to get size and time for URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409' to: 'C:\Users\Q041607\AppData\Local\Temp\{020a3802-41bd-4140-a729-9b6daa142d10}\TSQLLANGSVC13X64'
Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed to connect to URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed to get size and time for URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409
Error 0x80072f08: Failed attempt to download URL: 'https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409' to: 'C:\Users\Q041607\AppData\Local\Temp\{020a3802-41bd-4140-a729-9b6daa142d10}\TSQLLANGSVC13X64'
Error 0x80072f08: Failed to acquire payload from: 'https://go.microsoft.com/fwlink/?LinkId=817291&clcid=0x409' to working path: 'C:\Users\MyUserName\AppData\Local\Temp\{020a3802-41bd-4140-a729-9b6daa142d10}\TSQLLANGSVC13X64'
Failed to acquire payload: TSQLLANGSVC13X64 to working path: C:\Users\Q041607\AppData\Local\Temp\{020a3802-41bd-4140-a729-9b6daa142d10}\TSQLLANGSVC13X64, error: 0x80072f08.
Error 0x80072f08: Failed while caching, aborting execution.
还有一种解决方法是单独下载并安装:
Microsoft.DataTools.Shared.vsix、Microsoft.DataTools.AnalysisServices.vsix、Microsoft.DataTools.ReportingServices.vsix、Microsoft.DataTools.IntegrationServices.vsix
来自:
等等
或者通过 Visual Studio 2017 -> 工具 -> 获取工具和功能...
该错误表示您下载的机器无法访问该 URL。您可以与您的网络管理员联系,或者更简单的方法是下载 iso 并从中安装:
https://learn.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt
请参阅 iso 部分以获取您需要的链接。
这是来自此论坛帖子:
Internet Explorer 增强的安全配置 可能会阻止站点访问。
使用 IE,尝试导航到错误日志中的站点。如果 Internet Explorer 增强安全配置阻止它,请暂时为 管理员禁用它,然后重新运行 SSDT。
服务器管理器>本地服务器>Internet Explorer 增强的安全配置
在 EC2 中的新 Windows 2016 计算机上安装 SSDT 时出现相同的错误。
禁用 Internet Explorer 增强安全性解决了这个问题。