🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Unspecified Error

#923
From: John
Date: Wed, 09 Mar 2005 00:40
59 lines
2483 bytes
Vladimir:

This seems a connection problem to MDB with ADO

This solves it:

 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 this procedure "+E.Message);
  }

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: <T6adneKCqprN0bPfRVn-gw@rcn.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.rcn.net!news.rcn.net.POSTED!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
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.rcn.net!news.rcn.net.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 08 Mar 2005 19:07:28 -0600
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 19:40:38 -0500
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Response
Message-ID: <T6adneKCqprN0bPfRVn-gw@rcn.net>
Lines: 61
NNTP-Posting-Host: 65.78.104.119
X-Trace: sv3-egoHne/UcgNJ4lzpKD9VrBoOIwHJpjDZKLaJVSIb3Z+4zqjEDqBpDQNeN6Brtk9IEgE0+JbB96TctRk!W/7BBVNcPHOtkqdAsRgBlVbHjFsiUQbDedFT8nRw/4X79Z48lutnenoen67nWydZ
X-Complaints-To: abuse@rcn.net
X-DMCA-Complaints-To: abuse@rcn.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.31