Re: [DBNETLIB][ConnectionRead (WrapperRead()).]General network error.

From: joker (no-spam_at_netzero.com)
Date: 08/19/04


Date: Wed, 18 Aug 2004 19:23:02 -0600

Try this part of the page. At least to me it looks like your error.

Microsoft OLE DB Provider for SQL Server error '80004005'
[DBMSSOCN] General network error. Check your network documentation.

or

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets] General network
error. Check your network documentation.

or

Microsoft OLE DB Provider for SQL Server error '80004005'
[DBNETLIB][ConnectionOpen (PreLoginHandshake()).] General network error.

This is often a firewall / router issue. Test that your web server can
ping the SQL Server (both by name and IP) and make sure that your
connection string points to a valid IP address or network name.

Of course I could be reading it wrong so I'm not 100% sure. I saw the
"Microsoft OLE DB Provider for SQL Server error '80004005'" Error & thus
since that article if for database related issues for that error number
I thought it might help you out.

Dunc wrote:

> Uhh... Not sure what I'm looking at - the page doesn't actually contain the
> error I've got...?
>
> Dunc
>
> "joker" <no-spam@netzero.com> wrote in message
> news:#LifVpVhEHA.140@TK2MSFTNGP12.phx.gbl...
>
>>http://www.aspfaq.com/show.asp?id=2009
>>
>>Dunc wrote:
>>
>>
>>>Hi,
>>>
>>>I've got a web app that has a reasonably small database. I've got a
>
> stored
>
>>>proc which returns around 7 recordsets, and everything works fine.
>
> Problem
>
>>>I've got - on ONE SINGLE RECORD every time I access it through an ASP
>
> page,
>
>>>I get the error:
>>>
>>> Microsoft OLE DB Provider for SQL Server error '80004005'
>>>[DBNETLIB][ConnectionRead (WrapperRead()).]General network error. Check
>
> your
>
>>>network documentation.
>>>
>>>If I run the SP manually through Query Analyzer for that line, it runs
>
> fine.
>
>>>The line it dies on is:
>>>SET rs = rs.NextRecordset
>>>
>>>My connection string is:
>>>Provider=SQLOLEDB;Server=192.168.0.100;User ID=MyUser;Password=MyPass
>>>
>>>As per a MS knowledge base, I've tried adding:
>>>OLE DB Services= -2
>>>
>>>Still get the same error on the same record.
>>>
>>>Has anyone experienced and fixed this - or something similar - before?
>>>
>>>Thanks in advance,
>>>
>>>Dunc
>>>
>>>
>>
>
>



Relevant Pages