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. Network path Access problem

Network path Access problem

Scheduled Pinned Locked Moved C#
csharpdatabasesysadminhelpquestion
3 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.
  • N Offline
    N Offline
    Nishad85
    wrote on last edited by
    #1

    I have developed a windows applicaion in C#.I want to install this app in 10 system on the network.But i want to use same database( MS access) for application.I have a connection string in app config This is my original database path how can access this database from other system on the network please write the connection string in appconfig for other system?

    P K 2 Replies Last reply
    0
    • N Nishad85

      I have developed a windows applicaion in C#.I want to install this app in 10 system on the network.But i want to use same database( MS access) for application.I have a connection string in app config This is my original database path how can access this database from other system on the network please write the connection string in appconfig for other system?

      P Offline
      P Offline
      Pankaj Joshi
      wrote on last edited by
      #2

      You have to write like this \\Server\C\ABC\MyDatabase.mdb

      Regards Pankaj Joshi If you want to shape your dreams into reality, please wake-up...

      1 Reply Last reply
      0
      • N Nishad85

        I have developed a windows applicaion in C#.I want to install this app in 10 system on the network.But i want to use same database( MS access) for application.I have a connection string in app config This is my original database path how can access this database from other system on the network please write the connection string in appconfig for other system?

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

        :laugh:Hi, You can use [ Server.Mappath("\\x\\xx.mdb") ] Try this. Thanks

        "Good Thing Goes With Good People..."

        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