Cannot Access File
-
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
-
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
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?