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. connecting to a database oracle 10g

connecting to a database oracle 10g

Scheduled Pinned Locked Moved Database
csharpdatabaseoraclehelp
4 Posts 4 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.
  • H Offline
    H Offline
    hadad
    wrote on last edited by
    #1

    I can not connect to a database oracle 10g from the .net I receive this error msg "ORA-12154:TNS could not resolve the connect identifier specified

    Dad

    P R A 3 Replies Last reply
    0
    • H hadad

      I can not connect to a database oracle 10g from the .net I receive this error msg "ORA-12154:TNS could not resolve the connect identifier specified

      Dad

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      See my reply in the other thread. Please don't cross post :-D


      Some people have a memory and an attention span, you should try them out one day. - Jeremy Falcon

      1 Reply Last reply
      0
      • H hadad

        I can not connect to a database oracle 10g from the .net I receive this error msg "ORA-12154:TNS could not resolve the connect identifier specified

        Dad

        R Offline
        R Offline
        Rupa Kalluru
        wrote on last edited by
        #3

        ORA-12154 TNS:could not resolve service name Cause: The service name specified is not defined correctly in the TNSNAMES.ORA file. Action: Make the following checks and correct the error: Verify that a TNSNAMES.ORA file exists and is in the proper place and accessible. See the operating system specific manual for details on the required name and location. Check to see that the service name exists in one of the TNSNAMES.ORA files and add it if necessary. Make sure there are no syntax errors anywhere in the file. Particularly look for unmatched parentheses or stray characters. Any error in a TNSNAMES.ORA file makes it unusable. See the Oracle Net Services Administrator's Guide. If possible, regenerate the configuration files using the Oracle Network Manager.

        Rupa

        1 Reply Last reply
        0
        • H hadad

          I can not connect to a database oracle 10g from the .net I receive this error msg "ORA-12154:TNS could not resolve the connect identifier specified

          Dad

          A Offline
          A Offline
          A k ch
          wrote on last edited by
          #4

          User Id=SYSTEM;Password=MANAGER;Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.4)(PORT=1521))(CONNECT_DATA=(SID=XE))) Use you connection string like this.

          Thanks & Regards, Anil Chelasani

          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