2014-11-24 106 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時失敗?

回答