2010-10-30 3 views
2

J'ai installé windows-7 64 bits. Lorsque je tente d'exécuter mon programme (qui fonctionne avec Oracle 11g) Je reçois cette erreur:erreur oracle dans windows-7 64bit

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 

Quel peut être le problème? Où puis-je télécharger un client Oracle 64 bits?

(puis-je obtenir un lien pour le téléchargement)

merci à l'avance

Répondre

6

Avez-vous essayé téléchargement à partir du 64 bits Oracle Client:

http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.htmlBlockquote

Cela ressemble à cela pourrait être le Téléchargement correct:

Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64)
win64_11gR2_client.zip (615,698,264 bytes) (cksum - 2947608743)
Contains the Oracle Client Libraries. Download if you want the client libraries only

3

Alte rnatively, si vous ne pouvez pas obtenir une version 64 bits du client Oracle et sont coincés avec la version 32 bits, vous pouvez:

  1. reconstruire votre application .NET à ne fonctionne que comme 32 bits (x86) processus au lieu de « Any CPU » ou
  2. utilisation CorFlags.exe (CorFlags Conversion Tool) pour reconfigurer votre application .NET exe ​​ pour fonctionner comme 32 bits sans avoir à reconstruire existant.