p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 1.0 and 1.1 Basics (http://p2p.wrox.com/forumdisplay.php?f=60)
-   -   connecting asp.net to oracle (http://p2p.wrox.com/showthread.php?t=36641)

farsfar2 December 31st, 2005 09:13 PM

connecting asp.net to oracle
 
i have asp.net1.1 and oracle 9i, trying to connect to oracle database but getting an error saying can't find the database, this is what I have in web config
 <appSettings>
  <add Key="OraTest"
       Value="provider= OraoleDB.Oracle.1; Data Source= c:\oracle\school\chapter3\3clearwater.sql;
       user id=far@far;
       password=far;" />
  </appSettings>
Thanks in advance


planoie January 1st, 2006 04:38 PM

The data source should be the TNS service name of the TNSNAMES entry you have set up in your local oracle installation.

-Peter


All times are GMT -4. The time now is 05:09 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.