Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

I keep getting Oracle.DataAccess.Client.OracleException

683319Sep 15 2010 — edited Sep 20 2010
I keep getting Oracle.DataAccess.Client.OracleException when I try to establish a connection.

I wrote a simple asp.net site to display the server version which runs fine on my workstation. When I browse it on my web server, I get the following error:

Oracle.DataAccess.Client.OracleException
at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(
Int32 errCode
, OracleConnection conn
, IntPtr opsErrCtx
, OpoSqlValCtx* pOpoSqlValCtx
, Object src
, String procedure
)

at Oracle.DataAccess.Client.OracleException.HandleError(
Int32 errCode
, OracleConnection conn
, IntPtr opsErrCtx
, Object src
)

at Oracle.DataAccess.Client.OracleConnection.Open()
at EDM1st._Default.Page_Load(
Object sender
, EventArgs e
) H:\My Documents\Visual Studio 2008\Projects\testODP_dotNet\Default.aspx.cs:line 16


How do I (or my DBA) determine if the server is correctly configured for ODP.Net?

I’m using:
Visual Studio 2008
.Net 3.5
ODP.NET 2.102.2.20 (is this the same as Oracle.DataAccess?)
Oracle Server 10.2.0.4.0.

Edited by: ashwinAnimal on Sep 15, 2010 3:08 PM

Edited by: ashwinAnimal on Sep 15, 2010 3:11 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 18 2010
Added on Sep 15 2010
1 comment
1,074 views