因為無法載入此檢查點檔案,所以執行封裝失敗

Microsoft.SQLServer.2008.Package_execution_failed_because_the_checkpoint_file_cannot_be_loaded_5_Rule (Rule)

Knowledge Base article:

摘要

無法重新啟動某個設定為使用檢查點且一律使用檢查點檔案的套件。

原因

因為找不到檢查點檔案或指定的檔案並非預期的格式,所以無法載入該檢查點檔案。

解決方式

檢查點檔案必須能夠在本機上使用。找到檢查點檔案,並將其移到預計位置。

如果檢查點檔案無法使用,執行封裝時請使用 Set 選項來覆寫 CheckpointUsage 屬性的設定值,以使用 IfExistsNever 兩者中的其中一個值

外部資源

如需詳細資訊,請參閱下列線上叢書主題:<dtexec 公用程式>、<設定封裝屬性>及<在封裝中使用檢查點>。

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用該工作流程。

優先順序

定義警示優先順序。

1

嚴重性

定義警示嚴重性。

2

Element properties:

TargetMicrosoft.SQLServer.2008.IntegrationServices
CategoryEventCollection
EnabledTrue
Event_ID12550
Event SourceSQLISPackage100
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
因為無法載入此檢查點檔案,所以執行封裝失敗
{0}
Event LogApplication
CommentMom2008ID='{58C93261-222E-4E37-86F8-FC6E144751A5}';MOM2008GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}

Member Modules:

ID Module Type TypeId RunAs 
_F6DA1507_12AF_11D3_AB21_00A0C98620CE_ DataSource Microsoft.Windows.EventProvider Microsoft.SQLServer.SQLDefaultAccount
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SQLServer.2008.Package_execution_failed_because_the_checkpoint_file_cannot_be_loaded_5_Rule" Target="SQL2008Core!Microsoft.SQLServer.2008.IntegrationServices" Enabled="true" ConfirmDelivery="true" Remotable="true" Comment="Mom2008ID='{58C93261-222E-4E37-86F8-FC6E144751A5}';MOM2008GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="_F6DA1507_12AF_11D3_AB21_00A0C98620CE_" Comment="{F6DA1507-12AF-11D3-AB21-00A0C98620CE}" TypeID="Windows!Microsoft.Windows.EventProvider" RunAs="SQL!Microsoft.SQLServer.SQLDefaultAccount">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>12550</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>SQLISPackage100</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDescription</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>1073614717</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SQLServer.2008.Package_execution_failed_because_the_checkpoint_file_cannot_be_loaded_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>Event ID: $Data/EventDisplayNumber$. $Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>