Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 FTP Task Gives Key Not Valid When Ran as Job
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Constraint Violating Yak Guru

396 Posts

Posted - 02/15/2013 :  17:25:24  Show Profile  Reply with Quote
Hi everyone,
This is SSIS 2008 R2

I have an urgent issue that I'm struggling with.

This package has an FTP task and I'm using a Script task for the password to the FTP site. It works perfectly when I run it in Design/Debug mode

When ran as an Agent Job, this happens:

Description: Failed to decrypt protected XML node "DTS:Property" 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.

Thanks very much for any help.

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 02/16/2013 :  02:51:41  Show Profile  Reply with Quote
I think its because of the protection level set. The best thing would be to add password as a configuration item and pass value through it

see the example below i've done here where i created a variable for passing the password and made it a configurable item

SQL Server MVP

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000