Solved

SSIS Packages  - Error

Posted on 2013-11-12
3
3,528 Views
Last Modified: 2016-02-11
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
Comment
Question by:mani_sai
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
dannygonzalez09 earned 500 total points
ID: 39642028
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
 
LVL 5

Expert Comment

by:dannygonzalez09
ID: 39642037
0
 
LVL 8

Author Closing Comment

by:mani_sai
ID: 39642581
Thanks
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question