by Thomas Forsmark Sørensen
10. December 2010 11:42
On a Forefront Client Security (FCS) server the daily scheduled task failed with error code 0xFFFFFFFF
In the application event log event id 1001 was logged:
Log Name: Application
Source: MOM.Datawarehousing.DTSPackageGenerator.exe
Date: 10-12-2010 11:14:52
Event ID: 1001
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: DKDAT1SRV044.global.local
Description:
Step StepInvokeInnerPackage failed.
Step Error Source: Microsoft OLE DB Provider for SQL Server
Step Error Description: (1:SC_Inner_DTS_Package) SubStep 'DTSStep_ExecuteSQLTask_SC_EventParameterFact_View_1_Insert' failed with the following error:
Transaction (Process ID 79) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Execution was canceled by user.
Step Error Code: -2147220441
Step Error Help File:
Step Error Help Context ID:0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MOM.Datawarehousing.DTSPackageGenerator.exe" />
<EventID Qualifiers="0">1001</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-12-10T10:14:52.000Z" />
<EventRecordID>92765</EventRecordID>
<Channel>Application</Channel>
<Computer>DKDAT1SRV044.global.local</Computer>
<Security />
</System>
<EventData>
<Data>Step StepInvokeInnerPackage failed.
Step Error Source: Microsoft OLE DB Provider for SQL Server
Step Error Description: (1:SC_Inner_DTS_Package) SubStep 'DTSStep_ExecuteSQLTask_SC_EventParameterFact_View_1_Insert' failed with the following error:
Transaction (Process ID 79) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Execution was canceled by user.
Step Error Code: -2147220441
Step Error Help File:
Step Error Help Context ID:0</Data>
</EventData>
</Event>
I found this blog entry describing a solution.
The solution was the following:
Take a look on your scheduled task on your FCS Server, there is a different configuration between Windows Server 2003 and Windows Server 2008. On Windows Server 2008, you have to add the switch "/maxconn:5" at the end of your SystemCenterDTSPackageTask task.
After adding this parameter to the sceduled task it ran without any problems.