Jun 26, 2019 02:29 PM|m_tack|LINK
i was working on 32 bit OS, with 32 bit Oracle client installed and Visual Studio 2015. for some
reasons i have to change my laptop. now i have 64 bit OS, with 32 bit oracle client (only this should be
used for some reasons). i am using entityspaces as orm (both 32 and 64bit). after successfuly installation in new laptop when
i ran my VS solution i found following error
inner exception "An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"
error message "Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed."
i have tested following solutions but failed.
1) go to Tools > Options > Projects and Solutions > Web Projects > check the option that says: Use the 64 bit version of IIS Express for Websites and Projects
2) Project, properties, Build TAB, select platform target : x86
Project, clean build, ReBuild solution
when i changed platform target to x86 my wcf project throwed error and hence cant update the service
when i changed platform target to x64 my wcf project updated successfully but got abovementioned error on
=> what i have is, 64 bit OS, 32 bit oracle client [bound to use this only], VS 2015, entityspaces 32 or 64 bit
what should i do so that i can run my application without any errors from visual studio 2015. As i am unable to
fetch data from oracle at all (using entityspaces).
i am looking for the solution for 4 days but failed.
Please give me solution or point out where i am wrong.
with many thanks