Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DTS works by itself, but not when run from job

Status
Not open for further replies.

stiej

Technical User
Jan 20, 2003
142
GB
Hi,

I have a dts that contains just one step and that's an ActiveX script. the script reads a text file into a variable, writes a new text file and executes the sql stored in variable that got populated from the file read.

When i run the DTS from the Designer it all works great, though when scheduled to run from a job then nothing at all happens. I can see the SQL hasn't been executed and the new text file doesn't get written, but the job succeeds without error and the DTS log shows that the activexscript task did get [apparently] execute.

Any ideas, why it doesn't work from a job?

Many thanks...
 
Most likely a network path is not accessible when run by the SQL Server Agent which is only a local account.

The early bird gets the worm, but the second mouse gets the cheese.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top