2019年3月9日 星期六

SQL Server data collection with error code -1071636372 and -1073450952

env: Windows Server 2016
        SQL Server 2016 SP2

很不幸Data Collection出現錯誤,這次錯誤訊息如下:
Executed as user: XXXX\XXXX. SSIS error. Component name: DFT - Upload collection snapshot, Code: -1071636372, Subcomponent: RFS - Read Current Upload Data [138], Description: String too long. The adapter read a string that was 256 bytes long, and expected a string no longer than 129 bytes, at offset 100587. This could indicate a damaged input file. The file shows a string length that is too large for the buffer column.   .  SSIS error. Component name: DFT - Upload collection snapshot, Code: -1073450952, Subcomponent: SSIS.Pipeline, Description: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on RFS - Read Current Upload Data returned error code 0x80004005.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.   .The master package exited with error, previous error messages should explain the cause.  Process Exit Code 5.  The step failed.



























這個錯誤看來已經有一段時間,導致儲存cache有1GB的檔案。
開始修復這個錯誤。

1.嘗試重新啟動這支job
結果還是一樣的錯誤

2.停用Data Collection














3.重新設定cache folder,設定到新的位置


































4.設定完後,可以把舊的cache folder裡面的資料刪除

5.重新啟動Data Collection排程
結果成功












沒有留言:

張貼留言