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. Database access error

Database access error

Scheduled Pinned Locked Moved Database
helpdatabasesysadminquestion
5 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.
  • N Offline
    N Offline
    neoms21
    wrote on last edited by
    #1

    hi all, i am facing a prob lem in accessing database over network. i should elaborate the problem bit more look if use the connection string as below then it works fine, "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=C:\xyz\abc.mdb;" but when i try to use it as "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=\\webbdv\jkl\mmm.mdb;" where webbdv is computer name which is residing on network and not my local machine then application gives error 'Disk or Network Error' hopefully you are having answer for this question waiting for your reply thnking in anticipation neoms21

    C 1 Reply Last reply
    0
    • N neoms21

      hi all, i am facing a prob lem in accessing database over network. i should elaborate the problem bit more look if use the connection string as below then it works fine, "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=C:\xyz\abc.mdb;" but when i try to use it as "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=\\webbdv\jkl\mmm.mdb;" where webbdv is computer name which is residing on network and not my local machine then application gives error 'Disk or Network Error' hopefully you are having answer for this question waiting for your reply thnking in anticipation neoms21

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      The most obvious question is, can you see that folder on your network from that machine, without having to log in to it ? Christian Graus - Microsoft MVP - C++

      N 1 Reply Last reply
      0
      • C Christian Graus

        The most obvious question is, can you see that folder on your network from that machine, without having to log in to it ? Christian Graus - Microsoft MVP - C++

        N Offline
        N Offline
        neoms21
        wrote on last edited by
        #3

        yes i can see that folder even access them and edit i am having all security privilleges. but when ran in application it doesn't get access.

        C 1 Reply Last reply
        0
        • N neoms21

          yes i can see that folder even access them and edit i am having all security privilleges. but when ran in application it doesn't get access.

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          The user that your site runs under needs access. When you're browsing, you're not doing it as that user. How is the site written ( asp/asp.net/etc ? ). Do you know the user your site runs as ? Does IIS allow anonymous access ( if so, you're probably running as an anonymous user ). Christian Graus - Microsoft MVP - C++

          N 1 Reply Last reply
          0
          • C Christian Graus

            The user that your site runs under needs access. When you're browsing, you're not doing it as that user. How is the site written ( asp/asp.net/etc ? ). Do you know the user your site runs as ? Does IIS allow anonymous access ( if so, you're probably running as an anonymous user ). Christian Graus - Microsoft MVP - C++

            N Offline
            N Offline
            neoms21
            wrote on last edited by
            #5

            yes IIS allows anonymous access. and my site http://webbdv/firstpage.aspx

            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