JefB
Programmer
- Dec 29, 2000
- 56
I have a DTS Local Package that exports a query result as a ".txt" file to a secure ftp site.
The package works perfectly. However, if I set up a scheduled job to run this, it fails.
The history log says the following:
>>Executed as user: SQL_SVR_U. ...Run OnStart: Copy Data from XXXReferralUpdate to \\Harpo\SFTP\Verily\XXXReferralUpdateTrans2.txt Step DTSRun OnError: Copy Data from XXX6ReferralUpdate to \\Harpo\SFTP\Verily\XXXReferralUpdateTrans2.txt Step, Error = -2147467259 (80004005) Error string: Error opening datafile: Logon failure: unknown user name or bad password. Error source: Microsoft Data Transformation Services Flat File Rowset Provider Help file: DTSFFile.hlp Help context: 0 Error Detail Records: Error: 1326 (52E); Provider Error: 1326 (52E) Error string: Error opening datafile: Logon failure: unknown user name or bad password. Error source: Microsoft Data Transformation Services Flat File Rowset Provider Help file: DTSFFile.hlp Help context: 0 DTSRun OnFinish: Copy Data from XXXReferralUpdate to \\Harpo\SFTP\Verily\XXXReferralUpdateTrans2.txt Step DTS... Process Exit Code 1. The step failed.<<
I'm guessing the problem relates to the secure FTP site because I do not have a problem setting jobs to run to non-secure FTP sites.
Any suggestions on where to look next would be greatly appreciated.
JefB
The package works perfectly. However, if I set up a scheduled job to run this, it fails.
The history log says the following:
>>Executed as user: SQL_SVR_U. ...Run OnStart: Copy Data from XXXReferralUpdate to \\Harpo\SFTP\Verily\XXXReferralUpdateTrans2.txt Step DTSRun OnError: Copy Data from XXX6ReferralUpdate to \\Harpo\SFTP\Verily\XXXReferralUpdateTrans2.txt Step, Error = -2147467259 (80004005) Error string: Error opening datafile: Logon failure: unknown user name or bad password. Error source: Microsoft Data Transformation Services Flat File Rowset Provider Help file: DTSFFile.hlp Help context: 0 Error Detail Records: Error: 1326 (52E); Provider Error: 1326 (52E) Error string: Error opening datafile: Logon failure: unknown user name or bad password. Error source: Microsoft Data Transformation Services Flat File Rowset Provider Help file: DTSFFile.hlp Help context: 0 DTSRun OnFinish: Copy Data from XXXReferralUpdate to \\Harpo\SFTP\Verily\XXXReferralUpdateTrans2.txt Step DTS... Process Exit Code 1. The step failed.<<
I'm guessing the problem relates to the secure FTP site because I do not have a problem setting jobs to run to non-secure FTP sites.
Any suggestions on where to look next would be greatly appreciated.
JefB