Blitz Result: Slow Storage Reads or Writes

https://www.brentozar.com/blitz/slow-storage-reads-writes/ SQL Server feels the need – the need for speed.  Storage speed, to be more specific.  One of the most common bottlenecks is underperforming storage subsystems. SQL Server tracks read and write speeds for each database file – both data and log files.  This part of our SQL Server sp_Blitz script checks sys.dm_io_virtual_file_stats looking for average... » read more

DBCC CHECKDB Not Run Recently

https://www.brentozar.com/blitz/dbcc-checkdb-not-run-recently/ When SQL Server writes data to your drives, it just assumes everything’s okay until it needs to read the data back again. Unfortunately, in the event of storage corruption, the storage isn’t so kind as to alert SQL Server.  And sometimes, SQL Server has even been known to corrupt itself. We need to periodically check... » read more

SSRS 2022 Install Error with .NET

Error: Getting the following error when trying to install SQL Server Reporting Services (SSRS) 2022 Dev. Stuck on “Installing Microsoft .NET 4.8” Error code 0x800713ec-Asia Fix: Install the offline .NET Framework installer version first, then go back and install SSRS. The server might not have internet access. SSRS install will need to download specific packages... » read more

SELECT failed because the following SET options have incorrect settings: ‘QUOTED_IDENTIFIER’

Error: SELECT failed because the following SET options have incorrect settings: ‘QUOTED_IDENTIFIER’. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations. Fix: Replace… SET QUOTED_IDENTIFIER OFFGO with… SET QUOTED_IDENTIFIER ONGO SET QUOTED_IDENTIFIER must... » read more

The service did not start due to logon failure.

Error: Getting the following error when trying to set a network account to run SQL Server service. The service did not start due to logon failure. Fix: Make sure the network account has “logon as a service” permission. Enable service log on permission for Run As accounts Go to Administrative Tools and select Local Security... » read more

Install StackOverflow Database Locally

https://www.brentozar.com/archive/2015/10/how-to-download-the-stack-overflow-database-via-bittorrent/ After you download it, extract the .7Zip files with 7Zip. (I use that for max compression to keep the downloads a little smaller.) The extract will have the database MDF, NDFs (additional data files), LDF, and a Readme.txt file. Don’t extract the files directly into your SQL Server’s database directories – instead, extract them somewhere... » read more

Unable to Drop/Delete Database from Server

Use the following to drop the database… If the above failed, do this… Stop the SQL Services. Kill the sqlserver.exe process on service if the services fail to stop. Manually delete the physical database files from the drives. Restart the SQL Services, then drop the database.

MMC could not create the snap-in for SQL Server Configuration Manager

Error: MMC could not create the snap-in for SQL Server Configuration Manager RegEdit: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\SnapIns{eeed5f7e-9cae-45e2-9dd6-c9f44246cc37} C:\Program Files\Microsoft SQL Server\160\Tools\Binn\SqlManager.dll file not found Fix: Microsoft Management Console (MMC) is a built-in feature in Windows operating system that lets you manage snap-in on the go. Snap-ins are basic component of a console. Sometimes, snap-ins may not work properly,... » read more