Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. ORA-12505 [modified]

ORA-12505 [modified]

Scheduled Pinned Locked Moved Database
csharpasp-netdatabaseoraclehelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Shajeel
    wrote on last edited by
    #1

    i am getting the following problem when connecting to oracle using OracleClient in C# ASP.NET 1.1: ORA-12505: TNS:listener could not resolve SID given in connect descriptor I am using this in connection stirng with proper user and password: Data Source=ABC;User ID={0};Password={1};Unicode=true where ABC is the Database added in Management Console (only client is installed on the computer), i can connect to this database using Console and also by creating dsn. Can anyone figure out the problem, as my program is running on many other pcs correctly. -- modified at 7:06 Tuesday 10th July, 2007 Regards Shajeel

    A 1 Reply Last reply
    0
    • S Shajeel

      i am getting the following problem when connecting to oracle using OracleClient in C# ASP.NET 1.1: ORA-12505: TNS:listener could not resolve SID given in connect descriptor I am using this in connection stirng with proper user and password: Data Source=ABC;User ID={0};Password={1};Unicode=true where ABC is the Database added in Management Console (only client is installed on the computer), i can connect to this database using Console and also by creating dsn. Can anyone figure out the problem, as my program is running on many other pcs correctly. -- modified at 7:06 Tuesday 10th July, 2007 Regards Shajeel

      A Offline
      A Offline
      andyharman
      wrote on last edited by
      #2

      Did you configure the "tnsnames.ora" file on your PC? This may help: http://www.codeproject.com/vbscript/connection_string.asp[^]

      If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message".

      S 1 Reply Last reply
      0
      • A andyharman

        Did you configure the "tnsnames.ora" file on your PC? This may help: http://www.codeproject.com/vbscript/connection_string.asp[^]

        If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message".

        S Offline
        S Offline
        Shajeel
        wrote on last edited by
        #3

        Problem is that my application is running on dozens of other boxes, so it is not the problem in which i want to change my code. This is some sort of configuration problem which i am not able to resolve.

        Regards Shajeel

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups