SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
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
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jbates99
Constraint Violating Yak Guru

389 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.
Jack

visakh16
Very Important crosS Applying yaK Herder

India
52325 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

http://visakhm.blogspot.in/2012/12/implementing-dynamic-secure-ftp-process.html




------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.05 seconds. Powered By: Snitz Forums 2000