🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #924

Re: Unspecified Error

#924
From: John
Date: Wed, 09 Mar 2005 01:51
61 lines
2273 bytes
Vladimir:

This seems to happen to me on connection. How about you?

I can solve it by doing this:

try
  {
   ADOConnection1->Connected=true;
  }
 catch(EOleException &E)
  {
   ADOConnection1->Connected=false;
   Sleep(5000);
   ADOConnection1->Connected=true;
  }
 try
  {
   ADOQuery1->Active=true;
  }
 catch(Exception &E)
  {
   ShowMessage("Unexpected exception during work"+E.Message);
  }

If my application does connection, disconnection, connection, then the 
exception gets thrown.

John

"Vladimir Stefanovic" <antivari@po.sbb.co.yu> wrote in message 
news:422de1c5@newsgroups.borland.com...
>I just got that error yesterday during a very long
> procedure on one Celeron 1,7Mhz.
>
> It was ADO & MDB involved in an operation. There
> wasn't any complicated code - but was processing a
> lot of records (400,000) and the program chrashed maybe
> on 30% completed.
>
> On the other (more powerful) machine, the procedure
> succeded.
>
>
>
> -- 
> Best regards,
> Vladimir Stefanovic
> "John Borchers" <jborchers@notmail.com> wrote in message 
> news:422dada8@newsgroups.borland.com...
>> All,
>>
>> Why might one get an Unspecified Error EOleException during an ADO (ODBC 
>> MDB) connection?
>>
>> Thanks,
>>
>> John
>>
>
> 
Technical Details
Message-ID: <422e57f9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsprint.newsread.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <422dada8@newsgroups.borland.com> <422de1c5@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,c242881b8f963031
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "John" <jborchers@nohere.rcn.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <422dada8@newsgroups.borland.com> <422de1c5@newsgroups.borland.com>
Subject: Re: Unspecified Error
Date: Tue, 8 Mar 2005 20:51:00 -0500
Lines: 63
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
NNTP-Posting-Host: 65.78.104.119
Message-ID: <422e57f9$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110333433 65.78.104.119 (8 Mar 2005 17:57:13 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsprint.newsread.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail