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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Connect to oracleDB

Connect to oracleDB

Scheduled Pinned Locked Moved Database
helpdatabaseoraclesysadminquestion
3 Posts 2 Posters 1 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.
  • D Offline
    D Offline
    DuckFace
    wrote on last edited by
    #1

    Hi! I'm new to oracle and i'm trying to connect to a remote oracle db server. I use the following connection string: string strConn = "Provider=OraOLEDB;DataSource=;User ID=;Password="; I get the error: The provider OraOLEDB is not registered on the local machine. What does this means? The provider is installed on the server. Do I have to install it on the local machine too? Can someone please help me...

    M 1 Reply Last reply
    0
    • D DuckFace

      Hi! I'm new to oracle and i'm trying to connect to a remote oracle db server. I use the following connection string: string strConn = "Provider=OraOLEDB;DataSource=;User ID=;Password="; I get the error: The provider OraOLEDB is not registered on the local machine. What does this means? The provider is installed on the server. Do I have to install it on the local machine too? Can someone please help me...

      M Offline
      M Offline
      Michael P Butler
      wrote on last edited by
      #2

      DuckFace wrote: Do I have to install it on the local machine too? Yes, if this is a desktop application. No, if you are talking to a web page. Michael CP Blog [^]

      D 1 Reply Last reply
      0
      • M Michael P Butler

        DuckFace wrote: Do I have to install it on the local machine too? Yes, if this is a desktop application. No, if you are talking to a web page. Michael CP Blog [^]

        D Offline
        D Offline
        DuckFace
        wrote on last edited by
        #3

        Thx for response. Now i have installed the oracle provider for oledb on my local machine. I have the following method for connecting to the db: public void createOLEDBConn() { string strConn = "Provider=OraOLEDB.Oracle;Data Source=;User Id=dummy;Password=dummy"; OleDbConnection myOleDbConn = new OleDbConnection(strConn); MessageBox.Show("Just before open!"); myOleDbConn.Open(); MessageBox.Show( myOleDbConn.ServerVersion.ToString(), "Test Conn"); myOleDbConn.Close(); } The first messagebox is being showned, but when I call the open method, the application just waits and I have to stop it myself. I don't know why. Do you?? The dummy user is one I created on the server

        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