If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Oracle 11g client asp.net connection

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Nov 2012
Posts: 9
Oracle 11g client asp.net connection

Hi ,
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.
HTML Code:
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.  
Source Error: 

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?
Reply With Quote
  #2 (permalink)  
Old
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 7,571
I guess I just don't understand where the problem or solution involves any Oracle change.
It appears to me that Oracle is the victim; not the culprit.
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Don't say, show. Don't promise, prove.
Reply With Quote
  #3 (permalink)  
Old
Registered User
 
Join Date: Nov 2012
Posts: 9
I want to connect oracle to asp.net successfully.But I missing something.How can I connect succesfully asp.net to oracle.I already know I have to add reference oracle.data.access.dll .In my opinion I didn't find right "oracle.data.access.dll" so I encountered that problems.
Reply With Quote
  #4 (permalink)  
Old
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 7,571
>I want to connect oracle to asp.net successfully
no, you want to connect FROM asp.net to Oracle.
Oracle is passive & only accepts the connection request.
Oracle never gets any connection request because asp.net is mis-configured.
root cause & fix is with asp.net.
consider posting this issue in asp.net forum.
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Don't say, show. Don't promise, prove.
Reply With Quote
Reply

Tags
asp.net oracle, oracle 11g

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On