在Integration Service目录中部署时,脚本任务不会运行 [英] Script Task not run when deployed in Integration Service Catalogs

查看:82
本文介绍了在Integration Service目录中部署时,脚本任务不会运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用C#代码通过Script Task组件发送电子邮件,当我在SSDT中运行它时,一切都很好,但当我将其部署到目录并执行它时,它看起来运行成功,但是什么都没发生。 

I try using C# code to send an email by Script Task component, when I run it in SSDT, every thing is OK, but when I deployed it to catalog and execute it, it looks that run successful, but nothing happened. 

我确信几周前它在目录中运行良好,我几周前部署的软件包也运行良好,但如果我再次部署相同的软件包,脚本任务什么都不做。 

I'm sure that it can run well in catalog several weeks ago, and the package I deployed weeks ago also running well, but if I deployed the same package again, the script task do nothing. 

SQLSERVER EDITION:2016开发人员

SQLSERVER EDITION: 2016 developer

推荐答案

嗨  ;链接的乐趣,

Hi Link's Fun,

我可以知道软件包是否可以在SSDT中运行良好,如果脚本任务可以立即发送电子邮件?

May I know if the package can run well in SSDT and if he Script Task can send an email now?

请检查如果脚本任务中的C#代码是正确的。

Please check if the C# code in Script Task is correct.

最好的问候,

Mona Lv


这篇关于在Integration Service目录中部署时,脚本任务不会运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆