Reputation: 7601
I have Developed an Applicatoin in ASP.NET with C# and I have used oracle database. my prob is when I am running this application from visual studio 2012 it will throw error like
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.
but when I host this application in my local iis and make application pool enable 32bit is true then it's working fine.
can anyone please guid me how can I run this from visual studio.
Upvotes: 0
Views: 2241
Reputation: 31
If it is just the ODP use the managed driver from Oracle.
http://www.nuget.org/packages/odp.net.managed/
Upvotes: 1