Re: SQL Server does not exist or access denied.
- From: "Brad Sarsfield" <bradsa@xxxxxxxxxxxxx>
- Date: Thu, 29 Sep 2005 17:03:38 -0700
There are a number of things that could be going on here. Let's get some
more info on your environment
What transport are you using (TCP, LPC, NP)?
TCP has is less overhead and network reads/writes over NP.
Check out the following KB's for tweaking your TCP ack depending on your
environment
http://support.microsoft.com/kb/328890/
http://support.microsoft.com/default.aspx?scid=kb;en-us;q315669
There is also a limit on the number of open TCP ports that you can have
at any given time.
There are others under HKLM\SYSTEM\CurrentControlSet\Services\TcpIp
check it out on MSDN.
Are you using SQL auth?
I have seen issues if the DC isn't available (network) and you're using
domain users.
What is the load of the client(s)/server connecting? Are there any specific
loads during failure time?
If either are under heavy memory / cpu pressure you could experience
dropped connecitons.
I would really like to help understand what's going on in your environment.
Have you considered using connection pooling? A million connections per day
is about 10-12 new connections per second. That could be a significant load
depending on how much work is going on in the engine.
--
Brad Sarsfield [MSFT] bradsa(at)microsoft.com
This posting is provided "AS IS", with no warranties, and confers no rights.
<stevehunter_1@xxxxxxxxxxx> wrote in message
news:1128030310.743829.224010@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I get the following error when trying to connect to SQL Server
>
> SQL Server does not exist or access denied.
> ConnectionOpen (Connect()).
>
> Scenario:
>
> The application connects to SQL Server very frequently (million+ times
> per day). It fails with this error message about 100 times.
>
> The failure rate is not very high and unfortunately, I can not open one
> or more connections. I must open connection and close and do this
> again a million times.
>
> So I need to solve this problem. Where would you start? I set
> timeout to 2 minutes and this helped a lot, but i still get errors.
>
.
- Follow-Ups:
- Re: SQL Server does not exist or access denied.
- From: stevehunter_1
- Re: SQL Server does not exist or access denied.
- References:
- SQL Server does not exist or access denied.
- From: stevehunter_1
- SQL Server does not exist or access denied.
- Prev by Date: Re: Executing Procedures through LInked Server
- Next by Date: Re: authentication error
- Previous by thread: SQL Server does not exist or access denied.
- Next by thread: Re: SQL Server does not exist or access denied.
- Index(es):
Relevant Pages
|