我每小時運行一個計劃的SSIS包,隨機得到一個錯誤。最有趣的是,如果我刪除檢查點文件並再次運行包,它可以正常工作,但在將來運行時可能會顯示錯誤。我不知道爲什麼會發生這種情況。這是完整的錯誤信息。「無法鎖定變量」SSIS錯誤
Executed as user: UserNameChanged. Microsoft (R) SQL Server Execute Package Utility Version 10.0.2531.0 for 64-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: 09:21:40 Error: 2010-06-24 09:21:45.83 Code: 0xC0014054
Source: Save MaxLSN & Extract Date
Description: Failed to lock variable "User::UpdateProcessControlQuery" for read access with error 0xC0010001 "The variable cannot be found. This occurs when an attempt is made to retrieve a variable from the Variables collection on a container during execution of the package, and the variable is not there. The variable name may have changed or the variable is not being created.". End Error Error: 2010-06-24 09:21:45.84 Code: 0xC0024107 Source: Save MaxLSN & Extract Date Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 09:21:40 Finished: 09:21:45 Elapsed: 4.875 seconds. The package execution failed. The step failed.
要添加到這一點,我有超過100箇中的一組中的20包和5組在一個小時組運行有這樣的包裝。而這個'可變鎖'錯誤在每個週期至少會彈出一次。所以我需要找出根本原因。任何人都可以幫助...
沒有。如果是這種情況,爲什麼在刪除檢查點文件後程序包運行? – Faiz 2010-06-25 12:14:34