Re: System.Data.SqlClient.SqlException: General network error. Check your network documentation.

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Kevin Spencer (kspencer_at_takempis.com)
Date: 06/21/04


Date: Mon, 21 Jun 2004 14:40:46 -0400

This error can mean any number of things. It can indicate that, indeed, some
network error has prevented the Connection. It can mean that the database
has run out of room on the disk.It can mean any number of catastrophic
things that don't fall into the category of "bugs" in other words, such as
the database being stopped, or deleted, or something along those lines. In
other words, it is not a bug in your code, or in the database, but some
external force that has stopped the database from responding.

-- 
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Kal" <kalyankk@hotmail.com> wrote in message
news:7c8aba07.0406210941.1e3e77d4@posting.google.com...
> Hello,
>
> System.Data.SqlClient.SqlException: General network error. Check your
> network documentation.
>
> What does this error means? My web app, suddenly started to show this
> error today in my production environment, beta environment,
> development environment, and also on my machine too.
>
> When i debugged the app, i see that the error is happening when the
> app is trying to open a connection using integrated security. For test
> sake, in the connection string, i passed in userid and password and
> then i don't get the error.
>
> It is very puzzling.
>
> Any body faced the same situation before.
>
> Thanks,
> Kalyan


Relevant Pages

  • Re: Ada DB bindings and APQ
    ... The database client "interface" from an object perspective ... Environment ... The connection ... This is why they began as separate ...
    (comp.lang.ada)
  • RE: 32 Bit Application disconnecting from database in the evening
    ... object that opens a connection to a SQL server database using a DSN. ... Any error messages (error dialog, log files, records in event log, etc.) ...
    (microsoft.public.data.odbc)
  • Re: Cincom vw7.5nc ODBC to MS Access
    ... cannot find any environment variable specifying an ODBC DSN. ... Then you sent the connection environment to the DSN name ... VisualWorks Database Application Developer's Guide (http:// ...
    (comp.lang.smalltalk)
  • Re: Ada DB bindings and APQ
    ... The only way Ada might help ... Because Connection has no methods except for a construction function, ... > environment object for each database used (unless I was logging ...
    (comp.lang.ada)
  • Re: network disconnection to the local database.
    ... network error. ... Check your network documentation. ... At the beginning I used the machine DNS name in the connection string ... connection to the local database should always be ...
    (microsoft.public.data.ado)