Posts Categorized: Case of the Week

SQL Server Case of the Week: Windows Server 22 Update Possibly Breaking SQL Agent & SSIS Packages

SQL Server case study of the week

We started receiving alerts that a client’s SQL Server Agent was not running.  Upon further investigation, we found that the server was recently restarted after Windows updates were applied.  While reviewing the installed updates, we encountered an issue with KB5071547 on Windows Server 2022.  After some troubleshooting, which included trying to start the agent from … Read more

SQL Server Case of the Week: SQL Server Audit Errors – Resolving a Common Error

SQL Server case study of the week

When SQL Server Audits Fail – Quick Summary SQL Server Audits – they’re running in the background, but what happens when something goes wrong? There is an alert that we have encountered that, if you follow the information in the error, typically does not lead you to the solution. What do you do then? Every minute the audit is … Read more

SQL Server Case of the Week: The Transaction Log of Your Snapshot Replication Publisher Database Won’t Truncate… But Why?

SQL Server case study of the week

Quick Summary When snapshot replication is configured with schema replication enabled, DDL changes are sometimes marked for replication but never marked for truncation, creating a false “undistributed command” that prevents log truncation and causes uncontrolled growth. The solution was to add a log reader agent using sp_addlogreader_agent on the publisher to mark all replicated commands for truncation.    Context The SQL … Read more

Distributed Availability Groups – Certificates, Crash Recovery, and Headaches (Case of the Week)

SQL Server case study of the week

There are a ton of great resources out there teaching you how to build a Distributed Availability Group (DAG), but there aren’t many at all that help you troubleshoot them when they go bump. Fortunately for you (and unfortunately for me) I’ve had enough experience administering DAGs that I’d like to start to share the … Read more

Troubleshooting SQL Server Failover Cluster Instance Weirdness

SQL Server case study of the week

Case of the Week: Quick Summary Two of the four clients’ SQL Server Failover Cluster Instances (FCIs) did not fail over to the secondary node. Context This is a SQL Server 2019 with four load-balanced FCI’s running on two physical servers with 64 CPUs, 4TB of memory, and a Pure Storage array on the backend. … Read more

SQL Server Case of the Week: FCI in AWS with SIOS Won’t Failover

SQL Server case study of the week

Quick Summary We received an on-call call from a client who was attempting to run a failover from on a SQL Server Failover Cluster Instance to another but the failover wouldn’t move to the secondary. They tried things, were using the things we had taught them about failing over for their patching or for other … Read more

dbatools Command Failing:  “The Parameter is Incorrect”

SQL Server case study of the week

This week’s case of the week post comes from Jack Corbett. Quick Summary  When attempting to use Copy-DBACredential in dbatools, I received the error “The parameter is incorrect,” yet other commands connecting to the same servers worked.  Context  I was working with a client to do an upgrade/migration from SQL Server 2016 to SQL Server … Read more