Posted by Hugo Kornelis on 01/25/06 22:07
On 25 Jan 2006 07:59:45 -0800, kwdavids wrote:
>I'm getting occasional instances of the error:
>
>[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or
>access denied
(snip)
>The only thing that seems to work is to set the connection timeout and
>command timeout to 6 minutes.
Hi kwdavids,
And I assume that this "fix" replaces your problem with the problem of
intermittend long waits?
It sounds as if a periodic process is blocking your reads, causing them
to wait until the process is finished. To identify this process:
1. Increase the timeout, as you've already tried;
2. Monitor the application until the delays start;
3. Use sp_lock and sp_who2 in a Query Analyzer window to identify the
process that is blocking your reads.
--
Hugo Kornelis, SQL Server MVP
[Back to original message]
|