This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
SQL Server Service Control Manager error.

SQL SERVER – gMSA: The Service Did Not Start Due to a Logon Failure

July 2, 2018
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Error Messages, SQL Login, SQL Server, SQL Server Security

SQL Server running under a gMSA would not start: the service did not start due to a logon failure, yet no password had expired. Here is the real cause.

Read More
Errmsg about logins created with password.

SQL SERVER – Transfer Logins Error: Msg 15419: Supplied Parameter sid Should be Binary(16) – sp_help_revlogin

June 21, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Login, SQL Scripts, SQL Server, SQL Server Security

Moving logins with sp_help_revlogin, I hit Msg 15419: supplied parameter sid should be binary(16). Here is what causes it and how to fix the script.

Read More
SQL SERVER - Always On Replica Disconnected After Changing SQL Server Service Account

SQL SERVER – Always On Replica Disconnected After Changing SQL Server Service Account

June 1, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL Login, SQL Server, SQL Server Security

After I changed the SQL Server service account in my lab, the Always On secondary replica went disconnected. Here is why the endpoint rejects the new account.

Read More
SQL SERVER - Unable to Bring SQL Cluster Online - Reason: The Account is Disabled

SQL SERVER – Unable to Bring SQL Cluster Online – Reason: The Account is Disabled

May 21, 2018
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Server, SQL Server Cluster, SQL Server Management Studio, SQL Server Security

After security hardening, a client’s SQL cluster resource sat in Online Pending, then failed: the account is disabled. Here is how we found and fixed it.

Read More
A room key and a separate outer gate key show different access scopes.

SQL SERVER – Creating a Login and Database User Without Automatic Sysadmin Grants

May 16, 2018
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server, SQL Server Security

To Create a Login and User, I separate the instance identity from database access. Database ownership and sysadmin membership have different scopes.

Read More
SQL SERVER - Be Careful with Logon Triggers - Don’t use Host_Name

SQL SERVER – Be Careful with Logon Triggers – Don’t use Host_Name

April 14, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Login, SQL Scripts, SQL Server, SQL Trigger, Starting SQL

A reader used HOST_NAME() in a logon trigger to limit access. Here is why that is risky, and why Logon Triggers can lock everyone out if you are not careful.

Read More
Failed to retrieve data error.

SQL SERVER – Database Attach Failure – Msg 2571 – User ‘guest’ Does Not Have Permission to Run DBCC Checkprimaryfile.

March 14, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Login, SQL Scripts, SQL Server, SQL Server DBCC, SQL Server Security

Attaching MDF and LDF files after a disaster failed with Msg 2571: user guest does not have permission to run DBCC checkprimaryfile. Here is the fix.

Read More
Previous 1 2 3 4 5 6 7 … 14 Next
  • Books
  • Testimonials
  • Privacy Policy

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