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
Gouache painting of two hourglasses of different sizes standing on a wooden desk, with the larger one holding vermilion sand

Connection Timeout Expired: Log Shipping Job Failed to Connect to Server

January 10, 2020
Pinal Dave
SQL Tips and Tricks
Computer Network, Log Shipping, SQL Connection, SQL Error Messages, SQL Server Agent

Connection timeout expired failed a log shipping restore job at a client. The pre-login handshake alone took about 33 seconds, past the 30 second default. Staggering the jobs and adding -logintimeout 60 to the job step fixed it.

Read More
Gouache painting of a row of three identical small wooden watchman huts, with the third hut having a vermilion door and a closed shutter

Could Not Log History: Log Shipping Copy and Restore Jobs Fail

January 9, 2020
Pinal Dave
SQL Tips and Tricks
Log Shipping, SQL Error Messages, SQL Scripts, SQL Server Agent, SQL Server Security

The Could not log history error stopped the Copy and Restore jobs of a client’s log shipping. The Agent account was a sysadmin on the primary and secondary, but not on the monitor server. A third Profiler trace showed it.

Read More
Gouache painting of a large wooden cabinet on a small cart, too wide for the narrow cottage door in front of it, tied with a vermilion strap

Msg 3169: Managed Instance Backup Fails to Restore On-Premises

January 3, 2020
Pinal Dave
SQL Tips and Tricks
SQL Azure, SQL Backup and Restore, SQL Error Messages, SQL Server

Msg 3169 told a client that a backup from SQL Azure Managed Instance was incompatible with their on-premises SQL Server 2019, even though both showed version 15. Managed Instance backups can only be restored to another managed instance, so we used a BACPAC instead.

Read More
Gouache painting of two matching baskets of sage pears on a market stall, one holding a single vermilion pear

Missing tempdb Files: master_files vs database_files

December 6, 2019
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL TempDB

Missing tempdb files show up as a mismatch between sys.master_files and tempdb.sys.database_files. This post compares the two with a query, simulates the missing files on a copy of the catalog, and shows the error log message that gives the cause. The fix is to correct the path and restart.

Read More
Gouache painting of two wooden cogwheels with different tooth sizes side by side on a workbench so they cannot mesh, one wheel vermilion

Error 17182: Unable to Initialize SSL Support in SQL Server

November 11, 2019
Pinal Dave
SQL Tips and Tricks
Computer Network, SQL Error Messages, SQL Log, SQL Server Installation, SQL Server Security

Error 17182 says the client and server do not possess a common algorithm. A client could not install SQL Server 2014 because the build did not support TLS 1.2. Switching protocols, patching and switching back fixed it.

Read More
Gouache painting of a bicycle wheel leaning on a wall, with a tray of plain identical spokes and one single vermilion spoke laid beside it

No Custom Security Extensions: SQL Server Upgrade Rule Failure

October 25, 2019
Pinal Dave
SQL Tips and Tricks
Reporting Services, SQL Error Messages, SQL Server, SQL Upgrade

The No Custom Security Extensions rule failure stopped a SQL Server upgrade because Reporting Services had custom extensions configured. The fix that worked was to clear the extensions in RSReportServer.config, upgrade, and put them back afterward.

Read More
Gouache painting of a cream wall with a faint pale rectangle where a picture used to hang, and one nail with a vermilion head left in the wall

Setup Error 1060: The Specified Service Does Not Exist During Upgrade

October 22, 2019
Pinal Dave
SQL Tips and Tricks
Reporting Services, SQL Error Messages, SQL Server, SQL Server Installation, SQL Upgrade

Setup error 1060 stopped an in-place upgrade from SQL Server 2008 R2 to 2014 right after the product key. The setup log asked for a ReportServer service that no longer existed. Removing the leftover SSRS fixed it.

Read More
Previous 1 … 5 6 7 8 9 10 11 … 117 Next
  • Books
  • Testimonials
  • Privacy Policy

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