DTS Package Error

  • 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

  • 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

  • Thank you for the reply. When i edit the package in notepad i find this line

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

    I also see

    Should this also be changed?

    Thanks again.

  • 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

  • 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.

  • 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.

  • 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 .

  • Hi Guys,

    Thanks for the solution it really helped me a lot.

    I was struggling with this error for quite sometime.

    Thanks again

  • Try with below

    Property Path=

    \Package.Variables[User::FilePath].Value

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

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply