SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 SQL job failed
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

matthew00
Starting Member

10 Posts

Posted - 10/11/2012 :  17:49:40  Show Profile  Reply with Quote
I have SQL agent running on "Local system" and I have job running as SQL local account. All sudden, jobs failed. when I changed SQL Agent running as "network account" who is admin the server and job started working again.

why?

Thanks,

visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 10/11/2012 :  18:57:56  Show Profile  Reply with Quote
may be priviledges of sql login got revoked or sql login got expired

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

matthew00
Starting Member

10 Posts

Posted - 10/11/2012 :  19:24:34  Show Profile  Reply with Quote
SQL log in had sysadm and password is correct


any other thoughts?
Go to Top of Page

matthew00
Starting Member

10 Posts

Posted - 10/11/2012 :  19:29:19  Show Profile  Reply with Quote
and password is set to not to expire. If I change SQL agent service to run by network account then job will run.....below is the error I got:

Executed as user: NT AUTHORITY\SYSTEM. Login failed for user 'Domain_name\computer_name$'. [SQLSTATE 28000] (Error 18456). The step failed.
Go to Top of Page

NeilG
Aged Yak Warrior

United Kingdom
530 Posts

Posted - 10/12/2012 :  03:48:15  Show Profile  Reply with Quote
Are you trying to carry out a function on another SQL instance? its all pointing to a credential error.

Try creating a domain account to run you SQL Agent Server

-----------------------------------------------
Learning something new on SQL Server everyday.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 10/12/2012 :  12:59:29  Show Profile  Reply with Quote
quote:
Originally posted by matthew00

and password is set to not to expire. If I change SQL agent service to run by network account then job will run.....below is the error I got:

Executed as user: NT AUTHORITY\SYSTEM. Login failed for user 'Domain_name\computer_name$'. [SQLSTATE 28000] (Error 18456). The step failed.


this doesnt look like a SQL login. its a windows login

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000