A transport-level error has occurred when sending the request to the server.

4

March 27, 2019 by Kenneth Fisher

Brent recently did a post called In Azure SQL DB, what does “The connection is broken and recovery is not possible” mean? and really the main point of the post was this:

All it really means is, “Click Execute again, and you will be fine.”

FYI you can also get the same error when connecting to an on-premises instance and it still means the same thing.

Also along those lines here is another similar error that also means the same thing:

A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)

Translated as: “Click Execute again, and you will be fine.”

You can get additional information here.

I do want to give one warning though. When you see these errors trying again will almost always re-connect you. However, unless your connection is told to go directly to the database you need (as would happen with an Azure SQL DB connection) you may end up back at your default database.

4 thoughts on “A transport-level error has occurred when sending the request to the server.

  1. Chad says:

    I’d like to know why it is that when you have a query that had been open in SSMS for a while (several hours to several days) that it will lose the connection, but not give you the option to re-establish one. Your only recourse is to Ctrl+A, copy and paste into a new query window or close and re-open the query. What’s up with that MS?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 2,507 other followers

Follow me on Twitter

ToadWorld Pro of the Month November 2013
%d bloggers like this: