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. Web Development
  3. ASP.NET
  4. Asp.Net - Oracle Connection failed

Asp.Net - Oracle Connection failed

Scheduled Pinned Locked Moved ASP.NET
databasecsharphelpasp-netoracle
2 Posts 2 Posters 5 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.
  • L Offline
    L Offline
    lalithafranklyn
    wrote on last edited by
    #1

    Hi, I am using oracle and c#.net. In my application, i need to populate a dropdownlist from one oracle db of a particular server/port/schema and populate another dropdownlist from another oracle db from another server/port. Both the connections were success while connecting using oracle sql developer tool but in my application, i could not load the second control. Invalid username/password. logon failed error comes for the same credentials. I am new to oracle. Please help me where i have to correct. Thanks in advance. Thanks, Lalitha

    N 1 Reply Last reply
    0
    • L lalithafranklyn

      Hi, I am using oracle and c#.net. In my application, i need to populate a dropdownlist from one oracle db of a particular server/port/schema and populate another dropdownlist from another oracle db from another server/port. Both the connections were success while connecting using oracle sql developer tool but in my application, i could not load the second control. Invalid username/password. logon failed error comes for the same credentials. I am new to oracle. Please help me where i have to correct. Thanks in advance. Thanks, Lalitha

      N Offline
      N Offline
      Niladri_Biswas
      wrote on last edited by
      #2

      That means the supplied credentials are wrong (for the second case). Provide correct credentials and it should work. Check Checking Connection to Oracle Database for testing the connectivity. In case , the credentials are correct, then may be the connection path is wrong e.g. in

      OracleConnection connection = new OracleConnection(@connectionPath);

      check the value for @connectionPath e.g.

      string connectionPath = "Data Source=orcl;User Id=scott;Password=tiger;Persist Security Info=False";

      Hope this will help. [^]

      Niladri Biswas (Code Project MVP 2012)

      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