Home » Infrastructure » Windows » configuring oracle 10g 64 bit componenets.
configuring oracle 10g 64 bit componenets. [message #239295] Mon, 21 May 2007 23:56 Go to next message
rajalakshmi
Messages: 5
Registered: May 2007
Junior Member
Hai
i kept oracle as back end for an asp.net application.When i hosted in iis it showed error message stating your machine is 64 bit and oracle componenets are 32 bit.(badimageException)
Then i downloaded oracle 64 bit components and installed it.In my asp.net application i added reference to oracle.dataacess namespace and hosted it in iis.It shows following server error.
An attempt was made to load a program with an incorrect format.
in line:
Dim con As New OracleConnection("Data Source=CANVASDC;User id=canvas;password=tester01;")
and stacktrace is:
BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)]
Oracle.DataAccess.Client.OpsTrace.GetRegTraceInfo(UInt32& TrcLevel, UInt32& StmtCacheSize) +0
Oracle.DataAccess.Client.OraTrace.GetRegistryTraceInfo() +111
Oracle.DataAccess.Client.OracleConnection..ctor(String connectionString) +110

is there any thing to do with listener and service? how to do it?
plz reply

with regards
rajalakshmi
Re: configuring oracle 10g 64 bit componenets. [message #240611 is a reply to message #239295] Fri, 25 May 2007 05:29 Go to previous messageGo to next message
tahpush
Messages: 961
Registered: August 2006
Location: Stockholm/Sweden
Senior Member

Havent seen that error before, but it looks like
you probably need 64-bit Oracle client.

Quote:
Then i downloaded oracle 64 bit components and installed it


Sorry need glasses i guess Wink

[Updated on: Fri, 25 May 2007 05:31]

Report message to a moderator

Re: configuring oracle 10g 64 bit componenets. [message #240613 is a reply to message #240611] Fri, 25 May 2007 05:34 Go to previous message
tahpush
Messages: 961
Registered: August 2006
Location: Stockholm/Sweden
Senior Member

Read this
Previous Topic: ORA-01102: cannot mount database in EXCLUSIVE mode
Next Topic: Oracle COM Automation Excel Charts
Goto Forum:
  


Current Time: Fri Apr 19 01:01:38 CDT 2024