c# - Visual studio Oracle client 11g use Oracle.DataAccess Intalation/configuration -


i'm bit lost here.

i have 64-bit windows 7 , i'm trying on visual studio 2008 (i want build works on 32 , 64 bit systems).

i'm trying use odp.net , had installed, long time ago, oracle 11g client, unfortunatly me ended 2 oracle clients homes , 1 oradb home (i did found confusing, mean installation , remmember got lot of troubles during installations). tried correct removing had never made it, not oracle uninstall (the official 1 provide). until used oledb connect oracle db want start using odp , oracle.dataaccess.dll.

first used 32 bit version , did not worked, saying not load in assembly. found reason visual studio project properties had changed work on 32 bit systems. way when execute command

cmd.executereader(); 

i got error saying vshost32 crashed.

i decided download odp-64 bit. time did not gave me assembly error having project types of systems, vshost crash happened anyway, although time vshost , not vshost32, guessing visual studio executing different 1 depending on project properties.

i'm trying avoid reinstalling (oracle clients , vs2008) 2 reasons. one, untill wasn't able uninstall oracle client, second because have many work dependent , can't fast enough , 100% sure work or not make thing worst.

so... help? advice? i'm missing something? vshost crashing because failed install odp correctly? can't find information on web, basicly find code on how use odp.

i appreciate help. think should starting zero-ground (uninstalling everything) if safe , fast do.

==============================================

not sure relevant found oracle.dataaccess.dll in both gac_64 , gac_32 under c:\windows\microsoft.net\assembly. can find policy in both cases.

start registry, find odp.net, after - @ gac, should see oracle.dataaccess.dll versions, pokucy dlls, saying wich odac going use.

then, on folder, specified in registry, try find oracle.dataaccess.dll.

i'd yry backul registry, uninstall odacs only,cleanup regestry entries, may backup , clean gac.

after it, reinstal odac (i think 11 came own client) 64bits, config project built 64 bit.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -