I want to ask question about oracle .net configuration.
I have oracle client 11g,windows 7 64 bit,asp.net 4,5
And I installed (64-bit Oracle Data Access Components (ODAC) for Windows
) ODAC after take I added reference oracle.data.access.dll .Additionally I configure IIS application pool configuration for x86.So IIS execute the x86 application. But I encountered same error every time.
Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. Geçersiz biçimdeki bir program yüklenmek istendi.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Can you help me for solve this problem?Or any suggestions?