SQL Server Agent - Unable to determine if the owner of job has server access.

  • I've read a few posts regarding similar messages, but I don't seem to be able to find a specific answer to my problem. I think it's because we have two domains to work from.

    Here's the setup......

    I work in an environment where we all login to our PC's using DOMAIN1\User1, yet all our SQL 2008 R2 servers are in DOMAIN2.

    The two domains have trust between them, so we login, or RDP, to our DOMAIN2 servers using our DOMAIN1 accounts.

    When I create any SQL Agent jobs, it defaults to my DOMAIN1 account, and because of this I've recently had loads of SQL Agent jobs fail with very similar messages....

    The job failed. Unable to determine if the owner (DOMAIN1\USER1) of job MaintenancePlan1-BAckup DB has server access (reason: Could not obtain information about Windows NT group/user 'DOMAIN1\USER1', error code 0xffff0002. [SQLSTATE 42000] (Error 15404)).

    I have a script I put together to reset all the job owners to the SQL Service account, but I feel this is just a 'get around' and not actually fixing the true problem.

    I think that the domains aren't 'trusting' themselves properly, am I correct?

    Or should I just keep resetting the Job Owners every time I edit a job?

    Thanks

  • In my experience, I've had that happen when the SQL Agent service account was locked out.(Another DBA was using the service account for administrative work and typed in the wrong password 3 times). I'd double check domain policies to ensure your SQL Server Agent account never expires or doesnt get locked out.

Viewing 2 posts - 1 through 1 (of 1 total)

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