Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
SSIS脚本任务在调试时挂起_Ssis - Fatal编程技术网

SSIS脚本任务在调试时挂起

SSIS脚本任务在调试时挂起,ssis,Ssis,SSIS包的新功能。在安装SQL Server Data Tools for Visual Studio 2013之后,我正在Visual Studio 2013中使用SSIS包 编辑ScriptTask时,它将打开Visual Studio 2012。我在Main()方法中要命中的代码行上放置了一个断点。ScriptTask的入口点也设置为Main() 当我调试SSIS包时,它将进入ScriptTask并打开Visual Studio 2012,仅此而已。它从未击中我的断点。它只是挂着。有时

SSIS包的新功能。在安装SQL Server Data Tools for Visual Studio 2013之后,我正在Visual Studio 2013中使用SSIS包

编辑ScriptTask时,它将打开Visual Studio 2012。我在Main()方法中要命中的代码行上放置了一个断点。ScriptTask的入口点也设置为Main()

当我调试SSIS包时,它将进入ScriptTask并打开Visual Studio 2012,仅此而已。它从未击中我的断点。它只是挂着。有时,我会得到一个模态窗口,其中表示当调试停止时,该窗口将关闭。此窗口上只有一个按钮,显示“停止调试”

有人知道这里发生了什么吗?我如何让它命中断点,以便调试代码


感谢

要让调试器命中您的断点,您应该将SSIS项目的“Run64BitRuntime”属性值从默认值True更改为False

但这还不够。因为您的“脚本任务”仍然编译为64位。您应该使用“编辑脚本”编辑脚本任务并再次保存。这将有助于将脚本任务代码编译为32位

学分:

要使调试器命中断点,应将SSIS项目的“Run64BitRuntime”属性值从默认值True更改为False

但这还不够。因为您的“脚本任务”仍然编译为64位。您应该使用“编辑脚本”编辑脚本任务并再次保存。这将有助于将脚本任务代码编译为32位

学分: