I have a VB6-application that opens a ADO connection to a sql server
database at startup. Everything is ok, as long as there is not much database
work to do. As soon as I start a calculation that works a lot in the
database (reads and writes in appr. 10 tables), it takes about 1 minute and
I get the message: SQL Server does not exist or acess denied. Since the app
shows the status of the job you can see that the error occurs always after
exactly the same number of database operations done. the strange thing is,
that the error shows up on XP prof. only. The same app doing the same job on
the same database works fine in W2K.
What I've tried so far:
- installed all available service packs and hotfixes on XP maschine
- updated existing MDAC 2.71 to 2.8
- changed connection string to use OLEDB instead of DSN
- deaktivated pooling
The error does NOT occur when working with MSDE, no matter wether local or
remote installation.
Any hint appreciated
Chris
No, I open the connection on startup and keep it open until the program
terminates.
type: DWORD
name: MaxUserPort
value: 10000 (decimal)
For details see:
http://support.microsoft.com/default.aspx?scid=kb;en-us;328476
Chris
We created these two registry keys on our Windows 2003 server and
everything has been working great ever since. Actually, it's been
working better than the 2000 machine is. There are less errors and the
site seems to run faster. I know IIS6 is faster, but we can tell that
it's running a little better.
What we did was tweak the numbers here a bit to use 15 for the
TcpTimedWaitDelay and 40000 for the MaxUserPort. We found that these
numbers worked better for us.
Anyway, I just wanted to post in case somebody else that's having this
super annoying and frustrating problem comes across this message.
There is hope and there is a fix.
The craziest thing of all, which still drives me nuts, is the fact that
nobody knows why it happens.
Oh well, as long as it's working I'm happy!
Hi Don,
What is **this thread**? What thread are you referring to?
Your answer begins as new thread in my OE news reader, and I'd be THRILLED
to know where you found that "does not exist" solution.
Regards,
Frank
-Sue
donkitchen at gmail dot com
Regards,
Frank
Thanks again