Page 1 of 1

Getting MetaData from DB

Posted: Tue 29 Jun 2010 17:02
by Thomas.Schweikert
hi,

i just wanted to use the DBX4 metadata classes.
But when i open my TDBXDataExpressMetaDataProvider
an error occured:

MetaData for MSSQL can't be loaded. Add driver unit to your uses ...

But DBXMSSQL is allready in my uses.
...
DBXInterBase,
DBXMSSQL,
DBXOracle,
DBXDevartInterBase,
DBXDevartSQLServer,
DBXDevartOracle;

Any idea what causes this error.
InterBase / FireBird works without any problems.

RAD Studio 2009 Enterprise
MS-SQL Server Express 2008 SP3

Thomas

Posted: Wed 30 Jun 2010 11:21
by Dimon
To solve this problem, apply the following change.
Find the line below in the DBXDevartSQLServer.pas unit:

Code: Select all

  DriverProperties[TDBXPropertyNames.ProductName] := 'MSSQL';
change it to this code:

Code: Select all

  DriverProperties[TDBXPropertyNames.ProductName] := 'Microsoft SQL Server';

Posted: Wed 30 Jun 2010 12:50
by Thomas.Schweikert
Thx, it works.

Thomas

Posted: Mon 05 Jul 2010 15:16
by Thomas.Schweikert
Thomas.Schweikert wrote:Thx, it works.

Thomas


with new build v4.55.23 error exists again

Thomas

Posted: Fri 18 Feb 2011 15:03
by Thomas.Schweikert
error still exists.

Please fix it!

Posted: Fri 18 Feb 2011 15:22
by Dimon
We have fixed this problem. This fix will be included in the next DbxSda build.