Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server Login error: Login failed for user 'NT AUTHORITY\SYSTEM'

I have created an application pool called "schoolPool" and assigned it to my web application. Identity for this pool has been set to LocalSystem. When I try to access my database from within the application, i.e. open a SQL connection, I get the following error all the time:

Login failed for user 'NT AUTHORITY\SYSTEM' 


I tried to add NT AUTHORITY/SYSTEM to SSMS (SQL Server Management Studio) logins, but it was already a principal, showing the following error:
enter image description here

like image 937
djnotes Avatar asked Jul 18 '14 09:07

djnotes


People also ask

How do I fix Login failed for NT Authority anonymous logon?

To summarize, The Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' error in both our cases seems to be caused by a service not running and/or not on the right user. Ensuring the right SPN or other Service is running and under the correct user should solve the anonymous part of the problem.

What is NT Authority system account?

The account NT AUTHORITY\System which is a Local System account.. It is a powerful account that has unrestricted access to all local system resources. It is a member of the Windows Administrators group on the local computer, and is therefore a member of the SQL Server sysadmin fixed server role.

Can not connect to SQL Server Login failed for user?

The generic message “Login Failed for User (Microsoft SQL Server, Error: 18456)” means you entered invalid credentials when logging into SQL Server.


Video Answer


1 Answers

Allow NT AUTHORITY/SYSTEM to server Role as sysadmin. enter image description here

enter image description here

like image 71
Musakkhir Sayyed Avatar answered Oct 10 '22 23:10

Musakkhir Sayyed