|
|
|
Valued 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
|
|
|
|
|
Valued 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
|
|
|
|
|
Old 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.
|
|
|
|
|
Valued 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 
|
|
|
|