Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQL job error - NT AUTHORITY\NETWORK SERVICE. Login failed Expand / Collapse
Author
Message
Posted Thursday, October 11, 2012 9:44 AM


Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, May 16, 2013 9:02 AM
Points: 70, Visits: 325
hello ,

I have transferred a job from one server to another and I get this error when trying to execute it.


Executed as user: NT AUTHORITY\NETWORK SERVICE. Login failed for user xxx\machinename$'. [SQLSTATE 28000] (Error 18456). The step failed.

Would anyone know what credentials are different from old to new server and if I need to change anything with the SQL agent?

Much appreciated
John

Post #1371613
Posted Thursday, October 18, 2012 7:43 AM


Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, May 16, 2013 9:02 AM
Points: 70, Visits: 325
Does anyone have any idea ? I still cannot seem to run the jobs as it ends with the above error
Post #1374364
Posted Monday, October 22, 2012 8:23 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Monday, May 20, 2013 3:00 AM
Points: 381, Visits: 1,383
Seems that you are using machine names for accounts so the error 'Login failed for user xxx\machinename$' relies on the old machine which doesn't have rights on the new server.
Are the servces running as local service or under a specific domain account such as SVC_SQL? Common practise is to use a dedicated service account for SQL and then run all services under that as required.
Hope this helps.
Post #1375451
Posted Monday, October 22, 2012 11:38 AM


Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, May 16, 2013 9:02 AM
Points: 70, Visits: 325
Thanks for your help! It seems I have mistakingly not given a linked server within the job a connection string....
Although the error was misleading


Post #1375638
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse