Solved

SSIS Packages  - Error

Posted on 2013-11-12
3
3,457 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Suggested Solutions

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.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now