2014-11-24 109 views
0

我有一个SSIS包用于加载固定宽度的平面文件。我已经把所有的列长度,并有两个包对正常工作的类似文件。第三然而,不断抛出以下错误:SSIS Blank Blank平面文件加载失败

[Source 1 [16860]] Error: Data conversion failed. The data conversion for column "Line Number" 
returned status value 2 and status text "The value could not be converted because of a 
potential loss of data.". 

[Source 1 [16860]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. 
The "output column "Line Number" (16957)" failed because error code 0xC0209084 
occurred, and the error row disposition on "output column "Line Number" (16957)" 
specifies failure on error. An error occurred on the specified object of the specified 
component. There may be error messages posted before this with more information about 
the failure. 

做一些测试这种情况对任何列后,我有使用DT_I4数据类型,并在列空白。我打算尝试使用派生列,但是即使将其更改为字符串数据类型以将空白处理为NULL,然后稍后在数据流中执行转换为INT 。

在源和目标任务中,我保留空值复选框打勾然而这并没有改变任何东西。

有关处理此错误的任何建议,INT似乎在将空白转换为NULL时失败?

回答