SQL EXECUTION TIMEOUT ERROR on SSMS v21

Manish Bundhun 20 Reputation points
2025-10-14T08:43:42.99+00:00

Hello,

When queries that take longer than 30 minutes are executed, the following error pops up:
'Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding'.image

I am currently using SSMS version 21.5.14.
I do get results for simpler queries that run within 30 seconds.

I also set the Execution time-out setting to 0 seconds (no timeout) and to 60000 seconds as a test, and I still get the error.

Did someone else experience this too? And is there a fix for this?

Thanks in advance.

Gr,
Manish

SQL Server Database Engine
0 comments No comments
{count} votes

Answer accepted by question author
  1. Viorel 125.6K Reputation points
    2025-10-14T09:09:38.7366667+00:00

    To work around the problem, try to save the queries, restart Management Studio, and set the timeouts in the new Connect dialog (Advanced button):

    It seems that the problem is resolved, but the fix is not available yet.

    2 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Erland Sommarskog 128.6K Reputation points MVP Volunteer Moderator
    2025-10-14T20:43:10.8433333+00:00

    As Viorel said, the issue has been fixed - and the fix was released today, a couple of hours after Viorel made his post. Make sure that you install SSMS 21.6.17.

    Also, observe this from the release notes:

    Reinstated the execution timeout default value to 0. See Execution Timeout Expired. Note: this change doesn't update the execution timeout value for existing connections. To resolve this issue, delete all previously created connections or manually update the execution timeout to 0.
    2 people found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.