安装 Sql 服务器数据工具 (SSDT) 时出错

Error While Installing Sql Server Data Tools (SSDT)

我们一直在尝试安装 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.

该错误表示您下载的机器无法到达URL。您可以与您的网络管理员联系,或者更简单的方法是下载 iso 并从中安装:

https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt

请参阅有关 iso 的部分以获得所需的链接。

这是来自这个论坛post:

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/d1bfeabf-d37d-4748-b768-2802378f59ef/error-installing-ssdt?forum=ssdt

也有单独下载安装的解决方法:

Microsoft.DataTools.Shared.vsix、Microsoft.DataTools.AnalysisServices.vsix、Microsoft.DataTools.ReportingServices.vsix、Microsoft.DataTools.IntegrationServices.vsix

来自:

https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftAnalysisServicesModelingProjects

https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftReportProjectsforVisualStudio

等等

或通过 Visual Studio 2017 -> 工具 -> 获取工具和功能...

在 EC2 中的新 Windows 2016 机器上安装 SSDT 时遇到同样的错误。

Disabling Internet Explorer Enhanced Security 解决了。

Internet Explorer 增强的安全配置 可能阻止站点访问。

使用 IE,尝试导航到错误日志中的站点。如果 Internet Explorer 增强安全配置 正在阻止它,请暂时为 管理员 和 re-run SSDT[= 禁用它23=].

服务器管理器>本地服务器>Internet Explorer 增强安全配置