IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

ADO.NET Discussion :

Probléme ODP.Net VB.Net


Sujet :

ADO.NET

  1. #1
    Nouveau membre du Club
    Étudiant
    Inscrit en
    Janvier 2010
    Messages
    41
    Détails du profil
    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Janvier 2010
    Messages : 41
    Points : 39
    Points
    39
    Par défaut Probléme ODP.Net VB.Net
    Bonjour,

    j'ai installer les pilotes odp.net 64bit sous Windows 7 64bit,
    mais lorsque j'ai ajouté une référence"oracle.DataAccess.dll à mon projet VB.Net un avertissement apparait:
    Problème possible détecté pendant la génération de l'assembly 'WindowsApplication1'*: L'assembly référencé 'Oracle.DataAccess.dll' cible un processeur différent
    y a t il une configuration supplémentaire que je dois faire?

    merci

  2. #2
    Expert éminent Avatar de Graffito
    Profil pro
    Inscrit en
    Janvier 2006
    Messages
    5 993
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2006
    Messages : 5 993
    Points : 7 903
    Points
    7 903
    Par défaut
    Oui, il faut configurer dans les properties du projet Target X86 au lieu de Any CPU.
    " Le croquemitaine ! Aaaaaah ! Où ça ? " ©Homer Simpson

  3. #3
    Nouveau membre du Club
    Étudiant
    Inscrit en
    Janvier 2010
    Messages
    41
    Détails du profil
    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Janvier 2010
    Messages : 41
    Points : 39
    Points
    39
    Par défaut
    merci pour la réponse
    mais je trouve pas ou changer cette propriété,
    j'utilise Visual Studio 2010 express version Française
    merci d'avance,

  4. #4
    Expert éminent Avatar de Graffito
    Profil pro
    Inscrit en
    Janvier 2006
    Messages
    5 993
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2006
    Messages : 5 993
    Points : 7 903
    Points
    7 903
    Par défaut
    Visual Studio express est peut-être limité, mais j'ai trouvé ceci:
    In VC# Express, this property is missing, but you can still create an x86 configuration if you know where to look.

    It looks like a long list of steps, but once you know where these things are it's a lot easier. Anyone who only has VC# Express will probably find this useful. Once you know about Configuration Manager, it'll be much more intuitive the next time.
    1. In VC# Express 2005, go to Tools -> Options.
    2. In the bottom-left corner of the Options dialog, check the box that says, "Show all settings".
    3. In the tree-view on the left hand side, select "Projects and Solutions".
    4. In the options on the right, check the box that says, "Show advanced build configuraions."
    5. Click OK.
    6. Go to Build -> Configuration Manager...
    7. In the Platform column next to your project, click the combobox and select "<New...>".
    8. In the "New platform" setting, choose "x86".
    9. Click OK.
    10. Click Close.
    There, now you have an x86 configuration! Easy as pie! :-)
    I also recommend using Configuration Manager to delete the Any CPU platform. You really don't want that if you ever have depedencies on 32-bit native DLLs (even indirect dependencies).
    " Le croquemitaine ! Aaaaaah ! Où ça ? " ©Homer Simpson

Discussions similaires

  1. Quel langage entre vb.net c#.net c++.net java ?
    Par heeedi dans le forum Débuter
    Réponses: 7
    Dernier message: 13/12/2008, 21h53
  2. Participez à la F.A.Q .NET ASP.NET Delphi.NET
    Par Jérôme Lambert dans le forum Contribuez
    Réponses: 0
    Dernier message: 05/12/2008, 00h00
  3. Participez à la F.A.Q .NET ASP.NET VB.NET
    Par Jérôme Lambert dans le forum Contribuez
    Réponses: 0
    Dernier message: 05/12/2008, 00h00
  4. Réponses: 10
    Dernier message: 04/04/2006, 01h21
  5. [AJAX] Ajax et ASP.NET
    Par boleduch dans le forum Général JavaScript
    Réponses: 2
    Dernier message: 02/03/2006, 16h15

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo