Re: Open Connection fails with an "Unspecified Error"
- From: "Ralph" <nt_consulting64@xxxxxxxxx>
- Date: Wed, 16 Jan 2008 12:05:49 -0600
<harald.deischinger@xxxxxxxxxx> wrote in message
news:5570639e-cada-4693-bea2-80ffedaf3373@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
When opening a mdb database from two processes, each using two threads<snipped>
on many systems I catch sometimes an "unexpected error".
The error only shows up when using at least two processes with two
threads each, or using three processes one thread each. Strangely the
problem does not show on some systems. Most times the error shows up
just after one second of running the test application in two
processes, but sometimes several minutes of waiting are needed.
The example program below is only opening an closing a "devices.mdb"
database continuously.
I'm probably missing something, but a MDB file is just a file. With multiple
processes in a tight loop, IMHO, the only thing that would be "unexpected"
would be if there were NO errors. It is probably ADO Connection pooling that
keeps it error-free for those times it lasted "several minutes". <g>
-ralph
.
- Follow-Ups:
- Re: Open Connection fails with an "Unspecified Error"
- From: harald . deischinger
- Re: Open Connection fails with an "Unspecified Error"
- References:
- Open Connection fails with an "Unspecified Error"
- From: harald . deischinger
- Open Connection fails with an "Unspecified Error"
- Prev by Date: Open Connection fails with an "Unspecified Error"
- Next by Date: Re: Open Connection fails with an "Unspecified Error"
- Previous by thread: Open Connection fails with an "Unspecified Error"
- Next by thread: Re: Open Connection fails with an "Unspecified Error"
- Index(es):
Relevant Pages
|
|