Page 1 of 1

TOraSession disconnecting when a new ToraSessoin is created

Posted: Wed 23 May 2007 17:23
by datkins
We have a derived TOraDesinSession from ToraSession which we use on formas in CBuilder to allow simlpe access to our server for design time behaviour, when we ship up to now we have nto had any issues but we have recneytl had to work with a site with different home name, we are not runnign the datasbe so can;t change it.

our derived session object disconnects the main TOraSession the applciation creates when it is constrcued as part of form construction, can;t see why my clearly happens in the forms constructor.

It almost appears that the home name on the existing torasession is being changed by a nre sessions design time parameters.

Any expricne of this out there?

Love the tools though, would never have wanted to use a databse without them!

Posted: Thu 24 May 2007 08:55
by Plash
The TOraSession component disconnects if the HomeName property of another TOraSession component is set to a different value. Please specify whether both your session components have different values in the HomeName property.
Also specify the exact version of ODAC including build number (see Oracle | About ODAC in the Delphi menu).