Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

DTS Package Error Expand / Collapse
Author
Message
Posted Thursday, September 10, 2009 4:51 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, December 06, 2011 11:09 AM
Points: 148, Visits: 331
Hi,

I have built a DTS Package to transfer data from one SQL server table in a database called NG on a server to another table on another SQL server hosted on another machine.

When i run the package in debug mode i get no errors and the 130,000 rows copy across perfectly. I need to have it running in a SQL job so that it executes daily and this is where my issue lies.

My Job executes the package and i get the following error and i could do with translating it to layman terms....

Thanks for any help.

Error:

Microsoft (R) SQL Server Execute Package Utility
Version 9.00.4035.00 for 32-bit
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.

Started: 11:36:00 AM
Error: 2009-09-10 11:36:01.86
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: 2009-09-10 11:36:02.16
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: 2009-09-10 11:36:03.06
Code: 0xC0202009
Source: NG-CRM4FE Connection manager "MIZZ1.NG.sa"
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 Native Client" Hresult: 0x80040E4D Description: "Login failed for user 'sa'.".
End Error
Error: 2009-09-10 11:36:03.06
Code: 0xC020801C
Source: Data Flow Task OLE DB Source [1]
Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "MIZZ1.NG.sa" 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: 2009-09-10 11:36:03.06
Code: 0xC0047017
Source: Data Flow Task DTS.Pipeline
Description: component "OLE DB Source" (1) failed validation and returned error code 0xC020801C.
End Error
Error: 2009-09-10 11:36:03.06
Code: 0xC004700C
Source: Data Flow Task DTS.Pipeline
Description: One or more component failed validation.
End Error
Error: 2009-09-10 11:36:03.06
Code: 0xC0024107
Source: Data Flow Task
Description: There were errors during task validation.
End Error
DTExec: The package validation returned DTSER_FAILURE (1).
Started: 11:36:00 AM
Finished: 11:36:03 AM
Elapsed: 2.5 seconds
Post #785611
Posted Thursday, September 10, 2009 5:24 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, November 11, 2010 2:25 PM
Points: 23, Visits: 75
Hi..

The problem is due to the protection level property of the package. Figure what is the property value.

The config file has to be designed based on the property you have used.

2. if the package was designed using "encrypt password with user key" type of protection level then the credentials with which the package is being executed are not having rights to access them.

By changing the Protection Level property and config file u can overcome ur error.

cheers
Satish T
Post #785625
Posted Thursday, September 10, 2009 6:01 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, December 06, 2011 11:09 AM
Points: 148, Visits: 331
Thank you for the reply. When i edit the package in notepad i find this line

DTS:Name="ProtectionLevel">1
I also see

Should this also be changed?

Thanks again.
Post #785639
Posted Thursday, September 10, 2009 6:25 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Saturday, August 13, 2011 3:28 AM
Points: 41, Visits: 112
not sure about the protection level, but the following error
"Description: Failed to decrypt protected XML node "DTS:Password"

occurs when you have use SQL autentication on any server and
Post #785647
Posted Thursday, September 10, 2009 6:27 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Saturday, August 13, 2011 3:28 AM
Points: 41, Visits: 112
not sure about the protection level, but the following error
"Description: Failed to decrypt protected XML node "DTS:Password"

occurs when you have use SQL autentication on any server and the password is missing.
Post #785651
Posted Thursday, September 10, 2009 9:42 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, December 06, 2011 11:09 AM
Points: 148, Visits: 331
Thanks for that. I changed all the package passords and configured them to blank in both SQL databases and that did the trick.

Thanks again.
Post #785802
Posted Monday, December 14, 2009 5:30 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, January 12, 2011 1:00 AM
Points: 62, Visits: 12
Its working now.The problem with the DTS package,its using SQL SERVER AUTHENTICATION . I changed to "Windows Authentication".
Now through command shell its working .
Post #833740
Posted Wednesday, July 11, 2012 3:02 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, April 22, 2013 1:11 PM
Points: 1, Visits: 18
Hi Guys,

Thanks for the solution it really helped me a lot.
I was struggling with this error for quite sometime.

Thanks again
Post #1328124
Posted Saturday, May 18, 2013 5:44 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, April 01, 2014 1:07 AM
Points: 4, Visits: 58
Try with below

Property Path=
\Package.Variables[User::FilePath].Value

Property Path="C:\Users\Administrator\Desktop\Alpesh\FX File ETL\In"


  Post Attachments 
ScheduleSSISPackage.png (30 views, 26.98 KB)
Post #1454248
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse