I need to get an outdated application using unmanaged ODP.NETone running on a machine 64-bit.
- I have installed
64-bit unmanaged ODP.NET - I checked that it
64-bit unmanaged ODP.NETworks fine by testing it in a console application - I created a test web application with the same data access code as the work console application, and a link to the same DLL
Oracle.Data.Accessin GACthat the console application uses. The web application cannot connect to the database. The code fragment does not matter, since the code works and is very simple (see Clause 2.).
Does not work conn.Open();
Exception.Message is empty.
Exception.StackTrace not useful:
at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode,
OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object
src, String procedure, Boolean bCheck, Int32 isRecoverable) at
Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode,
OracleConnection conn, IntPtr opsErrCtx, Object src) at
Oracle.DataAccess.Client.OracleConnection.Open() at
TestODPNet.ODPNetTester.Test() in
D:\Projects\TestODPNet\TestODPNet\ODPNetTester.cs:line 27
The app works on Local IIS, not IIS Express.
IIS "Enable 32-bit applications" false.
x64-bit, Any CPU.
, 64-bit Windows 10 , 64-bit Windows Server 2012. ODP.NET, . , , 32-bit, , ODP.NET - 64-bit.
: ( ) , , .
? unmanaged ODP.NET (64-bit) ASP.NET 64-bit O/S?
. , ,
2: , , - managed ODP.NET, , , .