SSIS脚本组件中的错误

问题描述:

执行SSIS脚本组件时出现问题。说实话,我正在学习SSIS和脚本部分,我要通过The Script Component as a Transformation文章。到目前为止,我已经完成了在那里陈述的任何事情但是,当我试图执行这个包,我遇到下面的错误SSIS脚本组件中的错误

TITLE: Package Validation Error 
------------------------------ 

Package Validation Error 

------------------------------ 
ADDITIONAL INFORMATION: 

Error at Data Flow Task [Script Component [16]]: The script component is configured to pre-compile the script, but binary code is not found. Please visit the IDE in Script Component Editor by clicking Design Script button to cause binary code to be generated. 
Error at Data Flow Task [DTS.Pipeline]: "component "Script Component" (16)" failed validation and returned validation status "VS_ISBROKEN". 

Error at Data Flow Task [DTS.Pipeline]: One or more component failed validation. 

Error at Data Flow Task: There were errors during task validation. 

(Microsoft.DataTransformationServices.VsIntegration) 

------------------------------ 
BUTTONS: 

OK 
------------------------------ 

的谷歌搜索的位揭示了以下Package Validation Error。所以在经过这些之后,我明白了问题的原因是什么,但是我怎么去纠正这个问题,我不知道。而且,调试是不可能的。

请帮帮我。

编辑

最后我发现预编译选项应设置为FALSE。默认值为TRUE。它解决了这个问题。

感谢

你通常得到这个错误时,你的脚本的某一部分不再正常工作。这通常是由于脚本中的依赖关系不再有效。为什么你不能调试软件包?如果这不是你的软件包,那么你将不得不找到编写它的人并让他们修复错误。

+0

但调试选项不存在 – 2010-02-25 12:36:12

+0

即使我尝试了一个简单的例子作为MsgBox(“你好”)。然后我也得到了同样的错误。正如我所提到的,我自己在学习,所以我不知道为什么?我需要做什么设置? – 2010-02-25 12:38:07

+0

请引导我 – 2010-02-25 12:38:55

有时足以重建任务,只需编辑它并构建在vsta中即可。

+0

或重建SSIS项目作为一个整体 – mmcrae 2017-01-11 23:38:12