Error executing job while sql srvr agent runs under local win account
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?
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.