Last post Jun 01, 2011 10:27 AM by mpswaim
May 31, 2011 10:33 AM|mpswaim|LINK
I have a web service (using the 32 bit Oracle client). It runs fine on both (64 bit) Windows 7 and on Windows XP. I can build the deployment package on XP as well. When I try to build a deployment package on 64 bit Windows 7, I get the following error.
File 'BridgeService.dll' of project output 'Precompiled Web Outputs from BridgeService.csproj_deploy (Active)' targeting 'AMD64' is not compatible with the project's target platform 'x86'
When I go to Configuration Manager, my active solution platform is x86, and the BridgeService project's platform is x86. (The csproj_deploy project is set to Any CPU and can't be changed.)
I'm using Visual Studio 2010 SP1. Any idea how to convince it that I really, really want to generate 32 bit code?
May 31, 2011 08:35 PM|whighfield|LINK
Does the 32 bit Oracle client have it's own installer? You might want to use that to install the assemblies rather than just package them up with your installer.
Jun 01, 2011 10:27 AM|mpswaim|LINK
The Oracle client has to be installed/configured seperately. I'm using the System.Data.OracleClient assembly to talk to the Oracle client.