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. MS Access Connection String

MS Access Connection String

Scheduled Pinned Locked Moved Database
databasesysadminquestion
4 Posts 3 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.
  • K Offline
    K Offline
    kadkir
    wrote on last edited by
    #1

    Hi all, How do I connect to a MS-access data base which is present in localhost from an application runnig on web server. I want to send data from DB Server (sqlserver 2000) which is on remote machine to Ms-Access DB present in localhost. After googling I found the following Open connection to Access database located on a remote server:

    "Provider=MS Remote; Remote Server=http://Your-Remote-Server-IP; Remote Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\App1\Your_Database_Name.mdb"

    But, here my localhost IP varies depending on the client's system on which the web application is running. So, how do I set the clients' IP value or is there any other way to acheive this. Thank U all, Kiran

    J 1 Reply Last reply
    0
    • K kadkir

      Hi all, How do I connect to a MS-access data base which is present in localhost from an application runnig on web server. I want to send data from DB Server (sqlserver 2000) which is on remote machine to Ms-Access DB present in localhost. After googling I found the following Open connection to Access database located on a remote server:

      "Provider=MS Remote; Remote Server=http://Your-Remote-Server-IP; Remote Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\App1\Your_Database_Name.mdb"

      But, here my localhost IP varies depending on the client's system on which the web application is running. So, how do I set the clients' IP value or is there any other way to acheive this. Thank U all, Kiran

      J Offline
      J Offline
      Jack Brando
      wrote on last edited by
      #2

      try this... Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\server_name\db_folder\Your_Database_Name.mdb;User Id=admin;Password=;

      K 1 Reply Last reply
      0
      • J Jack Brando

        try this... Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\server_name\db_folder\Your_Database_Name.mdb;User Id=admin;Password=;

        K Offline
        K Offline
        kadkir
        wrote on last edited by
        #3

        Hi Jack, Thanks for ur response. But my actual requirement is as follows.., I uploaded an application to remotely located web server. Whoever the client calls that application it needs to send the content of its sqlserver database to clients' ms-access database. For this I need to establish a connection in that web-application to have access to clients' MS-Access data base. Irrespective of the connection i.e., whether it is from a proxy, Dial-Up, Broad band the data should flow exactly to the clients' system who is currently using that application. So, How do I know the exact systems' address to copy the database? Thank U all, Kiran.

        M 1 Reply Last reply
        0
        • K kadkir

          Hi Jack, Thanks for ur response. But my actual requirement is as follows.., I uploaded an application to remotely located web server. Whoever the client calls that application it needs to send the content of its sqlserver database to clients' ms-access database. For this I need to establish a connection in that web-application to have access to clients' MS-Access data base. Irrespective of the connection i.e., whether it is from a proxy, Dial-Up, Broad band the data should flow exactly to the clients' system who is currently using that application. So, How do I know the exact systems' address to copy the database? Thank U all, Kiran.

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #4

          I think you are trying to PUSH (from SQL Server to Access) when you do not know where the Access DB is. This requires telepathinc software OR have your app/access db tell SQL where it is before trying to push.

          kadkir wrote:

          Whoever the client calls that application

          As part of the call make it identify itself. IIRC you used to be able to link an Access DB to use sql tables, this implies a connection residing in the Access DB!

          Never underestimate the power of human stupidity RAH

          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