Skip to main content

Posts

Showing posts with the label SQL

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

  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: Solution :  https://stackoverflow.com/questions/24822076/sql-server-login-error-login-failed-for-user-nt-authority-system Allow NT AUTHORITY/SYSTEM to server Role as sysadmin. 

Create and Configure a User in MSSQL

This article will show you how to create and configure a user in MSSQL. Open SQL Server Management Studio (SSMS). Connect to SQL Server using your log in information. In the left-hand panel, expand  Security > Logins . Right click  Logins  and select  New Login  from the drop-down menu. Assign a Login name and select the authentication method and default database/language. Note:  Only Domains can use Windows Authentication. If you are using SQL authentication you will need to enter an initial password and choose the enforcement options for password policy and expiration as well as whether or not the user will need to change their password when they log in. In the left-hand panel, click  Server Roles  to assign any server roles you want this user to have, including  bulkadmin ,  dbcreator ,  public , and so on. In the left-hand panel, click  Securables  and then click  Search . The Ad...