Connecting to Oracle from ASP3


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Connecting to Oracle from ASP3

  1. #1
    Join Date
    Oct 2005
    Posts
    2

    Connecting to Oracle from ASP3

    I am confused about the conect strings to be used to connect to Oracle database.

    I tend to get TNS could not resolve connect srtring error.
    Can anybody clarify on this?

    Thanks in advance!!

  2. #2
    Join Date
    Dec 2003
    Posts
    2,750
    Could you post an example of the your connection string syntax?

    Can you connect with SQL Plus? TNS errors typically occur when there is a configuration problem.
    Paul
    ~~~~
    Microsoft MVP (Visual Basic)

  3. #3
    Join Date
    Oct 2005
    Posts
    2
    Yes, I could connect to Sql Plus without difficulty. There are two Providers in Windows viz:Microsoft OLEDB Provider for ODBC Drivers and Microsoft OLEDB Provider for Oracle.
    I tried both.
    I use the data link file (.udl) properties to test the Oracle connection. I learnt from a WROX book this is the best way to get the connect string which can be pasted on the connection object's open method (in ASP3).
    Hope this provides the necessary context for giving me the fix. Thanks!

  4. #4
    Join Date
    Dec 2003
    Posts
    2,750
    OK, but I would still need to see the connection string syntax to make certain it is correct.
    Paul
    ~~~~
    Microsoft MVP (Visual Basic)

Similar Threads

  1. setting up asp.net server
    By kylemcna in forum ASP.NET
    Replies: 5
    Last Post: 04-13-2007, 02:23 AM
  2. Replies: 0
    Last Post: 04-10-2003, 12:14 PM
  3. Connecting to ORACLE through JDBC
    By Hiranya Samarasekera in forum Java
    Replies: 1
    Last Post: 06-27-2002, 11:27 AM
  4. Problem in Connecting with Oracle
    By shailendra in forum VB Classic
    Replies: 1
    Last Post: 10-18-2001, 09:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center