首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

SSISThe Address in the "To" line is malformed. It is either missing t

2012-10-14 
SSISThe Address in the To line is malformed.It is either missing the @ symbol or is not valid.

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 "To" line is malformed.  It is either missing the "@" symbol or is not valid

 

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

 

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

 

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

 

更改完后显示正常:

 

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

 

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

 

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

 

 

 

 

热点排行