🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.migration
2 messages
2 total messages Started by Gustavo V. Rodrigues Mon, 12 Nov 2007 01:31
BDS 2006 to RAD Studio 2007
#71
Author: Gustavo V. Rodrigues
Date: Mon, 12 Nov 2007 01:31
15 lines
1298 bytes
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...
Re: BDS 2006 to RAD Studio 2007
#72
Author: Bob Swart
Date: Mon, 12 Nov 2007 06:21
36 lines
2232 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads