web app not connecting to oracle DB

  • Thread starter Thread starter msnesw.microsoft.com
  • Start date Start date
M

msnesw.microsoft.com

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 error:

"The Oracle(tm) client and networking components were not found. These
components are supplied by Oracle Corporation..."

I installed the Oracle client (v8i) and MDAC_TYP.EXE for any ODBC
components. Then I added Microsoft.Data.Odbc as a reference in the project.
What else should I do?

Thanks.
 
I dont know much about oracle these days, but it used to use some horrible
tnsnames.ini file - or something like that - this file needed to have the
correct dsn entires listed for connecting to oracle. I would speak to your
DBA as he (she) will likely be able to help.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director
 
the tnsnames file is definately the issue here, once your Oracle client is
working fine and dandy the Ole connection will work fine :o))
 
Back
Top