Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BDS 2006 to RAD Studio 2007

3 views
Skip to first unread message

Gustavo V. Rodrigues

unread,
Nov 11, 2007, 8:31:17 PM11/11/07
to
Hi all...

i have some web applications in BDS 2006, and i use BDP to connect to my
databases...

im trying to use the rad studio demo to test... can i convert my apps to use
in rad studio?

only compiling an app, i get the error:

"It is not possible to convert an object 'Borland.Data.MSSQL.MSSConnection'
in 'Borland.Data.Common.ISQLConnection'"

any solution?
tks...

Bob Swart

unread,
Nov 12, 2007, 1:21:11 AM11/12/07
to
Hi Gustavo,

> i have some web applications in BDS 2006, and i use BDP to connect to my
> databases...
>

> "It is not possible to convert an object
> 'Borland.Data.MSSQL.MSSConnection' in 'Borland.Data.Common.ISQLConnection'"

Check the version number of your BDP assemblies in the references of
your project. Make sure the assemblies in your project are all the
latest versions (3.0.0.0) and especially check the connection string
inside the BDPConnection component which should also point to the
3.0.0.0 version of the drivers (instead of the 2.5.0.0 version).

> any solution?

Check and fix all ConnectionString properties of all your BDPConnection
components.

(note that you if you read the ConnectionString from the web.config,
then you still need to fix them - especially when using Connection
Pooling since that will try to connect at the time the BDPConnection
components get created).

> tks...

Groetjes,
Bob Swart

PS: You can also replace the BDPConnection components by SqlDataSource
components connecting to your SQL Server database.

--
Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi
CodeGear Technology Partner -- CodeGear RAD Studio Reseller (BeNeLux)
Blog: http://www.drbob42.com/blog - RSS: http://eBob42.com/weblog.xml

0 new messages