473,499 Members | 1,659 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP - Connecting to Oracle 9i

Hello All,
I'm trying to connect to an Oracle 9i database on a 2000 Pro box using my XP
Pro development machine. I've got Oracle client 9i (and .NET 2003) on my dev
XP box and Oracle 9i client and database on the 2000 box.
I can right click on the oracleDataAdapter and Preview Data and get data
from the table I specified.
However, I'm doing a simple ASP page with a datagrid on it. I've got the
oracleDataAdapter, oracleConnection and a dataSet. In the code (in the
page_load) I do a...

oracleConnection1.Open();
oracleDataAdapter1.Fill(dataSet1);
DataGrid1.DataBind();

Now when I run it and it steps on the oracleConnection1.Open(); line I get
(in the browser) the error...
Exception Details: System.Exception: System.Data.OracleClient requires
Oracle client software version 8.1.7 or greater.

Can someone please tell me what I'm doing wrong?

Thanks
Nov 19 '05 #1
1 1178
I found the problem...
I had to go into the oracle home directory on my dev machine and reset
authenticated users to read and execute. Rebooted and it all works as
expected...


"Randy" <te**@temp.com> wrote in message
news:uN**************@TK2MSFTNGP14.phx.gbl...
Hello All,
I'm trying to connect to an Oracle 9i database on a 2000 Pro box using my
XP Pro development machine. I've got Oracle client 9i (and .NET 2003) on
my dev XP box and Oracle 9i client and database on the 2000 box.
I can right click on the oracleDataAdapter and Preview Data and get data
from the table I specified.
However, I'm doing a simple ASP page with a datagrid on it. I've got the
oracleDataAdapter, oracleConnection and a dataSet. In the code (in the
page_load) I do a...

oracleConnection1.Open();
oracleDataAdapter1.Fill(dataSet1);
DataGrid1.DataBind();

Now when I run it and it steps on the oracleConnection1.Open(); line I get
(in the browser) the error...
Exception Details: System.Exception: System.Data.OracleClient requires
Oracle client software version 8.1.7 or greater.

Can someone please tell me what I'm doing wrong?

Thanks

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3172
by: Wayne Happ | last post by:
I have Oracle 9 running on a Linux RedHat Box V9.0. But I'm having trouble connecting from a windows machine via PL/SQL Develover. When I startup the application the instance name appears but...
0
1386
by: Kong Li | last post by:
Follow up to this thread, the latest Oracle 9i release 2 patchset (9.2.0.5) fixed the handle count leak problem. The problem is in Oracle client component. Thanks. Kong ----- From: Kong...
1
1736
by: yahibble | last post by:
Now, I am no Python expert but I have dabbled and I have spent a couple of days with another engineer unsuccessfully installing oracle drivers for MS ODBC on the win XP machine. It looked to me...
2
1638
by: msnesw.microsoft.com | last post by:
I developed a web application about a year ago that connects to the Oracle DB using MS ODBC for Oracle. But I had to move the whole application to a brand-new PC . When I try to run I get the...
2
3653
by: Mahesh.V | last post by:
Hi All I get the following error while connecting to the oracle database using ODBC. in my VB.NET application. Can any one help me out solving this problem server message (if any):...
2
3433
by: python_eager | last post by:
Hi i am connecting my database oracle 9i. While connecting i am getting the following error connection = cx_Oracle.connect("myusername", "mypassword", "python") RuntimeError: Unable to acquire...
0
1616
by: antonyliu2002 | last post by:
I am having a hard time connecting to an oracle database from within Visual Web Developer (VWD) 2005 Express Edition. Check out the screen snap shot here: ...
2
5516
by: rcc.gamer | last post by:
Hello All, I am trying to connect a GridView to an Oracle table using the standard SqlDataSource. The process is fairly simple and there are detailed instructions from Microsoft ......
0
3136
by: Temporary | last post by:
C# Web Service in IIS Stops Connecting to Oracle (via ADO.NET) Over Time I have a Web Service, written in C#, published on a Windows XT Web Server under IIS, which repeatedly connects to an...
1
1797
by: kinnu | last post by:
hi, could any one help me with the steps of connecting the vb form with the oracle database/table. I could connect vb to access. as my collage project requires connecting of vb with oracle...
0
7014
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7180
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7395
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4921
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3103
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1429
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
311
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.