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. General Programming
  3. C#
  4. Virtual connection to a Access Db

Virtual connection to a Access Db

Scheduled Pinned Locked Moved C#
csharpdatabasecomsysadmin
8 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.
  • A Offline
    A Offline
    Almerica
    wrote on last edited by
    #1

    I need to make a connection from a c# application running locally on a PC to a MS access db running on a web server with. Essentially, I would like to use something like string strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=http://www.domain.com/db/mydb.mdb;"; Any suggestions would be great. Almerica

    G S 2 Replies Last reply
    0
    • A Almerica

      I need to make a connection from a c# application running locally on a PC to a MS access db running on a web server with. Essentially, I would like to use something like string strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=http://www.domain.com/db/mydb.mdb;"; Any suggestions would be great. Almerica

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      It's not possible to connect to an Access database remotely.

      --- b { font-weight: normal; }

      A 1 Reply Last reply
      0
      • G Guffa

        It's not possible to connect to an Access database remotely.

        --- b { font-weight: normal; }

        A Offline
        A Offline
        Almerica
        wrote on last edited by
        #3

        Is there a way to update it then without actually having a script on the server? I hear you can do it with a Sql DB. Almerica

        G 1 Reply Last reply
        0
        • A Almerica

          Is there a way to update it then without actually having a script on the server? I hear you can do it with a Sql DB. Almerica

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          Almerica wrote:

          Is there a way to update it then without actually having a script on the server?

          Nope.

          Almerica wrote:

          I hear you can do it with a Sql DB.

          SQL is the language that you use to query the database, it has nothing to do with how you connect to the database. Access also uses SQL. I suppose that you mean Microsoft SQL Server. That is a database server, in contrast to Access that is a file based database. You can connect to a database server from anywhere, but for a file based solution you need direct access to the actual file.

          --- b { font-weight: normal; }

          1 Reply Last reply
          0
          • A Almerica

            I need to make a connection from a c# application running locally on a PC to a MS access db running on a web server with. Essentially, I would like to use something like string strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=http://www.domain.com/db/mydb.mdb;"; Any suggestions would be great. Almerica

            S Offline
            S Offline
            shopi30
            wrote on last edited by
            #5

            Hi Almerica. First, has you been thinked that if the Virtual connection to a Access Db was possible do you really want make it?. Remember this, When you open a Microsoft Access DB with OleDb, this block the file for other users. Why don't try using Free DataBases like MySQL. I'd suppouse that these have more powerful that Access.

            SINCERELY. ANTHONY ACUÑA PREFERED PHRASE: SOMEBODY TELL ME WHY IS MORE REAL WHEN I DREAM THAT I AM WAKE?

            A 1 Reply Last reply
            0
            • S shopi30

              Hi Almerica. First, has you been thinked that if the Virtual connection to a Access Db was possible do you really want make it?. Remember this, When you open a Microsoft Access DB with OleDb, this block the file for other users. Why don't try using Free DataBases like MySQL. I'd suppouse that these have more powerful that Access.

              SINCERELY. ANTHONY ACUÑA PREFERED PHRASE: SOMEBODY TELL ME WHY IS MORE REAL WHEN I DREAM THAT I AM WAKE?

              A Offline
              A Offline
              Almerica
              wrote on last edited by
              #6

              Thanks everyone for the advice. It sounds like the best thing for me to do is to go with SQL Server. I have hosting with godaddy and they offer SQL Server. :-D

              S 1 Reply Last reply
              0
              • A Almerica

                Thanks everyone for the advice. It sounds like the best thing for me to do is to go with SQL Server. I have hosting with godaddy and they offer SQL Server. :-D

                S Offline
                S Offline
                shopi30
                wrote on last edited by
                #7

                Hi Almerica. If you really need do it with Access, You can do it with WebServices, sending XML to client.

                SINCERELY. ANTHONY ACUÑA PREFERED PHRASE: SOMEBODY TELL ME WHY IS MORE REAL WHEN I DREAM THAT I AM WAKE?

                A 1 Reply Last reply
                0
                • S shopi30

                  Hi Almerica. If you really need do it with Access, You can do it with WebServices, sending XML to client.

                  SINCERELY. ANTHONY ACUÑA PREFERED PHRASE: SOMEBODY TELL ME WHY IS MORE REAL WHEN I DREAM THAT I AM WAKE?

                  A Offline
                  A Offline
                  Almerica
                  wrote on last edited by
                  #8

                  I cando a web service but that would still require me to put a script on the server. That's what i'm tryin gto avoid. Alemrica

                  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