Page 2 of 2

Posted: Sun 24 Feb 2008 13:47
by yevgeny
The test project is very simple - here is the C# side:

Code: Select all

namespace MultiCursor
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            oracleConnection1.Open();
            try
            {
                oracleCommand1.ExecuteNonQuery();
            }
            finally
            {
                oracleConnection1.Close();
            }
        }
    }
}
And here is the DB side:

Code: Select all

TYPE ref_cursor IS REF CURSOR;

PROCEDURE SP_MULTI_CURSORS(
          cursor1 out ref_cursor,
          cursor2 out ref_cursor)
IS
BEGIN
  open cursor1 for
  select dummy from dual;

  --open cursor2 for
  --select dummy from dual;
END;
When opening the second cursor is not commented out, everything works fine.
I've sent it also to [email protected]

Posted: Mon 25 Feb 2008 17:11
by Alexey.mdr
We have got your project and we reproduced the error.
Thank you for the bug report.
We will fix it in the nearest time.

Re: Exception "NET: Unknown error 1" during execution OraCom

Posted: Thu 31 May 2012 13:46
by Pcx
Would it be possible to know in which exact version this bug is supposed to be fixed.
Tks

Re: Exception "NET: Unknown error 1" during execution OraCom

Posted: Fri 01 Jun 2012 10:25
by Pinturiccio
The bug with the null cursor parameter in the Direct mode was fixed in dotConnect for Oracle 4.50.31 on 19-Mar-2008. For more information, please refer to http://www.devart.com/dotconnect/oracle ... story.html

Re: Exception "NET: Unknown error 1" during execution OraCom

Posted: Fri 01 Jun 2012 15:50
by Pcx
Tks for your prompt answer :wink: