Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Error executing job while sql srvr agent runs under local win account

Avatar of Rainbow002
Rainbow002 asked on
Microsoft SQL Server 2005Microsoft SQL Server 2008
5 Comments1 Solution1889 ViewsLast Modified:
Hi,
I'm facing this problem on one of my test box running SQL server 2008. I don't think this is related to SQL version but instead permissions...
I created a simple backup job and it fails if it runs under my domain account with following error:
The job failed.  Unable to determine if the owner (domain\user) of job test_bak has server access (reason: Could not obtain information about Windows NT group/user 'domain\user', error code 0x6ba. [SQLSTATE 42000] (Error 15404)).

If I change the owner of the job to "SA", it runs fine. SQL server agent is running under a local user account on the server and has SA rights on SQL server. I tried making this account member of windows administrators group but still the same error comes.

I then changed the sql agent account to run under my domain account and then change the owner of the job back to my domain account this time job runs fine.

So what is about this local user account under which sql agent is running causing this issue?