Inconsistent Error: General Network Error. Check your network documentation

Posted on 2006-06-06
Last Modified: 2008-01-09
I am using the Microsoft Development Environment to work on some pages for a website.  I can encountering an error at random times and cannot determine why I am getting it.   The error says

'General network error.  Check your network documentation.

Description: An unhandled exception occurred during the execution of the current web request.  Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: General network error. Check your network documentation.

Soure Error:.....'

The error is always in a query but the query has not been changed and works at other times without changing any variables.  I contacted my web hosting service and they said there are no known server issues which would cause something like that.  It only seem to get this in development.  I don't seem to get this when the pages are live.  Any suggestions on how to fix this annoyance??
Question by:vb9666
    LVL 69

    Accepted Solution

    Hi vb9666,

    I had that intermittent problem last year.

    Add these 3 attributes to your connection string:
    Connect Timeout=60
    Max Pool Size=5

    Also set the CommandTimeout to a big value like 600000 on each command.


    Author Comment


    Thanks for the help.  I added the attributes to the connection string and that seemed to fix the problem.  I haven't updated in the timeout in each command yet (which there are many) but will if I notice any future problems.  


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
    In my previous article ( we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now