读书人

SSISThe Address in the quot;Toquot; line is

发布时间: 2012-10-14 14:55:07 作者: rapoo

SSISThe Address in the "To" line is malformed. It is either missing the "@" symbol or is not valid.

今天做了一个SSIS的小程序,其中有一个功能是发邮件,但是发现发MAIL的组件提示警告,信息如下:

The Address in the "To" line is malformed. It is either missing the "@" symbol or is not valid.

SSISThe Address in the

这条警告看起来是发送人的MAIL地址有问题,但是我查看了MAIL地址没有问题,而且程序可以正常运行。 所以应该是SSIS validation无法解析收件人地址然后报的这个错误。

如果让这个错误不显示可以将DelayValidation的值改为True,这样就没有问题了(更改DelayValidation属性为True,在开发时将不会提醒运行时可能出现的错误)。

SSISThe Address in the

更改完后显示正常:

SSISThe Address in the

一般不要修改这个选项,因为DelayValidation属性可以产生警告或者错误从而避免将来运行的时候产生的问题。

更多DelayValidation信息可以参考:http://www.sql-server-performance.com/2009/ssis-features-and-properties-part4/

读书人网 >其他数据库

热点推荐