Share via

sql timeout error

k muthus 41 Reputation points
2022-03-10T04:47:08.87+00:00

We have a query that queries huge table . after some time we get that error
A transport-level error has occurred when receiving results from the server.

tried increasing the timeout also . no improvement

is there any way to fix

SQL Server | Other

3 answers

Sort by: Most helpful
  1. Michael Johnson 6 Reputation points
    2022-09-08T05:43:44.767+00:00

    A timeout error means that a certain operation takes longer than needed. The client application stops the operation (instead of waiting indefinitely), which may block other operations and suspend an application.


  2. Olaf Helper 47,616 Reputation points
    2022-03-10T06:41:24.733+00:00

    A transport-level error has occurred when receiving results from the server.

    That error has nothing to do with any time out, it's more a network related issue. Check it with your IT dept.

    0 comments No comments

  3. YufeiShao-msft 7,156 Reputation points
    2022-03-10T06:05:01.09+00:00

    Hi @k muthus

    What are the specific error received? What the error log says? Because there are many reason for this error.

    Since you mentioned the timeout
    It mainly occurs due to an issue with the connection/network. Verify network latency in your network
    Incorrect TCP/IP settings, inappropriate network packet size configured in SQL Server, Network Interface Card driver issue

    Ensure the firewall allow SQL Server access
    If you use a VPN to get connected? Maybe the issue happens when you are connected or disconnected from the VPN.

    https://stackoverflow.com/questions/853676/how-to-avoid-sql-query-timeout

    -------------

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

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.