Problems with Oracle 7.3.4 and .NEt

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Problems with Oracle 7.3.4 and .NEt

    I am simply trying to query an Oracle 7.3.4 database and nothing seems to be
    working. This is the most basic that seems as though it should work:

    Dim con As OracleConnection = New OracleConnection("User
    Id=someID;Password=somePW;Data Source=oramia.world;")

    con.Open()

    Dim myCMD As New OracleCommand()

    myCMD.Connection = con

    myCMD.CommandText = "SELECT * FROM EN_SHIP_EXT WHERE EN_CUST_KEY = 1837"

    myCMD.CommandType = CommandType.Text

    Dim ds As DataSet = New DataSet()

    Dim dr As OracleDataAdapter = New OracleDataAdapter(myCMD)

    dr.Fill(ds)

    Return ds



    Unfortunately, all I can seem to return is the following:

    ORA-01002: fetch out of sequence




    Anyone?



    thanks,



    c.



    Chris Holliday Guest

  2. Similar Questions and Discussions

    1. problems with Oracle DBD
      Okay, bear with me here. This is a long story, but I want to give all the details. I administrate a Solaris 8 box which is used for a large...
    2. ORACLE ON AIX PERFORMANCE PROBLEMS
      Hi to all, I have an RS/6000 with2 CPUs and 2048 MB of RAM running tow instances of ORACLE 8.1.7 database.One with 440MB SGA and with about 20...
    3. [PHP-GENERAL] Connection to Oracle Problems Using OCI8
      I am trying to connect to our Oracle database server with PHP using OCI8 and am receiving the following error message: Warning: _oci_open_server:...
    4. Oracle 8.1.7 on Mandrake 9.1 install problems
      I've been trying to install Oracle 8.1.7 on a fresh Mandrake 9.1 O.S for days, but I'm still not able to get it running. I've tried several install...
    5. Problems with TIMESTAMP on Oracle 9i
      "Ola Martin Lykkja" <lykkja@hotmail.com> wrote in message news:3f02d1f2$1@news.broadpark.no... Martin Cut & pasted from your message : SQL>...
  3. #2

    Default Re: Problems with Oracle 7.3.4 and .NEt

    The Oracle documentation says this happens only (or at least mainly) in
    3-GL programs that use OCI to interact with Oracle and only if they
    attempt to "fetch" either before opening a cursor or after closing it.

    do you use ODP ?

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  4. #3

    Default Re: Problems with Oracle 7.3.4 and .NEt

    The problem was the Client. 9.2 does not work with a 7.3.x database. The
    8.1.7 client was installed in the same home as the 9.2 and that was doomed.
    I reinstalled 8.1 in a new home, set it as the default home and rebooted
    about 6 times, now it works as expected.

    Thanks,

    Chris

    "Chris Holliday" <crholliday@noSpamPlease-adventureology.com> wrote in
    message news:eVCmScpVDHA.2340@TK2MSFTNGP10.phx.gbl...
    > Natty,
    >
    > Thank you for your response. I have tried ODP and find it more problematic
    > than Microsoft's OLE driver.
    >
    > Typical Oracle documentation. Even though you finally found the topic you
    > were searching for, after reading it, you were better off without it. At
    > this point, I have to think that this is a problem with the Oracle Client
    on
    > the server. I have three different clients 7.3, 8.1.7 and 9.2. I may have
    > the wrong HOME set up as default.
    >
    > C.
    >
    >
    > "Natty Gur" <natty@dao2com.com> wrote in message
    > news:Osdy1GmVDHA.2012@TK2MSFTNGP10.phx.gbl...
    > > The Oracle documentation says this happens only (or at least mainly) in
    > > 3-GL programs that use OCI to interact with Oracle and only if they
    > > attempt to "fetch" either before opening a cursor or after closing it.
    > >
    > > do you use ODP ?
    > >
    > > Natty Gur, CTO
    > > Dao2Com Ltd.
    > > 28th Baruch Hirsch st. Bnei-Brak
    > > Israel , 51114
    > >
    > > Phone Numbers:
    > > Office: +972-(0)3-5786668
    > > Fax: +972-(0)3-5703475
    > > Mobile: +972-(0)58-888377
    > >
    > > Know the overall picture
    > >
    > >
    > > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > > Don't just participate in USENET...get rewarded for it!
    >
    >

    Chris Holliday Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139