作业执行期间的SSIS错误

时间:2010-07-07 18:56:19

标签: ssis

我创建了一个运行SSIS包的作业。我有一段时间的包安全问题,但设法正确设置包密码,错误消失。这个下一个错误昨晚没有发生,但今天我似乎无法摆脱它。如果我通过BIDS独立运行软件包或连接到我的Integration Services,它就会成功运行。

任何想法在作为作业运行时会导致此错误,但在作为包运行时不会?

Date        7/7/2010 2:10:59 PM
Log     Job History (Identipass Data Transfer)

Step ID     1
Server      BETTY
Job Name        Identipass Data Transfer
Step Name       SSIS Transfer Data
Duration        00:00:02
Sql Severity        0
Sql Message ID      0
Operator Emailed        
Operator Net sent       
Operator Paged      
Retries Attempted       0

Message
Executed as user: AD\theusername. 
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:  2:10:59 PM  

Error: 2010-07-07 14:10:59.44     
Code: 0xC0047062     
Source: Data Flow Task Data Flow Task (ADO NET Destination [40])     
Description: Microsoft.SqlServer.Dts.Pipeline.ComponentVersionMismatchException: 
The version of component "ADO NET Destination" (40) is not compatible with this version of the DataFlow.  
[[The version or pipeline version or both for the specified component is higher than the current version.  
This package was probably created on a new version of DTS or the component than is installed on the current PC.]]     
at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostCheckAndPerformUpgrade(IDTSManagedComponentWrapper100 wrapper, Int32 lPipelineVersion)  
End Error  

Error: 2010-07-07 14:10:59.44     
Code: 0xC004801F     
Source: Data Flow Task Data Flow Task (SSIS.Pipeline)     
Description: The component metadata for "component "ADO NET Destination" (40)" could not be upgraded to the newer version of the component. 
The PerformUpgrade method failed.  
End Error  

Error: 2010-07-07 14:10:59.46     
Code: 0xC004801F     
Source: Data Flow Task SSIS.Pipeline     
Description: The component metadata for "component "ADO NET Destination" (40)" could not be upgraded to the newer version of the component. 
The PerformUpgrade method failed.  
End Error  

Error: 2010-07-07 14:10:59.54     
Code: 0xC0048021     
Source: Data Flow Task ADO NET Destination [40]     
Description: The component is missing, not registered, not upgradeable, or missing required interfaces. 
The contact information for this component is "Writes to a database using ADO.NET provider.;
Microsoft Corporation; Microsoft SqlServer v10; ? 
2007 Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1".  
End Error  

Error: 2010-07-07 14:10:59.54     
Code: 0xC0047017     
Source: Data Flow Task SSIS.Pipeline     
Description: component "ADO NET Destination" (40) failed validation and returned error code 0xC0048021.  
End Error  

Error: 2010-07-07 14:10:59.54     
Code: 0xC004700C     
Source: Data Flow Task SSIS.Pipeline     
Description: One or more component failed validation.  
End Error  

Error: 2010-07-07 14:10:59.54     
Code: 0xC0024107     
Source: Data Flow Task      
Description: There were errors during task validation.  
End Error  

DTExec: The package execution returned DTSER_FAILURE (1).  

Started:  2:10:59 PM  
Finished: 2:10:59 PM  
Elapsed:  0.422 seconds.  
The package execution failed.  
The step failed.

1 个答案:

答案 0 :(得分:5)

这里正在抛出ComponentVersionMismatchException。其他错误来自SSIS尝试升级ADO.NET目标组件的元数据,以便它与服务器上的版本兼容。消息也说明了这一点:

  

组件“ADO NET”的版本   目的地“(40)不兼容   使用此版本的DataFlow。   [[版本或管道版本或   对于指定的组件都是   高于当前版本。   这个包可能是在一个   新版DTS或组件   比安装在当前   PC。]]

当您将包作为作业执行时,它将在服务器计算机上执行。当您通过BIDS执行包时,它将在您的计算机上本地执行。您需要确保本地计算机和服务器上的SQL Server版本匹配。要查看版本信息,可以从Management Studio执行以下操作:

SELECT  SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')