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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Networked DTS package executes manually but not when scheduled: SQL Server Agent problem

Scheduled Job Problems

Networked DTS package executes manually but not when scheduled: SQL Server Agent problem

by  taphonomist  Posted    (Edited  )
What seems to be a pretty common problem is that a DTS package will execute if told to from Enterprise Manager, but will not execute when scheduled as a job. One possible problem is the account that the server agent is running under. When you manually execute a package, the package is run with all the permissions of the user that is executing the package. When scheduled, the package is executed by the Server Agent under whatever account it's been configured to run under. It defaults to running under the local system account, which has no network permissions. To change the account that the Agent runs under, go into Enterprise Manager, right click on SQL Server Agent and check out the Properties. In the General tab, you can change the account that the Agent uses. Use a network account that already has the proper permissions. It is probably a good idea to make an account specifically for the server agent for a number of reasons, but the network admin account will also work.

taphonomist
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top