Avatar of samprg
samprg

asked on 

Sql Server Agent

Hi,
I have SSIS package in sql server 2005, it  works fine, but in sql server agent gives me error
that SSiS Package has script task and FTP task, Thanks
Executed as user: t1\SYSTEM. ...on 9.00.4035.00 for 32-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  4:14:58 PM  Error: 2011-10-04 16:14:58.49     Code: 0xC0016016     Source:       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.  End Error  Error: 2011-10-04 16:14:59.18     Code: 0xC001602A     Source: Members Connection manager "FTP Connection Manager"     Description: An error occurred in the requested FTP operation. Detailed error description: The password was not allowed  .  End Error  Error: 2011-10-04 16:14:59.20     Code: 0xC002918F     Source: FTP M1XML FTP Task     Description: Unable to connect to FTP server using "FTP Connection Manager".  End Error  DTExec: The pa...  The package execution fa...  The step failed.
Microsoft SQL Server 2005Microsoft SQL Server 2008

Avatar of undefined
Last Comment
samprg
Avatar of Kent Dyer
Kent Dyer
Flag of United States of America image

Here is where you get into the "sticky wicket" scenario.  If you had a 3rd party FTP setup, which I do know is available for SQL 2000 and you brought this forward to SQL 2005/2008, you will most likely run into issue.  The other issue is that if you are running into a Security policy  where you cannot use the XPCMD in SQL server (it is a vulnerability, by the way)..  I would check change controls and security to see what has gone in lately to address issues such as this.

HTH,

Kent
Avatar of samprg
samprg

ASKER

I created it in sql 2005, It works fine in BI
Avatar of Simone B
Simone B
Flag of Canada image

If it runs fine in BIDS, but not in SQL Agent, then it could be the protection level in your package. Have a look at this link, it's very helpful:

http://msdn.microsoft.com/en-us/library/ms141747.aspx
Avatar of samprg
samprg

ASKER

Buttercup1:
I want to use "DontSaveSensitive" ,If I save the Password in variable , how can I make ftp connection  use a password variable
Avatar of samprg
samprg

ASKER

Which ProtectionLevel I need to use it, I need just the package work in sql agent
Avatar of Simone B
Simone B
Flag of Canada image

Yes, use Don't Save Sensitive, and deploy the package to SQL server. Then, go back to the package, right click and add whatever configurations are required, and save. Each configuration is saved in a separate file. You will need a configuration file for each connection that requires a login. It's a good idea to double check each file in Notepad to make sure the string is correct. Also you may need to type in the password in the config file.

Then in your Solution properties under Deployment Utility, make sure that Allow Configuration Changes is set to True. Then you won't have to rebuild the configurations every time you have to redeploy.
Avatar of samprg
samprg

ASKER

I did not create  configurations.
I import the package in sql integration,, I can run the package in sql Integration, but still sql agent gives me rror?!
I use protictionLeve :EncryptAllWithUserKey

Message
     Code: 0xC0016016     Source:       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.  End Error  Error: 2011-10-05 12:27:13.31     Code: 0xC001602A     Source: Members Connection manager "FTP Connection Manager"     Description: An error occurred in the requested FTP operation. Detailed error description: The password was not allowed  .  End Error  Error: 2011-10-05 12:27:13.31     Code: 0xC002918F     Source: FTP  FTP Task     Description: Unable to connect to FTP server using "FTP Connection Manager".  End Error  DTExec: The p...  The package execution fa...  The step failed.



ASKER CERTIFIED SOLUTION
Avatar of Simone B
Simone B
Flag of Canada image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of samprg
samprg

ASKER

If administrator add the package in sql , will it be work?
Avatar of samprg
samprg

ASKER

Awesome,
 I need your answer for my last question please.
Thanks
Avatar of Simone B
Simone B
Flag of Canada image

Sorry for the delay, too many meetings today. Regardless of who deploys the package you should have the same result.
Avatar of samprg
samprg

ASKER

Thanks
Microsoft SQL Server 2005
Microsoft SQL Server 2005

Microsoft SQL Server 2005 is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning. It includes support for managing XML data and allows a database server to be exposed over web services using Tabular Data Stream (TDS) packets encapsulated within SOAP (protocol) requests.

72K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo