The best way to handle this is to use the x86 version locally with the Visual Studio and x64 versions on the server with IIS. To do this, you need to download both versions - copy one to the lib \ x86 folder and the other to lib \ x64. After that, you have to change the project file - visual studio supports conditional links. Add the following file to the project file:
<PropertyGroup>
<ReferencesPath Condition=" '$(Platform)' == 'x86' ">..\Lib\x86</ReferencesPath>
<ReferencesPath Condition=" '$(Platform)' == 'x64' ">..\Lib\x64</ReferencesPath>
</PropertyGroup>
odp.net assmebly :
<Reference ... processorArchitecture=$(Platform)">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(ReferencesPath)\Oracle.DataAccess.dll</HintPath>
<Private>True</Private>
</Reference>
, x86 x64, Oracle.DataAccess.dll.
, x64 , IIS, , Cassini x64 (http://cassinidev.codeplex.com).
, , - - .