Windows Oracle Data Access Components (MOSC)

MOSC Banner

Oracle.DataAccess ExecuteNonQuery returns -1 on MERGE statements, and ASP.Net deployment

edited Feb 22, 2011 2:27PM in Windows Oracle Data Access Components (MOSC) 8 commentsAnswered
Hi everyone,

First question: 
Since the migration from System.Data.OracleClient (deprecated) to Oracle.DataAccess.Client (recommended) of my connection class to Oracle Database in .Net 4.0, the ExecuteNonQuery method returns -1 on MERGE statements. The rows are updated or inserted well though.

Is it possible to check the request return, in addition to the ErrCode checking?

Seconde question: 
I had to download the ODP.Net (or ODAC?) provider to reference Oracle.DataAccess.Client DLL in my project on my developper machine. 
When I will deploy my ASP.Net sites on the customers platforms (Oracle 9i, 10g, 11g, InstantClient 10g... x86, x64...), would I have to install ODP on this different platform? Or would the DataAccess DLL be compatible?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center