Stevent
2008-12-16 14:56:23 UTC
I have a stored procedure that drops a table if it exists, re-creates
it, and then inserts rows based upon a select query. Pretty standard
stuff. Then I have a local DTS package that exports the resultant
table to an Excel spreadsheet on a network share with "Everyone"
permissions.
The sp and the DTS package are scheduled to run every 24 hours. The
DTS package fails when run through the Enterprise Manager job
scheduler.
I can run the sp and the DTS manually, both from my computer and from
the server, with success, multiple times. I don't think permissions
are an issue but I cannot figure out why the DTS fails when run from
job scheduler.
I've tried using DELETE FROM, WHERE instead of DROP TABLE. I've tried
plain old DELETE FROM. I've even tried TRUNCATE TABLE. No matter
which method I use to clear the data from the previous 24-hour period,
the DTS package fails when run through job scheduler.
Any suggestions?
it, and then inserts rows based upon a select query. Pretty standard
stuff. Then I have a local DTS package that exports the resultant
table to an Excel spreadsheet on a network share with "Everyone"
permissions.
The sp and the DTS package are scheduled to run every 24 hours. The
DTS package fails when run through the Enterprise Manager job
scheduler.
I can run the sp and the DTS manually, both from my computer and from
the server, with success, multiple times. I don't think permissions
are an issue but I cannot figure out why the DTS fails when run from
job scheduler.
I've tried using DELETE FROM, WHERE instead of DROP TABLE. I've tried
plain old DELETE FROM. I've even tried TRUNCATE TABLE. No matter
which method I use to clear the data from the previous 24-hour period,
the DTS package fails when run through job scheduler.
Any suggestions?