Direct Mode (RAC) Stored Procedure Unknown Error 1
Posted: Thu 20 May 2010 13:59
I have converted a project to DevArt from the Microsoft connector with the goal of avoiding the Oracle Client install, and using ClickOnce to deploy.
The code works on the development database that is a single node, but in the production (RAC) server using direct mode, the connection can be opened but a stored procedure call (the only one I have tested so far) fails with the following error: 'NET: Unknown error 1'
Stack:
at Devart.Data.Oracle.n.b(Int32 A_0)
at xc.l.a(Byte A_0)
at xc.a.a()
at xc.d.a()
at Devart.Data.Oracle.d.a()
at Devart.Data.Oracle.r.a(Int32 A_0, a4 A_1)
at Devart.Data.Oracle.OracleCommand.InternalExecute(CommandBehavior behavior, IDisposable disposable, Int32 startRecord, Int32 maxRecords, Boolean nonQuery)
at Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior, Boolean nonQuery)
at Devart.Data.Oracle.OracleCommand.ExecuteNonQuery()
at GCS.Oracle.User_SessionStart(Int64 UserID) in C:\Documents and Settings\kentonv\My Documents\VS Projects\2005\GCS\GCS\Classes\Oracle.vb:line 673
The line is cmd.ExecuteNonQuery()
and the command is: "CALL PKG_USER.LOGIN(1,1,0,0,0,0,:SessID)"
SessID is an output.
I can provide sample DB setup and VB code, if needed.
The code works on the development database that is a single node, but in the production (RAC) server using direct mode, the connection can be opened but a stored procedure call (the only one I have tested so far) fails with the following error: 'NET: Unknown error 1'
Stack:
at Devart.Data.Oracle.n.b(Int32 A_0)
at xc.l.a(Byte A_0)
at xc.a.a()
at xc.d.a()
at Devart.Data.Oracle.d.a()
at Devart.Data.Oracle.r.a(Int32 A_0, a4 A_1)
at Devart.Data.Oracle.OracleCommand.InternalExecute(CommandBehavior behavior, IDisposable disposable, Int32 startRecord, Int32 maxRecords, Boolean nonQuery)
at Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior, Boolean nonQuery)
at Devart.Data.Oracle.OracleCommand.ExecuteNonQuery()
at GCS.Oracle.User_SessionStart(Int64 UserID) in C:\Documents and Settings\kentonv\My Documents\VS Projects\2005\GCS\GCS\Classes\Oracle.vb:line 673
The line is cmd.ExecuteNonQuery()
and the command is: "CALL PKG_USER.LOGIN(1,1,0,0,0,0,:SessID)"
SessID is an output.
I can provide sample DB setup and VB code, if needed.