The login failed. Login failed for user 'NT AUTHORITY\NETWORK SERVICE'

Symptoms

When configuring the database via the Administration and Monitoring Console you may face the error message:

"The login failed. Login failed for user 'NT AUTHORITY\NETWORK SERVICE'." Check the connection settings and try again. The connection to the database failed due to the error: Failed to log on to the user 'FCUser'. Check the connection parameters and try again.

Usually, this pop-up message means that either the user 'NT AUTHORITY\NETWORK SERVICE' is not listed in the SQL Server among the users or it doesn't have sufficient privileges to connect to the SQL server and create any database. 

Solution

  1. First-of-all check that SQL was installed in mixed mode (server and win auth).
  2. Login to SQL Server via SQL Server Management Studio.
  3. Go to the "Security" directory of the database.
  4. Right-click the Users directory.
  5. Select "New User...".
  6. Add 'NT AUTHORITY\NETWORK SERVICE' as a new user.
  7. In the Data Role Membership area, select db_owner.
  8. Click OK.

Run the Administration and Monitoring Console as admin and try to create a new database once again.

Related articles

Creating a database 

Connecting to an existing database

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Recently viewed