SQL job fails when I schedule DTS through job

  • Hi Guys,

    I have a SQL job (SQL 2000) which runs the DTS (FTP the file) . When scheduled through job, it fails. But if I manually re-run the job, it runs successfully.

    Here is the job history :

    The job failed. The job was invoked by schedule 48. The last step to run was step 1(pull file from interface team through DTS)

    Note : SQLServer agent is running under N account. The job is also running under same ownership of N account.

    Any help will be much appreciated.

    Thanks in advance.

  • This is usually a permissions problem. Does the N account that SQL Agent runs as have the required file permissions on the FTP location?

    Greg

  • Thanks Greg.

    N-account was not added to FTP location. I have given full control to N-account on FTP folder.

    Lets wait for scheduled run tomorrow.

  • Hi Greg,

    Giving full control to N account for the FTP folder didn't work. Job has continued to stuck every alternate day.

    Previously job used to take 4min to run but now it is taking 30min to run.

    Could you please suggest ?

  • turn on logging in the package

    I Have Nine Lives You Have One Only
    THINK!

Viewing 5 posts - 1 through 4 (of 4 total)

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