Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Job failed with the error

Author  Topic 

sunsanvin
Master Smack Fu Yak Hacker

1274 Posts

Posted - 2010-10-06 : 15:58:57
The job failed. Unable to determine if the owner (mydomain\abc_App) of job ABC_A_my_job_name has server access (reason: Could not obtain information about Windows NT group/user 'mydomain\abc_App', error code 0x5. [SQLSTATE 42000] (Error 15404)).


the user is having sysadmin server role, and is not locked. can you please guide me here

Arnav
Even you learn 1%, Learn it with 100% confidence.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-10-06 : 16:00:54
Switch the job owner to sa.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

sunsanvin
Master Smack Fu Yak Hacker

1274 Posts

Posted - 2010-10-06 : 16:01:57
what might be the issue with the current user?

please

Arnav
Even you learn 1%, Learn it with 100% confidence.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-10-06 : 16:11:02
I've never been able to figure it out, but I suspect that there is nothing wrong with the account and that it's just a bug. We use sa as job owner anytime we encounter this error.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

jeffw8713
Aged Yak Warrior

819 Posts

Posted - 2010-10-06 : 16:23:35
When a SQL Server agent job is owned by a user account, it must be authenticated on the domain before it can run. If that cannot be done, the job fails.

The check that is done to validate the domain user is case sensitive. If the login is not the same case, it also will fail. For example: MyDomain\MyUser is not the same as MYDOMAIN\MYUSER.

The only time I have any agent jobs that are not owned by sa is on a report server where the developers create and manage their own jobs.

Jeff
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-10-06 : 16:40:06
I agree with what Jeff's post says, however neither has ever been found to be the root cause in my environments. We make it a standard practice to use sa, but our own Windows accounts slip in when we forget.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

sunsanvin
Master Smack Fu Yak Hacker

1274 Posts

Posted - 2010-10-06 : 16:50:49
excellent point...
i'll look into it now, and update you status

Arnav
Even you learn 1%, Learn it with 100% confidence.
Go to Top of Page
   

- Advertisement -