473,387 Members | 1,489 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Need to make database read only - not executable on win2000 server

Hello,

I have a front-end access db on a server share - the users should COPY
the db to their desktop - but we know how that goes. I've tried to
make it read only and have denied execute permissions on the directory
but it's still runs off the server - i just get the read only message
in access.

Does anyone have a solution? Why am I able to execute the db? Is a
temporary copy being created on the desktop computer? I've noticed
that a .ldb file is not being created - perhaps due to write
permissions being denied(but i'm not sure about this)

thanks
Sam

Nov 13 '05 #1
1 2022
sa**********@gmail.com wrote:
Hello,

I have a front-end access db on a server share - the users should COPY the db to their desktop - but we know how that goes. I've tried to
make it read only and have denied execute permissions on the directory but it's still runs off the server - i just get the read only message
in access.

Does anyone have a solution? Why am I able to execute the db? Is a
temporary copy being created on the desktop computer? I've noticed
that a .ldb file is not being created - perhaps due to write
permissions being denied(but i'm not sure about this)

thanks
Sam


Would SysCmd(acSysCmdAccessDir) or Access.CurrentDb.Name begin with
something other than "C" if they open the front end on the server
share?

James A. Fortune

There is a special type of exception called a DBConcurrencyException
which derives from the base Exception class. Because the DataSet stores
the original and proposed values of each column in a row, it knows how
to compare the values to the database to look for concurrency issues
automatically. For example, assume that a user changes the value of the
firstname field from Lloyd to Lamar and submits the changes to the
database. The changes, which are stored in a DataSet, are passed on to
the database via the DataAdapter's Update method. Before the data is
actually saved, if the name in the database is no longer Lloyd but is
now Lorenzo, a DBConcurrencyException exception will be thrown. This
exception can be caught and handled appropriately in whatever way suits
your application's needs best (you could, for example, enforce a "last
in wins" rule, giving the user the option to cancel the changes,
override, or force the update anyway, or some other technique).

--
http://msdn.microsoft.com/msdnmag/is...s/default.aspx

Hint: Think Timestamps -- Jim Rand

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: adirat | last post by:
I have read a lot on this subject on newsgroups and other access related websites on data corruption, but since we are still not able to isolate the problem – I am posting this detailed explanation...
0
by: Johanna | last post by:
Hello, Thread was being aborted exception is thrown by my asp.net application. I hope someone could help me with this error that I get in windows 2003 server. This error has not occured with...
8
by: Chris | last post by:
Hi, All my websites and webservices are down. I get the following message Server Error in '/mywebservices' Application....
5
by: HotRod | last post by:
I am new to this so please go easy. We currently have some students doing some work on some web based tracking documents for us. They are currently using VB .net to develop what we requested....
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
2
by: =?Utf-8?B?amxvcGVzMTUx?= | last post by:
Here the sample code, it fails on the attachment retrieving the file. The file is located on a remote server. The folder is Shared & Web Shared with EveryOne having Full access to the shared...
5
by: bean330 | last post by:
Hey, I'm somewhat new to C# and I need a little help, please! I'm selecting a bunch of records, setting properties on a COM executable and then calling a method on that executable to run. I...
8
by: Mike Silva | last post by:
Hello all, I'm a longtime programmer (embedded with a smattering of desktop stuff as well) who knows very little about web programming. Right now I am developing the prototype of a multi-user...
2
by: kirthi.amudha | last post by:
Hi, I have app dev client installed on my machine. Can we create the sample database using db2sampl. I was able to create database using the 'Create Database' command. But I am not able...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.