configuring oracle 10g 64 bit componenets. [message #239295] |
Mon, 21 May 2007 23:56  |
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
|
|
|
|
|