March 2023 Discount: Comprehensive Database Performance Health Check | Testimonials

  • Consulting
  • Training
  • Free Videos
  • All Articles
    • Interview Questions and Answers
    • SQL Tips and Tricks
    • SQL Performance
    • SQL Puzzle
    • Big Data
    • Blog Stats
    • SQL Books
    • Search SQLAuthority
  • Downloads
  • Hire Me
  • Health Check
  • Training

SQL SERVER – xp_logininfo – Msg 15404: Could not obtain information about Windows NT group/user, error code 0x2147

May 29, 2017
Pinal Dave
SQL
SQL Error Messages, SQL Login, SQL Server, SQL Server Security

One of my client was running into the below error running xp_logininfo on some of their users. It was interesting that when they run the script to capture user information it works for the same user in another domain. They asked me if there is anything specific they can look for to find out the difference between the two users in the different domains?

Read More

SQL SERVER – Login Failed. The Login is From an Untrusted Domain and Cannot be Used with Windows Authentication

April 18, 2017
Pinal Dave
SQL
Registry, SQL Error Messages, SQL Login, SQL Server, SQL Server Security

In SQL Server, there are error few messages which can be caused due to multiple reasons. One of the famous example is “Login Failed for User” error message. If you have seen this earlier, you would know that this message can come due to incorrect user name, incorrect password, incorrect database and many more other reasons. Whenever I see login failed, I look at SQL Server ERRORLOG to see the exact cause.

Read More

SQL SERVER – Logon Failure: The User has not Been Granted the Requested Logon Type at This Computer

April 14, 2017
Pinal Dave
SQL
SQL Error Messages, SQL Login, SQL Server, SQL Server Security

Sometimes DBA do something which they are not aware of and end up in looking at the logs to see what went wrong. Here is one of the articles I wrote about the changing service account from configuration manager. Why to Use SQL Server Configuration Manager Over Services applet (services.msc)? – Interview Question of the Week #112. In this blog post, let us learn how to fix logon failure error.

Read More

How to Change Owner of Database in SQL SERVER? – Interview Question of the Week #117

April 9, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Login, SQL Scripts, SQL Server, SQL Server Security

Question: How to Change Owner of Database in SQL SERVER?

Read More

SQL SERVER – Script to Audit Login and Role Member Change

April 6, 2017
Pinal Dave
SQL
SQL Audit, SQL Login, SQL Scripts, SQL Server

Once there was a security breach on my client machine and they wanted to know who made changes to the SysAdmin role. They contacted me and my first question was that, are you are auditing such changes and as expected answer was No. I gave them answer that nothing can be done as a consultant. They still wanted my suggestion to prevent this in future. So, they want to track if someone does such things in future. Let us see a script to audit login and role member change.

Read More

SQL SERVER – Log Shipping Copy Job Failure – The Password for This Account Has Expired

December 1, 2016
Pinal Dave
SQL
Log Shipping, SQL Login, SQL Password, SQL Server Security

Working as freelancer gives an opportunity to see various kinds of error and having fun to fix them. Recently, one of my blog readers sent an email and asked assistance on the log shipping issue. He said that log shipping copy job is failing.

As usual, I asked him error message and he shared below piece from copy job history.

Read More

When was Domain Account Password Changed in SQL Server? – Interview Question of the Week #093

October 16, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Login, SQL Password, SQL Server

If you are a DBA for quite some time, then at least once you must have encountered below error about Domain Account Password.

Error 1069: The service did not start due to a logon failure. I have already written a blog about this long ago.

Read More
Previous 1 … 3 4 5 6 7 8 9 Next
  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

© 2006 – 2023 All rights reserved. pinal @ SQLAuthority.com

Go to mobile version