我每小时运行一个计划的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