Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 897727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T14:55:43+00:00 2026-05-15T14:55:43+00:00

Background WCF Stack, Data Access Implemented in Entity Framework, Simple ASP.NET Front End This

  • 0

Background WCF Stack, Data Access Implemented in Entity Framework, Simple ASP.NET Front End

This is a two part question.

Recently we ran into an issue with periodic crashes with an exception that read:

A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 – The specified network name is no longer available

We had been running our application without issues for over a week, and then all the sudden we were hit with this random crash/ If I had to guess I would say it was network related, but we were unable to determine the exact source. Has anyone periodically gotten this message? If so what was the root cause?

Second question is someone suggested to set “async=true” in our Entity Framework connection string. I was under the impression this just enables the async api. Does this do anything when you are using EF? Does switching this flag do anything with the queries that get generated by EF?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T14:55:44+00:00Added an answer on May 15, 2026 at 2:55 pm

    To be that guy I will answer this one on my own.

    First I posted the question about the “async=true”s effect on entity framrwork to MS and no one answered … as usual(if they answer i will update this post).

    Our issue:

    A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 – The specified network name is no longer available

    Was environment related. Something was causing the DB to run a little bit slower, but it was hinting to a larger issue. Apparently EF has horrible issues when you share context between threads (not an easy problem to solve), so we were seeing a race condition with opening connections.

    We basically had a “read only context” that only did gets. Our issue was two threads attempt to open the connection at the same time, one wins, the other loses resulting in some variation of the exception below:

    The connection was not closed. The connection’s current state is connecting.

    Our solution was to convert our singleton to be thread specific. Not exactly what we wanted, but it worked, and when we pushed this fix our other issue magically went away.

    The second half to this question was what does async=true do. When it comes to EF, it made our system crash. We had a block of code that did a join, and if async=true and MARS=false we got a:

    There is already an open DataReader associated with this Command which must be closed first

    Once we cut back on MARS, and disabled async things were good again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 506k
  • Answers 506k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I think you're looking for pinned data tips (new to… May 16, 2026 at 3:45 pm
  • Editorial Team
    Editorial Team added an answer It looks like that he wanted to use a local… May 16, 2026 at 3:45 pm
  • Editorial Team
    Editorial Team added an answer It's hard to say what the "best" way is because… May 16, 2026 at 3:45 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Background: We are hosting a .NET 4.0 Windows Workflow activity inside a WCF service
Background Converting from using .Net Remoting to WCF. Most of the methods on the
Background : I currently have a Web Forms, ASP.NET 3.5/C# application which I'm interested
Background: I have written a generic logging library in .NET 3.5. Basically the developer
Background: I have a WCF service deployed on my local machine that in turns
I come from a MS / C# / .Net background, and am accustomed to
Background We have a Windows .NET application used by our field employees who travel
Can a single WCF Service endpoint be set up to authenticate against multiple Authentication
Our WCF services occaisionally spawn a worker thread to handle something that the client
We have a WCF service (BasicHttpBinding) which will always fail after 30 seconds. Calls

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.