Sunday, March 27, 2022

Login failed for user 'NT AUTHORITY\SYSTEM' in SQL Server

 Here below the steps for resolving the login error of Sql Server.


Go to security tab under your database.

Click to expand the Users tab under security.

Find weather NT AUTHORITY\SYSTEM is present.

If not, Right click on users, Click on new user

In new user window, general tab change the user type to windows user.

Select the User name to, NT AUTHORITY\SYSTEM you will have to find it in the Advanced tab, find now, and select system.

Similarly for login name, browse and find NT AUTHORITY\SYSTEM.

And in the membership tab to the left, select all the required boxes except  db_denydatareader and db_denydatawriter and click ok.


Tuesday, March 1, 2022

Error Code 0x80070021 in IIS Web Deploy

 



If you deploy any website in IIS and you will found this error then might steps will help you.

Steps

  1. Search for "Turn windows features on or off"
  2. Check "Internet Information Services"
  3. Check "World Wide Web Services"
  4. Check "Application Development Features"
  5. Enable all items under this

Hope this helps!