Getting MetaData from DB

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
Thomas.Schweikert
Posts: 30
Joined: Tue 27 Jun 2006 15:46

Getting MetaData from DB

Post by Thomas.Schweikert » Tue 29 Jun 2010 17:02

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

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 30 Jun 2010 11:21

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';

Thomas.Schweikert
Posts: 30
Joined: Tue 27 Jun 2006 15:46

Post by Thomas.Schweikert » Wed 30 Jun 2010 12:50

Thx, it works.

Thomas

Thomas.Schweikert
Posts: 30
Joined: Tue 27 Jun 2006 15:46

Post by Thomas.Schweikert » Mon 05 Jul 2010 15:16

Thomas.Schweikert wrote:Thx, it works.

Thomas


with new build v4.55.23 error exists again

Thomas

Thomas.Schweikert
Posts: 30
Joined: Tue 27 Jun 2006 15:46

Post by Thomas.Schweikert » Fri 18 Feb 2011 15:03

error still exists.

Please fix it!

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 18 Feb 2011 15:22

We have fixed this problem. This fix will be included in the next DbxSda build.

Post Reply