Groups > Borland > Borland Delphi migration > Re: BDS 2006 to RAD Studio 2007




BDS 2006 to RAD Studio 2007

BDS 2006 to RAD Studio 2007
Sun, 11 Nov 2007 23:31:17 -020
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...
Post Reply
Re: BDS 2006 to RAD Studio 2007
Mon, 12 Nov 2007 07:21:11 +010
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)
Post Reply
about | contact