• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4055
  • Last Modified:

SSIS Packages - Error

I am getting this error when i run my SSIS package under SQL Server Agent...

When i ran my package under SSIS - Stored packages-- It runs good.

I am having issue only when it runs under SQL Server agent...

This is the error i am seeing...


Message
Executed as user: CPWEB2\SYSTEM. Microsoft (R) SQL Server Execute Package Utility  Version 10.0.5500.0 for 32-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  10:00:53 AM  Error: 2013-11-12 10:00:53.46     Code: 0xC0016016     Source:       Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.  End Error  Error: 2013-11-12 10:00:54.07     Code: 0xC0202009     Source: ssisImportSAUD_SalesOrderEntry Connection manager "DestinationConnectionOLEDB"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E4D.  An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E4D  Description: "Login failed for user 'aaonweb'.".  End Error  Error: 2013-11-12 10:00:54.07     Code: 0xC020801C     Source: Data Flow Task 1 Destination - ImportSAUD_SalesOrderEntry [86]     Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "DestinationConnectionOLEDB" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.  End Error  Error: 2013-11-12 10:00:54.07     Code: 0xC0047017     Source: Data Flow Task 1 SSIS.Pipeline     Description: component "Destination - ImportSAUD_SalesOrderEntry" (86) failed validation and returned error code 0xC020801C.  End Error  Error: 2013-11-12 10:00:54.07     Code: 0xC004700C     Source: Data Flow Task 1 SSIS.Pipeline     Description: One or more component failed validation.  End Error  Error: 2013-11-12 10:00:54.07     Code: 0xC0024107     Source: Data Flow Task 1      Description: There were errors during task validation.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  10:00:53 AM  Finished: 10:00:54 AM  Elapsed:  0.827 seconds.  The package execution failed.  The step failed.


Any Idea?

Thanks
0
mani_sai
Asked:
mani_sai
  • 2
1 Solution
 
dannygonzalez09Commented:
It looks like you are using "EncryptsensitiveWithPassword" as the Protection level in your package... Change it to don't save sensitive and deploy the package again or use the same account to run the SQL job
0
 
mani_saiAuthor Commented:
Thanks
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now