Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


DTS Package Error


DTS Package Error

Author
Message
sc-w
sc-w
SSC-Enthusiastic
SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)

Group: General Forum Members
Points: 164 Visits: 384
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 "DTSTongueassword" 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 "DTSTongueassword" 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
satish.t
satish.t
Grasshopper
Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)

Group: General Forum Members
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
sc-w
sc-w
SSC-Enthusiastic
SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)

Group: General Forum Members
Points: 164 Visits: 384
Thank you for the reply. When i edit the package in notepad i find this line

DTS:Name="ProtectionLevel">1roperty>roperty Shall i chnage it to -1?

I also see

assword DTS:Name="Password" Sensitive="1" Encrypted="1"> Should this also be changed?

Thanks again.
hussain27syed
hussain27syed
SSC Rookie
SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)

Group: General Forum Members
Points: 41 Visits: 112
not sure about the protection level, but the following error
"Description: Failed to decrypt protected XML node "DTSTongueassword"

occurs when you have use SQL autentication on any server and
hussain27syed
hussain27syed
SSC Rookie
SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)SSC Rookie (41 reputation)

Group: General Forum Members
Points: 41 Visits: 112
not sure about the protection level, but the following error
"Description: Failed to decrypt protected XML node "DTSTongueassword"

occurs when you have use SQL autentication on any server and the password is missing.
sc-w
sc-w
SSC-Enthusiastic
SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)

Group: General Forum Members
Points: 164 Visits: 384
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.
renjith.raveendran
renjith.raveendran
Valued Member
Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)

Group: General Forum Members
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 .
rkseeram
rkseeram
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
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
Alpesh Dhori
Alpesh Dhori
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 61
Try with below

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

Property Path="C:\Users\Administrator\Desktop\Alpesh\FX File ETL\In"
Attachments
ScheduleSSISPackage.png (45 views, 26.00 KB)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search