Ask a Question related to ASP.NET General, Design and Development.
-
Chris Holliday #1
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
-
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... -
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... -
[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:... -
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... -
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>... -
Natty Gur #2
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
-
Chris Holliday #3
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...on> 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> 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



Reply With Quote

