troubleshooting Question

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

Avatar of Rainbow002
Rainbow002 asked on
Microsoft SQL Server 2008Microsoft SQL Server 2005
5 Comments2 Solutions1889 ViewsLast Modified:
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?
Join our community to see this answer!
Unlock 2 Answers and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros