473,807 Members | 2,851 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Common problem...Conne cto to Oracle database

I don't know how to connect to oracle database by asp.net

Anyone have any simple or step for me to connect??
i have no idea.... i have search from google and get the code
But it seen i have miss some step ....

My case is....school have provided the oracle for me to connect
so i need to install oracle client for my pc??
Mar 27 '06 #1
3 1688
Hello,

If you are using Visual Studio 2003:

--> You can use OleDb

for the connection string:
http://www.connectionstrings.com/

Sample:
http://www.csharphelp.com/archives/archive137.html
http://www.c-sharpcorner.com/Database.asp
If you are using 2005, I think there is an Oracle NameSpace (not 100 %
sure about this).

Good Luck
Braulio

--
/// ------------------------------
/// Braulio DÃ*ez Colaborador DNM
///
/// http://www.dotnetmania.com
/// My Site (.net Tips): http://www.bdiez.com
/// ------------------------------


"Budd" wrote:
I don't know how to connect to oracle database by asp.net

Anyone have any simple or step for me to connect??
i have no idea.... i have search from google and get the code
But it seen i have miss some step ....

My case is....school have provided the oracle for me to connect
so i need to install oracle client for my pc??

Mar 27 '06 #2
Yes you do need the Oracle client.

You can use the Oracle Data Provider for .NET (ODP.NET). Using the
OracleConnectio n class found in Oracle.DataAces s.dll

This might help
http://www.oracle.com/technology/sam...ect/index.html

Mar 27 '06 #3
do i need to oracle clients???

when i test the connection, it show the error that i didn't have oracle
client and compenet
"Braulio Diez" <br************ **@yahoo.es> ¼¶¼g©ó¶l¥ó·s»D: F4************* *************** ******@microsof t.com...
Hello,

If you are using Visual Studio 2003:

--> You can use OleDb

for the connection string:
http://www.connectionstrings.com/

Sample:
http://www.csharphelp.com/archives/archive137.html
http://www.c-sharpcorner.com/Database.asp
If you are using 2005, I think there is an Oracle NameSpace (not 100 %
sure about this).

Good Luck
Braulio

--
/// ------------------------------
/// Braulio Diez Colaborador DNM
///
/// http://www.dotnetmania.com
/// My Site (.net Tips): http://www.bdiez.com
/// ------------------------------


"Budd" wrote:
I don't know how to connect to oracle database by asp.net

Anyone have any simple or step for me to connect??
i have no idea.... i have search from google and get the code
But it seen i have miss some step ....

My case is....school have provided the oracle for me to connect
so i need to install oracle client for my pc??

Mar 27 '06 #4

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

Similar topics

0
6259
by: A. Fuentes | last post by:
Fellow Oracle Netters: I have the following problem: Enviroment: Oracle9i/AIX5.2/Veritas vxvm I am trying to create an Oracle database using RAW devices UNDER the Veritas vxvm.(Veritas Volume Manager). Brief Antecedents:
2
9186
by: Cherrish Vaidiyan | last post by:
Hello all, A warm Xmas greetings to all. I have a small problem with starting up the database. Here my strategy. I have installed Oracle 9i R 2 on Red Hat 9. i created two database on this system. And the two datasbe is working perfectly. Now i needed another RH9 system to work on Oracle 9i. So I was guided to copy the oracle home folder and that the oracle will be up for work. I even got such a response from Google Group. I copied...
1
3744
by: Cherrish Vaidiyan | last post by:
sir, I have a small error in Listener configuration.I have two system with a database in each. I am using Red Hat 9 and Oracle 9i. so i shall anme the database and system. system 1 - node2 system 2 - node3 database - apple database - intel i have installed Oracle on 'node3' by copying the files and then creating a new database in it. Now i want to configure listener. I
0
1295
by: Linesh Gajera | last post by:
Hi, I have unique problem. I have configured RemotingServer running as Console Application and my Remoting object access Oracle database. My remoting object make call to Oracle database and returns result if i run RemotingServer as Console Application. Then i configured RemotingServer as Windows Service. My Windows Service starts fine, it also configured Remoting Channels as well. Now problem is remoting object makes call to oracle...
8
4043
by: Alfonso Esteban Gonzalez Sencion | last post by:
I am trying to use Access as a front end for extracting information from an Oracle database. I started using linked tables but I am getting a very curious behaviour. When I consult the linked table in access, the total number of records is OK but some records appear several times and some records do not appear at all. It seems as if access or the ODBC drivers returns several times the same record and skips some of the records, curiosly...
1
1241
by: Golan | last post by:
Hi, I have a PRO*C code that may run also on PCs where Oracle is not installed. In this case ofcourse the code that read & write from the database should be ignored. What should I specify in the code so the oricedures with the database access will be ignored in case Oracle is not installed? Thanks
0
1643
by: Daniel Crespo | last post by:
Hi to all, I'm using adodb for accessing mysql and postgres. My problem relies on the mysql access. Sometimes, when I try to execute a query (using ExecTrans method below), I get this error: 'NoneType' object has no attribute 'cursor'
4
5729
by: BookerW | last post by:
I am not sure which forum I should post this on, but here is the problem. I have a front end web application(VB) on asp,net 1.1 framework. Inside of the code, I have the following lines to connect to the database If gbSQLServer Then 'sConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\w\vgyl\hy.mdb" gsConnectionString = "Provider=SQLOLEDB;Data Source=frt4;Initial Catalog=SRMSM;Integrated Security=SSPI" Else
5
5400
by: Michael Rudolph | last post by:
Hi newsgroup, I have an issue with the configuration of a DB2 federated database (WebSphere Information Integrator) in conjunction with the relational wrapper for Oracle on AIX. DB2 seems to not use the existing tnsnames.ora. The Oracle client is installed and the connection to the Oracle database using tnsping and sqlplus is possible (for the db2instance user). For that I changed the environment for the db2instanceuser and added the...
0
10624
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10374
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10111
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9193
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5684
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4330
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 we have to send another system
2
3853
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3010
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.