Thread View: borland.public.cppbuilder.database.dbexpress
2 messages
2 total messages
Started by anthony.pillay
Fri, 09 May 2008 10:34
Codegear DS 2007 - "TDBXSybaseASEMetaDataCommandFactory class already registered." error
Author: anthony.pillay
Date: Fri, 09 May 2008 10:34
Date: Fri, 09 May 2008 10:34
127 lines
5582 bytes
5582 bytes
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
Re: Codegear DS 2007 - "TDBXSybaseASEMetaDataCommandFactory class already registered." error
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads