Article View: borland.public.cppbuilder.database.dbexpress
Article #192Re: Codegear DS 2007 - "TDBXSybaseASEMetaDataCommandFactory class already registered." error
From: anthony.pillay
Date: Sat, 10 May 2008 13:53
Date: Sat, 10 May 2008 13:53
130 lines
6094 bytes
6094 bytes
Ok I managed to locate the problem... was extra package (and I think
the wrong version of libmysql.dll I was using).
On May 9, 2:34 pm, anthony.pil...@gmail.com wrote:
> I have an application that is calls a frame from a package, and
> everything works fine for normal VCL's like TEdit, TMemo, and so on.
>
> However the moment I add a data module to package, the package
> compiles without any errors but give the error
> "TDBXSybaseASEMetaDataCommandFactory class already registered." when I
> try to call load the package with LoadPackage.
>
> Loading code snippet:
>
> // Start snippet ....
>
> if (!fPackageTaxModule)
> {
> test = app_path + "tax\\tax.bpl";
> fPackageTaxModule = reinterpret_cast
> <HMODULE>(LoadPackage(test.c_str()));
> if (!fPackageTaxModule)
> throw Exception("Could not load package");
> }
>
> // end snippet ....
>
> Anyone come across the same problem and possibly point me in the right
> direction.
>
> Thank you.
>
> Anthony
>
> Below is the output of Eurekalog:
>
> EurekaLog 6.0.11
>
> Application:
> ------------------------------------------------------
> 1.1 Start Date : Fri, 9 May 2008 14:23:24 +0400
> 1.2 Name/Description: fms.exe
> 1.3 Version Number : 1.2.1.1202
> 1.4 Parameters :
> 1.5 Compilation Date: Fri, 9 May 2008 13:54:21 +0400
> 1.6 Up Time : 6 seconds
>
> Exception:
> -----------------------------------------------------------------------------------
> 2.1 Date : Fri, 9 May 2008 14:23:31 +0400
> 2.2 Address : 002529F1
> 2.3 Module Name : DbxCommonDriver100.bpl - (DBXCommonDriver
> Package)
> 2.4 Module Version: 11.0.2804.9245
> 2.5 Type : EClassRegistryError
> 2.6 Message : TDBXSybaseASEMetaDataCommandFactory class
> already registered.
> 2.7 ID : 9EB5
> 2.8 Count : 1
> 2.9 Status : New
> 2.10 Note :
>
> User:
> -------------------------------------------------------
> 3.1 ID : anthony
> 3.2 Name : anthony
> 3.3 Email :
> 3.4 Company :
> 3.5 Privileges: SeIncreaseQuotaPrivilege - ON
> SeSecurityPrivilege - OFF
> SeTakeOwnershipPrivilege - OFF
> SeLoadDriverPrivilege - OFF
> SeSystemProfilePrivilege - OFF
> SeSystemtimePrivilege - OFF
> SeProfileSingleProcessPrivilege - OFF
> SeIncreaseBasePriorityPrivilege - OFF
> SeCreatePagefilePrivilege - OFF
> SeBackupPrivilege - OFF
> SeRestorePrivilege - OFF
> SeShutdownPrivilege - ON
> SeDebugPrivilege - OFF
> SeSystemEnvironmentPrivilege - OFF
> SeChangeNotifyPrivilege - ON
> SeRemoteShutdownPrivilege - OFF
> SeUndockPrivilege - OFF
> SeManageVolumePrivilege - OFF
> SeImpersonatePrivilege - ON
> SeCreateGlobalPrivilege - ON
> SeIncreaseWorkingSetPrivilege - OFF
> SeTimeZonePrivilege - OFF
> SeCreateSymbolicLinkPrivilege - OFF
>
> Active Controls:
> -----------------------------------
> 4.1 Form Class : Tmainfrm
> 4.2 Form Text : Aether 1.0
> 4.3 Control Class: TemployeeFrame
> 4.4 Control Text :
>
> Computer:
> -----------------------------------------------------------------------------------
> 5.1 Name : *******
> 5.2 Total Memory : 1023 Mb
> 5.3 Free Memory : 256 Mb
> 5.4 Total Disk : 60.48 Gb
> 5.5 Free Disk : 39.92 Gb
> 5.6 System Up Time: 19 hours, 35 minutes, 31 seconds
> 5.7 Processor : AMD Athlon(tm) 64 Processor 3500+
> 5.8 Display Mode : 1280 x 1024, 32 bit
> 5.9 Display DPI : 96
> 5.10 Video Card : Radeon X300/X550/X1050 Series (driver 8.421.0.0
> - RAM 128 MB)
> 5.11 Printer : ******
>
> Operating System:
> ---------------------------------------
> 6.1 Type : Microsoft Windows Vista
> 6.2 Build # : 6000
> 6.3 Update :
> 6.4 Language: English
> 6.5 Charset : 0
>
> Network:
> ---------------------------------
> 7.1 IP Address: 192.168.001.102
> 7.2 Submask : 255.255.255.000
> 7.3 Gateway : 192.168.001.001
> 7.4 DNS 1 : 202.072.100.003
> 7.5 DNS 2 : 192.168.001.003
Technical Details
Message-ID:
<1f553a54-5f5f-42d8-bea9-7bbd55b6374a@l28g2000prd.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!l28g2000prd.googlegroups.com!not-for-mailReferences:
<7c6af0ec-a111-45b8-9c43-139e4c93bb33@x19g2000prg.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: fb4e2,d77f834e647a5e5d X-Google-Attributes: gidfb4e2,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!l28g2000prd.googlegroups.com!not-for-mail From: anthony.pillay@gmail.com Newsgroups: borland.public.cppbuilder.database.dbexpress Subject: Re: Codegear DS 2007 - "TDBXSybaseASEMetaDataCommandFactory class already registered." error Date: Sat, 10 May 2008 06:53:00 -0700 (PDT) Organization: http://groups.google.com Lines: 131 Message-ID: <1f553a54-5f5f-42d8-bea9-7bbd55b6374a@l28g2000prd.googlegroups.com> References: <7c6af0ec-a111-45b8-9c43-139e4c93bb33@x19g2000prg.googlegroups.com> NNTP-Posting-Host: 202.72.100.50 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1210427581 30818 127.0.0.1 (10 May 2008 13:53:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 10 May 2008 13:53:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l28g2000prd.googlegroups.com; posting-host=202.72.100.50; posting-account=trQr8woAAAC-2IgbtSk1nGPL4ofRyqyc User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14,gzip(gfe),gzip(gfe)