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. How to connect to Ms Access Database?

How to connect to Ms Access Database?

Scheduled Pinned Locked Moved Web Development
databasehelptutorialquestion
4 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.
  • M Offline
    M Offline
    mdrizwan_1
    wrote on last edited by
    #1

    I am having 2 Web Application . I want to access same MS Access database in both application. First App has the database in its App folder. Now i want to provide connection to the same database in another App. Please help. Regards Rizwan

    W 1 Reply Last reply
    0
    • M mdrizwan_1

      I am having 2 Web Application . I want to access same MS Access database in both application. First App has the database in its App folder. Now i want to provide connection to the same database in another App. Please help. Regards Rizwan

      W Offline
      W Offline
      walterhevedeich
      wrote on last edited by
      #2

      Just modify your connection string of your 2nd app to point to the database of your 1st app.

      M 1 Reply Last reply
      0
      • W walterhevedeich

        Just modify your connection string of your 2nd app to point to the database of your 1st app.

        M Offline
        M Offline
        mdrizwan_1
        wrote on last edited by
        #3

        Hello walterhevedeich, Thanks for your response. The problem is When i Host this app on a domain. how do i get the location of First App folder in the second App? Rizwan

        W 1 Reply Last reply
        0
        • M mdrizwan_1

          Hello walterhevedeich, Thanks for your response. The problem is When i Host this app on a domain. how do i get the location of First App folder in the second App? Rizwan

          W Offline
          W Offline
          walterhevedeich
          wrote on last edited by
          #4

          That's the tricky part. :) . It would make sense if you put your database on a file server. From there, the two applications will be able to access the database without security issues.

          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