Article View: borland.public.cppbuilder.database.ado
Article #411EOleException when opening Dataset
From: lagerist
Date: Tue, 07 Nov 2006 06:39
Date: Tue, 07 Nov 2006 06:39
26 lines
2108 bytes
2108 bytes
Hi Everybody! I'm relatively new in programming and have a problem. I created a VCL Forms Application (BDS 2006) and use a ADOConnection to connect with an MySQL Database. Everything works fine on my machine (where I created the app, but on every other PC (I tested 5 Win XP and 1 Win2k) I get an exception as soon as I try to open the DataSet. The curious thing about it is, that I use 4 Datasets and the exception is only by two of them! I don't have any BeforeActivate... Events programmed. This is the Code: ConnectionAB->DataSet1->Open(); (Exception is caused) ConnectionAB->DataSet2->Open(); (Exception is caused) ConnectionAB->DataSet3->Open(); (NO Exception is caused) ConnectionAB->DataSet4->Open(); (NO Exception is caused) The Error Message is: "Das Objekt war geรถffnet" (Which means "The Object was already opened" I already found out that this message is an "EOleException Type" Can anybody help me? Thanks! Chris
Technical Details
Message-ID:
<1162881574.851745.128260@m7g2000cwm.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!m7g2000cwm.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,1d94baf3dfaca52,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!m7g2000cwm.googlegroups.com!not-for-mail From: "lagerist" <elektro.lager@margreiter.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: EOleException when opening Dataset Date: 6 Nov 2006 22:39:34 -0800 Organization: http://groups.google.com Lines: 27 Message-ID: <1162881574.851745.128260@m7g2000cwm.googlegroups.com> NNTP-Posting-Host: 80.120.114.58 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1162881578 9635 127.0.0.1 (7 Nov 2006 06:39:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 7 Nov 2006 06:39:38 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: m7g2000cwm.googlegroups.com; posting-host=80.120.114.58; posting-account=dVx_GA0AAAAxGZJYnt7b5hA9E9GRQPcS