Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How do I connect to an oracle db in my ASP .NET web application, and what do I need to make this work?

Posted on 2013-01-18
8
Medium Priority
?
274 Views
Last Modified: 2013-01-24
This is my first time connecting to an Oracle DB in a web application. What all do I need to make this work? Which using statement do I need? Do I need to add a reference to my Bin folder? If so which one? Are there any clear examples of this (links to them)? Where can I find / download the Oracle Client for .NET?
0
Comment
Question by:Michael Sterling
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 20

Accepted Solution

by:
informaniac earned 2000 total points
ID: 38793763
0
 
LVL 1

Author Comment

by:Michael Sterling
ID: 38794074
@infomaniac: thank you. I downloaded that and wrote some code. all is well with the exception of me getting this error message:

{System.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.}

when I attempt to open my connection. how do I upgrade to the correct version? Or, where do I go to get the download that contains the correct version?
0
 
LVL 9

Expert Comment

by:sognoct
ID: 38794274
you have to install the oracle client, the installer is inside ODTwithODAC112030.zip that informaniac linked
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:Michael Sterling
ID: 38794296
@sognoct: ok. I'm having trouble with being for certain which file that is within the zip. i think that's what I need help locating / specifying. I followed the instrctions in the read me html file and opened a command line and did:

install.bat all c:\oracle oda

i thought that would do it. no?
0
 
LVL 1

Author Comment

by:Michael Sterling
ID: 38794312
@informaniace: in the statment below, where do I find this at? (this being: "the reference to the ODP.NET).

"In the reference to the ODP.Net make sure "require specific version" = False.  You may also want to set Copy Local to True.  If you aren't using ODP.Net then you may want to look into doing that."

Also how do (or where do) i check which version of Oracle Client I'm running? Sorry about the "newbie" questions but i am new to this.
.
0
 
LVL 9

Expert Comment

by:sognoct
ID: 38794323
I used ODTwithODAC112030.zip

in :
http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html

and there is
ODTwithODAC112030.zip

this contains a working
setup.exe run it as administrator and will work

for the new version, I've not installed yet ...
0
 
LVL 1

Author Closing Comment

by:Michael Sterling
ID: 38815648
thank you.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question