locked
login failed - machine name RRS feed

  • Question

  • looking in the event viewer - I see this error with event ID 3351... 

    "SQL database login for 'SharePointConfigDatabase' on instance 'SQLALIAS' failed. Additional error information from SQL Server is included below.

    User 'Contoso\MachineName$' could not log on"

    It's not a user account - but the machine name - Why is the machine trying to logon?

    How do I resolve this event entry? ? 

    Monday, April 13, 2015 5:08 AM

Answers

  • If you see a failure like 

    Login failed for user 'DOMAIN\MACHINENAME$' it means that a process running as NETWORK SERVICE or as LOCALSYSTEM has accessed a remote resource, has authenticated itself as the machine account and was denied authorization.

    Your application may run as NETWORK SERVICE or LOCALSYSTEM account to connect to the remote SQL Server. In this case, the machine account, which is referenced as DOMAIN\MACHINENAME$, (in your case Contoso/MachineName$) is used to connect to the SQL Server.

    For further information refer here: http://stackoverflow.com/questions/2806438/login-failed-for-user-domain-machinename


    Please remember to upvote if it helps you or click 'Mark as Answer' if the reply answers your query.

    • Edited by Zakir Chougle Monday, April 13, 2015 5:50 AM
    • Marked as answer by JmATK Monday, April 13, 2015 6:43 AM
    Monday, April 13, 2015 5:49 AM