Hi,
Check next link about potential causes for this error
http://support.microsoft.com/kb/328306/en-us

Signature
Val Mazur
Microsoft MVP
http://xport.mvps.org
> Hello dear Newsgroup!
>
[quoted text clipped - 31 lines]
>
> Peter Slovacek
slovi@gmx.de - 20 Feb 2006 08:39 GMT
Val Mazur (MVP) schrieb:
> Hi,
>
> Check next link about potential causes for this error
>
> http://support.microsoft.com/kb/328306/en-us
Hi Val,
thx for the answer. We already find this Microsoft Error Description.
The problem is that the error is not caused by errorenous connection
data or by hardware problems. There are no problems under Win2000, but
we got this error spradic and only for an milisecond. after resume it
works.
MarCoL2005 - 20 Feb 2006 19:49 GMT
Hi Peter,
I have also the same problem. Also i haven't solved this problem and i
have searched for this problem for a couple of months. I have read one
thread maybe this can solve your issue, you can try this
http://support.microsoft.com/default.aspx?scid=kb;en-us;328476. This
solves your problem if you are opening 4000+ connections. It doesn't
solved my problem. I have also the problem that i'm getting DBNETLIB
SQL server does not exist or access denied messages randomly. When i'm
firing 700 queries it goes down, it works very well on Windows 2000 but
with 2003 i'm getting this stupid messages. I think nobody has solved
this. . .
What is your oppinion and does the link solved your problem?
Marco
Marcol2005@yahoo.com
slovi@gmx.de - 22 Feb 2006 09:39 GMT
it seems we have the same problem. our application does a couple of
hundred ado operations at once too.
we found a workarround as we changed the connection string from oledb
to an odbc connection type.
Hi all, who encounter the "does not exist / access denied" error,
I repeat my post here that I had already contributed a year ago:
The connection may have got lost because the client machine opens
a new TCP port with every access to the SQL Server without
re-using the connections/ports previously opened. (TCP port is not
equivalent to SQL Server connection.)
You can watch this behaviour with the netstat service program run in a
DOS window. Connections not being re-used get into the TIME_WAIT state
and will be automatically deleted/released after 4 minutes, unless the TCP
settings are re-configured.
According to how frequently an application accesses the server, it might
happen that you get thousands of TIME_WAIT connections in a relatively short
period of time, until the resources are dead.
This error occurs sporadically, depending on how much TCP ports
are open/released again on the client machine at a given moment.
It results in errors like
[DBNETLIB]SQL server does not exist or access denied
[DBNETLIB]General network error, and a few others.
To mitigate this, you could introduce a second ADO.Connection in
critical places, so that connection pooling works or rather works at all.
Critical place is, for instance, if you open a recordset and before closing
it, you open a second recordset via the same ADO.Connection. Take a
different one. (This is my standard reply, and it may not apply to your
specific application.)
By this measure, I was able to reduce the number of open TCP ports
from 1000 to 3 in my application.
Other measures are Registry TCP settings (That may apply to your app):
MaxUserPort:
Increase the number of TCP ports to allow more open ports.
TcpTimedWaitDelay:
Decrease the number of seconds, until a TCP port is released (down to 30).
in
HKLM\System\ControlSet\Services\Tcpip\Parameters
I've read somewhere that this behavior of lots of TCP connections
not being reused came into Windows out of security reasons
in order to prevent that hackers gain access to a server through such
an open channel without authentification.
-------
Frank
MarCoL2005 - 28 Feb 2006 08:52 GMT
Is there any other idea what can cause the "does not exist / access
denied" error. It appears sometimes and not everytime. When firing +/-
700 queries.
Any idea is appreciated.
TIA,
Marco
Frank Lehmann schreef:
> Hi all, who encounter the "does not exist / access denied" error,
>
[quoted text clipped - 46 lines]
> -------
> Frank
Frank Lehmann - 28 Feb 2006 14:52 GMT
Hi Marco,
Did you check all the issues I stated in my post?
What were the results of those checks - give a little feedback first.
- Do you have several open recordsets via the same ADO connection in
your app?
- Did you alter the TCP/IP settings in the registry?
Regards,
Frank
> Is there any other idea what can cause the "does not exist / access
> denied" error. It appears sometimes and not everytime. When firing +/-
[quoted text clipped - 57 lines]
> > -------
> > Frank