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. .NET (Core and Framework)
  4. Cannot Access File

Cannot Access File

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpdatabasedotnetsecurityhelp
2 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.
  • J Offline
    J Offline
    Jonathan Austin
    wrote on last edited by
    #1

    I am not too sure if this is the right place for this post but.. I am developing a desktop application. It is using JET as it's backend database. The mdb file typically resides on the local machine. I wanted to implement funcationaility where the mdb file could be shared. I tried to put a UNC (\\computer\my.mdb) as my path but it will not work. I know that the permissions are right on the other computer and all of that suff. I can open it no problem. Is the .NET Framework Security stuff restricting the files that I can access over the intranet? I know it does it with assemblies. :confused: Any ideas? Thanks, Jonathan

    T 1 Reply Last reply
    0
    • J Jonathan Austin

      I am not too sure if this is the right place for this post but.. I am developing a desktop application. It is using JET as it's backend database. The mdb file typically resides on the local machine. I wanted to implement funcationaility where the mdb file could be shared. I tried to put a UNC (\\computer\my.mdb) as my path but it will not work. I know that the permissions are right on the other computer and all of that suff. I can open it no problem. Is the .NET Framework Security stuff restricting the files that I can access over the intranet? I know it does it with assemblies. :confused: Any ideas? Thanks, Jonathan

      T Offline
      T Offline
      TigerNinja_
      wrote on last edited by
      #2

      make sure the user/pwd you use for connectoin authentication have privelages. you might want to use a UDL (Universal Data Link) instead of UNC. copy and save this to a .reg file then run, to install UDL in your shell REGEDIT4 [HKEY_CLASSES_ROOT\.UDL] @="MSDASC" [HKEY_CLASSES_ROOT\.UDL\ShellNew] @="MSDASC" "Data"=hex:ff,fe,5b,00,6f,00,6c,00,65,00,64,00,62,00,5d,00,0d,00,0a,00,3b,00,\ 20,00,45,00,76,00,65,00,72,00,79,00,74,00,68,00,69,00,6e,00,67,00,20,00,61,\ 00,66,00,74,00,65,00,72,00,20,00,74,00,68,00,69,00,73,00,20,00,6c,00,69,00,\ 6e,00,65,00,20,00,69,00,73,00,20,00,61,00,6e,00,20,00,4f,00,4c,00,45,00,20,\ 00,44,00,42,00,20,00,69,00,6e,00,69,00,74,00,73,00,74,00,72,00,69,00,6e,00,\ 67,00,0d,00,0a,00,50,00,52,00,4f,00,56,00,49,00,44,00,45,00,52,00,3d,00,6d,\ 00,73,00,64,00,61,00,73,00,71,00,6c,00,3b,00,0d,00,0a,00


      R.Bischoff | C++   .NET, Kommst du mit?

      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