Fastest way to shrink database log files

If the database can do with just a simple backup/recovery model, then… Change database from “Full” recovery model to “Simple” recovery model (Database Properties -> Options) Shrink database log file (Tasks -> Shrink -> Files -> Shrink Log Files)

Unable to see a list of job history

Issue: Unable to see a list of past job history. Only see the most recent. Default settings limits to last 1000 records overall and last 100 records per job. Fix: Make sure the Limit size of job history log is not enabled. Else you will not be able to see older jobs history. SQL Agent... » read more

Unable to Join Database to Availability Group

Issue: Unable to join restored database to Availability Group You can create an availability group using the New Availability Group wizard or using a series of transact-sql commands. A common failure can occur when attempting to create an availability group using either method. The error is as follows and is caused because the target primary... » read more

Windows Server Failover Cluster unavailable as Cluster Type

Issue: “Windows Server Failover Cluster” is not available as a Cluster Type option. Resolution: Make sure AlwaysOn has been setup on all nodes. Restart SQL Server services. If none of the above work, try to re-setup AlwaysOn. Remove node from AlwaysOn and then re-add node to AlwaysOn. Restart SQL Server services.

SQL Server RS.exe Utility

rs.exe SQL Server 2012 D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn SQL Server 2019 D:\Program Files\Microsoft SQL Server Reporting Services\Shared Tools\ Error: ‘rs’ is not recognized as an internal or external command Solution: Per MS’s site it’s anticipating this utility to be in “…\Microsoft SQL Server\###\Tools\Binn” so copy the rs files over to: D:\Program Files (x86)\Microsoft SQL... » read more

Deploy SSIS Package via .SSISDeploymentManifest file

Copy SSIS package file (.dtsx) to server. Run xxxxxx.SSISDeploymentManifest file to start the Package Installation Wizard. Make sure the configuration file xxxxxxConfig.xml also exist in the same folder. The Package Installation Wizard will look for this file for configuration setup. Deployment with this method will set the database connection string. SSIS Package deployment using SSIS... » read more

Unable to Connect to Integration Services

Issue: Unable to view SSIS packages via Integration Services in SSMS. Get “Access is denied” when trying to connect to Integration Services service on the computer xxxxxx. Fix: Run SSMS in “Administrator” mode. Then access the SSIS package by connecting to Integration Services instead of the Database Engine.