E2202 Required package 'dcldbxsda120' not found

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
C.F.Holm
Posts: 6
Joined: Tue 19 Feb 2008 23:45

E2202 Required package 'dcldbxsda120' not found

Post by C.F.Holm » Sun 24 Oct 2010 16:24

After upgrading my subscription I downloaded the newest driver "dbxsda475.exe" and now I have problems compiling one of my own packages containing reference to "DBXDevartSQLServer" - I get the following error! (And as I don't have the .dcp file I am stuck)

Add dcldbxsda120.
dcldbxsda120 contains implicit unit(s) DBXDevartSQLServer.


This was not a problem with "dbxsda445.exe" - everything worked fine.

What can I do to get my upgraded driver working???

thanks
Christian

AndreyZ

Post by AndreyZ » Mon 25 Oct 2010 13:44

Hello,

Please check that you have the \Source string in Library Path of your IDE.

C.F.Holm
Posts: 6
Joined: Tue 19 Feb 2008 23:45

Post by C.F.Holm » Mon 25 Oct 2010 19:35

Ok - this path has been part of my IDE library for the last year, and is still so...

I am trying to compile and install one of my own packages and now it wants implicitly to import the dcldbxsda120 package which it cannot find - and I dont have a .dcp file that could help me...

So it's not an issue of not having path to the source - sorry...

Please help me - right now I am stuck with my old drivers that compiles fine without implicitly importing (or wanting to) the dcldbxsda120

/C[/img]

AndreyZ

Post by AndreyZ » Tue 26 Oct 2010 09:07

You can find dcldbxsda120.bpl in the $(BDS)\Bin directory.

C.F.Holm
Posts: 6
Joined: Tue 19 Feb 2008 23:45

Post by C.F.Holm » Tue 26 Oct 2010 10:14

I am sorry, but you are missing the point. The bpl file is not going to help - the error I get i E2202 and below is embarcadero says about it...

E2202: Required package '%s' not found (Delphi)The package, which is referenced in the message, appears on the package list, either explicitly or through a requires clause of another unit appearing on the package list, but cannot be found by the compiler.

The solution to this problem is to ensure that the DCP file for the named package is in one of the units named in the library path.

(Please not it's dcp file which it requires - and that I don't have)

This is only a problem when you try to use "DBXDevartSQLServer" unit in a package... I can reinstall my previous version of the driver and make no changes whatsoever and it compiles... So something is not right in the latest driver distribution. Maybe it's only related to D2009 I don't know.

Thanks in advance
Christian

AndreyZ

Post by AndreyZ » Thu 28 Oct 2010 11:44

I cannot reproduce the problem. Please try to compose a small sample to demonstrate the problem and send it to andreyz*devart*com.

Antonickel
Posts: 2
Joined: Mon 01 Nov 2010 09:14

Post by Antonickel » Mon 01 Nov 2010 09:24

AndreyZ wrote:I cannot reproduce the problem. Please try to compose a small sample to demonstrate the problem and send it to andreyz*devart*com.
I'm sorry AndreyZ, but your answer didn't match with the request. C.F. Holm is talking about a file that's not found when compiling a project.
Delphi looks for a file named dcldbxsda120.DCP which isn't found !
This file must be generated when installing the driver or compiling dbExpress project.
I HAVE THE SAME PROBLEM WHEN USING THIS DRIVER WITH DELPHI RAD XE : the file dcldbxsda150.DCP can't be found.
So can U tell us where to find it ?
Thank U

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

Post by Dimon » Mon 01 Nov 2010 16:43

dcldbxsda120 is a design-time package. It allows you to select and use Devart SQL Server driver in Delphi IDE.
This package couldn't be included in your projects. If you need to include the DBXDevartSQLServer unit to your project, only declare this unit and don't add the dcldbxsda120 package.

Antonickel
Posts: 2
Joined: Mon 01 Nov 2010 09:14

Post by Antonickel » Mon 01 Nov 2010 17:02

Dimon wrote:dcldbxsda120 is a design-time package. It allows you to select and use Devart SQL Server driver in Delphi IDE.
This package couldn't be included in your projects. If you need to include the DBXDevartSQLServer unit to your project, only declare this unit and don't add the dcldbxsda120 package.
Thank U Dimon for your explanation.
I must tell you that it's the first time I'm using the Delphi RAD XE version and I downloaded for now the trial of DbExpress.

I try to migrate my project (using DBExpress) from D7 to RAD XE.

In the uses clauses of my units, I replaced "DbXpress" by DBXDevartSQLServer, DBXDevartOracle, DbxDevartMySql.

After compiling, Delphi needs to add in the require clause the 3 dcp "dcldbxsda150, dcldbxoda150, dcldbxmda150".

Perhaps, something is wrong in my using of the dbExpress library .... !

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

Post by Dimon » Tue 02 Nov 2010 11:28

Please send your project to demonstrate the problem to dmitryg*devart*com.

Post Reply