作业执行期间的SSIS错误

And*_*gel 2 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.
Run Code Online (Sandbox Code Playgroud)

Jac*_*tch 5

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

组件"ADO NET Destination"(40)的版本与此版本的DataFlow不兼容.[[指定组件的版本或管道版本或两者都高于当前版本.此软件包可能是在新版DTS或组件上创建的,而不是安装在当前PC上.]]

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

SELECT  SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
Run Code Online (Sandbox Code Playgroud)

  • 在2008 R2中创建的软件包看起来与常规的2008不兼容,但您可以修改一些设置以使它们如此.查看http://agilebi.com/jwelch/2010/05/13/moving-ssis-packages-with-ado-net-destinations-between-2008-r2-and-2008/ (3认同)