在尝试运行一个简单的SSIS项目时,调试器遇到了问题,该项目涉及将一个小的示例CSV文件导入到SQL Server中。
我用"debugger error Microsoft.DataTransformationServices.VsIntegration“”搜索了StackOverflow,并查看了所有的搜索结果。
看起来大约一年前,其他人在VS2015上遇到了同样的问题,但这个问题从未得到解决。
Microsft SQL Server Data Tools for Visual Studio 2015 giving debugging error
我试过查看事件查看器和生成的Visual Studio日志,但什么都没有。
当我尝试执行SSIS作业时,我收到两条错误消息。
错误1:
Unable to start debugging.
The debugger is not properly installed.
Run setup to install or repair the debugger. (Microsoft.DataTransformationServices.VsIntegration)
Program Location:
at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.LaunchVsDebugger(IVsDebugger iVsDebugger, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.ValidateAndRunDebugger(Int32 flags, IOutputWindow outputWindow, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchDtsPackage(Int32 launchOptions, ProjectItem startupProjItem, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchActivePackage(Int32 launchOptions)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchDtsPackage(Int32 launchOptions, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.Launch(Int32 launchOptions, DataTransformationsProjectConfigurationOptions options)
错误2:
Unable to start program 'DTS'.
The debugger is not properly installed. Cannot debug the requested type of code. Run setup to install or repair the debugger. (Microsoft Visual Studio Debugger)
Program Location:
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.LaunchVsDebugger(IVsDebugger iVsDebugger, DataTransformationsProjectConfigurationOptions options)
我在安装SSDT和使用Visual Studio 2017时遇到了很多问题,我不得不求助于这里的解决方案才能让它正常工作。
SSDT installation issue (Failed to execute EXE package.)
有没有人遇到这个问题并设法克服它?
同时,我将尝试重新安装payload文件夹中的包,看看是否可以解决这个问题。
发布于 2020-01-21 09:32:38
原谅我的亡灵法术
我知道这是一个老生常谈的问题,但仍然有足够的人还没有过渡到VS 2019,所以它是相关的。我第二次遇到了这个问题,但在两次发生之间有很长一段时间。我完全忘记了问题和解决方案是什么。
长长的答案
我已经记录了所有的here。
简短的回答
以下是我所记录的内容的简短版本:
发布于 2018-06-06 14:38:15
我用SQL server 2016和Visual studio 2015以及各自的SSDT 2015解决了这个问题。我确保我每次都以管理员身份安装(右键单击EXE并以管理员身份运行)。
我遵循了以下步骤:
C:\Users\me\AppData\Local\Microsoft\VisualStudio\14.0 C:\Users\me\AppData\Roaming\Microsoft\VisualStudio\14.0
请从here找到安装VS2015、SSDT 2015和SQL Server2016的可执行文件,也可以通过搜索从官方网站下载。
和来自here的SSMS
我希望这对某些人有用。
发布于 2019-05-08 04:11:56
我通过填写Execute SQL Task中的必填字段解决了这个问题。我缺少SQL语句字段中的值。
我摆脱这个错误的另一种方法是将"DelayValidation“属性从False设置为True。但这只是一种变通办法,直到你解决了真正的问题。
这个页面也很有帮助。
http://www.jamesserra.com/archive/2011/07/ssis-package-taking-forever-to-load-when-you-open-it/
DelayValidation <--在控制流任务中查找此属性
ValidateExternalMetadata <--在数据流任务中查找此属性
https://stackoverflow.com/questions/50563004
复制相似问题