I have a WCF Service hosted at my server and it is being consumed by client from another server.
I did few changes in the code and tried deploying the code after successful build.
Previously the application pool was set to 32 bit as true but the service opens correctly when i make that 32 bit as false.
Currently it is set to 32 bit true and working fine in QA but when i build it and deploy and run the service manually it fails at opening the oracle connection and throws this error "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"..
below is the link to the image of what settings i used in visual studio to build the solution.From the many project folder the yellow highlighted one is the startup project which is set to 64bit and all others as any cpu
I am not sure if i am doing anything wrong with the build for which the oracle gives this error while running the service.the application pool should be set to 32 bit