BadImageFormatException -
i have vs 2008 on win 7 professional 64bit system , database oracle 11g r2 installed on same machine.
in data source configuration wizard --> new connection data source: oracle database (oracle client) when click test connection after entering service name, username, , password following error:
attempt load oracle client libraries threw badimageformatexception. problem occur when running in 64 bit mode 32 bit oracle client components installed.
-- have no oracle client installed because there no need in case, have same setup on laptop win 7 32bit oracle 11g r2 32bit , working fine.
please let let me know if guys have solution issue.
i can't tell question how understand this. since no 1 has proffered answer 18 days i'll put in $.02 worth. running under 64 bit application wants load 64 bit .dll. don't know oracle guess client .dlls written in unmanaged environment , can't support "any cpu" concept managed application does. have couple of options. 1. load 64 bit version of oracele client .dlls on 64 bit laptop if exist. 2. don't use test connection feature of wizard. can target app building 32 bit machine , when app runs won't have problem (see blog post details on targeting)
Comments
Post a Comment