[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SSIS Packages  - Error

Posted on 2013-11-12
3
Medium Priority
?
3,959 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 2000 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 8

Author Closing Comment

by:mani_sai
ID: 39642581
Thanks
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

810 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