Scheduled SQL Server job have to run as SQL Agent Service Account?

  • When scheduling a SQL server 2005 job, does it have to run as a SQL Agent Service Account or can that be changed?  I am running it as a Operating System (CmdExec) job.

    Thanks,

    Manisha

  • That's  SQL Agent question, not a SSIS question, hence I recommend you try the Agent forum.

    -Jamie

     

  • I figured this out  myself.  For those who are interested, you have to set up the credentials and then a proxy woth privileges to run certain types of job.  Then while scheduling the job in the steps specify the job to be run as the proxy created.  By default it runs as Sql Agent start up user and this user may not have the permissions to run jobs of specific sub-systems namely SSIS Package, CmdExec, ActiveXScript etc.

    Thanks,

    Manisha

  • What's the privileges you have assigned to the Login for which the Credential is created?

    I have a similar issue and I am successful so far, only by giving sysadmin rigths to the SQL Login.

     


    bm21

  • I am using the SQL server agent account to run the job. 

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

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