Durante il tentativo di connettersi al database Oracle da .net ottenere la seguente eccezione:tentativo di caricare librerie client Oracle ha gettato BadImageFormatException
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.
Dopo aver attraversato molti collegamenti ho cercato di superare questa eccezione modificando la piattaforma target Qualsiasi CPU.Since è un'applicazione WPF, dopo aver cambiato il bersaglio piattaforma si getta la seguente eccezione:
'The invocation of the constructor on type 'SSC_GIP_UI.MainWindow' that matches the specified binding constraints threw an exception.' Line number '3' and line position '9'.
Ma funziona bene con piattaforma di destinazione x86 senza lanciare l'eccezione di cui sopra, ma genera BadImageFormatException
.
L'enironment su cui sto lavorando è: server di Windows 2008,
.NET Framework 4.0, Oracle 11g (64-bit)
qualcuno può dire me.how per risolvere il problema?
Grazie. Non c'è da stupirsi che il mio NON stia funzionando attraverso l'applicazione web, ma che funzioni normalmente attraverso le applicazioni win32. –