Selecting x86 and x64 client
Posted: Tue 19 Jan 2010 12:29
Hi,
I've got a web application that uses Entity Framework. I need to be able to select one of two clients (orahomes) - either orahome with x86 or another orahome with x64 Oracle client. I've installed both Oracle client versions, one orahome is called Ora86 and another Ora64.
When I set "Home" parameter in connection string to "Ora64" then everything works correctly. If I set it to Ora86 then I get an error "Can not find Oracle home".
I tried to create Windows application and used the OracleConnection control. When I tried to configure it, it has shown (in the property box) only orahome Ora86 and didn't allow to use the 64bit version.
Then I looked at the homes by calling :
OracleHomeCollection col = OracleConnection.Homes
and found out this collection is showing only Ora64 home and Ora86 is missing.
This behavior is a bit weird and I am very confused. Could anyone help and tell me why various methods are returning various orahomes but none can provide them all? Is there a way how to configure which orahome (x64 or x86) the entities will run against?
Thank you for any help
I've got a web application that uses Entity Framework. I need to be able to select one of two clients (orahomes) - either orahome with x86 or another orahome with x64 Oracle client. I've installed both Oracle client versions, one orahome is called Ora86 and another Ora64.
When I set "Home" parameter in connection string to "Ora64" then everything works correctly. If I set it to Ora86 then I get an error "Can not find Oracle home".
I tried to create Windows application and used the OracleConnection control. When I tried to configure it, it has shown (in the property box) only orahome Ora86 and didn't allow to use the 64bit version.
Then I looked at the homes by calling :
OracleHomeCollection col = OracleConnection.Homes
and found out this collection is showing only Ora64 home and Ora86 is missing.
This behavior is a bit weird and I am very confused. Could anyone help and tell me why various methods are returning various orahomes but none can provide them all? Is there a way how to configure which orahome (x64 or x86) the entities will run against?
Thank you for any help