Results 1 to 12 of 12

Thread: DTS Scheduling Problem

  1. #1
    Join Date
    Sep 2002
    Location
    Wisconsin
    Posts
    15

    Unhappy DTS Scheduling Problem

    Here is the deal. I created a DTS package, and schedule it. A job is created. However when the job runs at it regularly scheduled time, it fails. Yet I can go directly to the package and execute it, and it works flawlessly. What is up with that? What am I doing wrong? How can I fix this? Any Ideas would be greatly appreciated.

    Thanks

  2. #2
    Join Date
    Sep 2002
    Posts
    5,938
    Sounds sql agent service account permission issue. Is it domain account? Is job owner a member of sysadmin?

  3. #3
    Join Date
    Sep 2002
    Location
    Wisconsin
    Posts
    15
    It is a domain account, and the account is a member of Sys Admin.

  4. #4
    Join Date
    Sep 2002
    Posts
    5,938
    How about job owner?

  5. #5
    Join Date
    Sep 2002
    Location
    Wisconsin
    Posts
    15
    Yes, I am the job owner, and I am also a member of Sys Admin.

  6. #6
    Join Date
    Sep 2002
    Posts
    5,938
    What do you try to do in the job? What's message in job history step details?

  7. #7
    Join Date
    Sep 2002
    Location
    Wisconsin
    Posts
    15
    It doesn't really matter what I am doing, because I can't get any of them to work, but here goes.

    In one of the packages, I am simply bringing data from a text file into an Sql table. Nothing fancy.

    In another package I am getting data from a Sql Server Offsite, and bringing the data to my location, and inserting it into a Oracle table. Before I do that, I am verifying that I can connect to the Sql Database, If that is succesfull, I am truncating the Oracle table, and then importing the data. Like I said, if I execute the packages themselves, they work great. If I schedule them they fail.

    Here is the Job History for one of them. They both say the same thing
    The job failed. The Job was invoked by User Domain\Username. The last step to run was step 1 (TableName).
    See Attached file from Sql Server Event log. Thanks for all your help.
    Attached Files Attached Files

  8. #8
    Join Date
    Sep 2002
    Posts
    5,938
    Couple of things to check:
    1. Does sql agent service account have permission on text file? Deos it have pemission to access remote sql server?

    2. When you execute package directly, do you execute it on the server or on your desk via sql client? If from your desk, does sql server have same version of mdac as on your desk?

  9. #9
    Join Date
    Sep 2002
    Location
    Wisconsin
    Posts
    15
    The account that I am using is a Domain admin account on my domain, so it has permission to the (Local)text file. I don't think that the account that I am using has permisson on the remote Sql server or Domain. Should that matter though? In the package sonnections I am giving it the username and password that have the permissions needed.

    I have tried to run these packages both from my computer, and from the server. I believe that both computers have MDAC 2.6. One thing that I have neglected to mention is that the Sql server that I am getting the dat a from is 6.5, The server that I am running the package on is 7. Would it be easier for either you to call me, or me call you? Let me know. my e-mail address it Troy.Rozeske@fhr.com. Thanks again for all of your help.

  10. #10
    Join Date
    Sep 2002
    Posts
    5,938
    Is sql agent account a member of windows local admin?

  11. #11
    Join Date
    Sep 2002
    Location
    Wisconsin
    Posts
    15
    Yes. The account used to start the Sql Server Agent is in the administrators group.

  12. #12
    Join Date
    Sep 2002
    Location
    DALLAS
    Posts
    25
    Call me Silly, But have you checked the service on the server. Install atlest SP2 to resolve (DTS-Agent) related issues.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •