Hello,
Currently I am running an Access database on a windows WTS server,
running Microsoft Windows 2000 server 5.00.2195 Service Pack 3.
This database should be accessible for everybody in our network, so
for the time being, I have changed the permission for the .mdb file to
Everone -> Full control (I know this is not professional, but I'll
sort out the security issues later).
When this database is opened, and closed again, it is automatically
compacted, which is not a bad thing, since the database is fully
emptied and rebuild on a daily base, and since quite a few temporary
tables are used.
However, I have one major problem : if the database is compacted, then
the permissions on the .mdb file change.
The Full control is removed for everyone, and only the Administrators
/ SYSTEM, and the user who compacted the database still has access to
the database.
My questions :
1. How can I deactivate / Activate the automatic compacting of an
Access database when the user quits.
2. How can I prevent that permissions are removed, when compacting the
database (I already tried to deny the "change permissions + Take
ownership" permissions for "Everyone", without any success.
Any other idea's.
Thanks
Peter Verhelst 5 2627 pv*******@abxlogistics.be (Peter Verhelst) wrote: Hello,
Currently I am running an Access database on a windows WTS server, running Microsoft Windows 2000 server 5.00.2195 Service Pack 3. This database should be accessible for everybody in our network, so for the time being, I have changed the permission for the .mdb file to Everone -> Full control (I know this is not professional, but I'll sort out the security issues later). When this database is opened, and closed again, it is automatically compacted, which is not a bad thing, since the database is fully emptied and rebuild on a daily base, and since quite a few temporary tables are used. However, I have one major problem : if the database is compacted, then the permissions on the .mdb file change. The Full control is removed for everyone, and only the Administrators / SYSTEM, and the user who compacted the database still has access to the database.
My questions :
1. How can I deactivate / Activate the automatic compacting of an Access database when the user quits. 2. How can I prevent that permissions are removed, when compacting the database (I already tried to deny the "change permissions + Take ownership" permissions for "Everyone", without any success.
Any other idea's.
Thanks
Peter Verhelst
Hi Peter,
AIUI, "compact on close" is a menu item (I'm still on A97 so I'm not sure
where).
As for file permissions, when an mdb is compacted, all objects are imported
into a new mdb which is then given the name of the donor mdb, the donor is
then deleted, so it looks like the new mdb is inheriting the permissions
from it's parent folder. I think you'd have to change the permissions on
the parent folder to suit.
HTH - Keith. www.keithwilby.org.uk
Hi Keith,
Thanks for yr quick answer.
Sorry I did not mention this in my original message, but I already gave
"Full Control permissions" to Everyone on the parent directory as well,
and I checked the box :
"Allow inheritable permissions from parent to propagate to this object".
No success however.
Peter
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Peter Verhelst <ve********@abxlogistics.be> wrote: Sorry I did not mention this in my original message, but I already gave "Full Control permissions" to Everyone on the parent directory as well,
If you mean "Full Control (All) (All)" on the folder then I'm not sure, but
it's worth checking that the second set of brackets shows "All" as this
indicates permissions on the contents of the folder.
Regards,
Keith.
Compact on Close is on the Tools - Options - General tab.
HTH
- Turtle
"Peter Verhelst" <pv*******@abxlogistics.be> wrote in message
news:42**************************@posting.google.c om... Hello,
Currently I am running an Access database on a windows WTS server, running Microsoft Windows 2000 server 5.00.2195 Service Pack 3. This database should be accessible for everybody in our network, so for the time being, I have changed the permission for the .mdb file to Everone -> Full control (I know this is not professional, but I'll sort out the security issues later). When this database is opened, and closed again, it is automatically compacted, which is not a bad thing, since the database is fully emptied and rebuild on a daily base, and since quite a few temporary tables are used. However, I have one major problem : if the database is compacted, then the permissions on the .mdb file change. The Full control is removed for everyone, and only the Administrators / SYSTEM, and the user who compacted the database still has access to the database.
My questions :
1. How can I deactivate / Activate the automatic compacting of an Access database when the user quits. 2. How can I prevent that permissions are removed, when compacting the database (I already tried to deny the "change permissions + Take ownership" permissions for "Everyone", without any success.
Any other idea's.
Thanks
Peter Verhelst
By design. See http://trigeminal.com/usenet/usenet028.asp
for more info.
--
MichKa [MS]
NLS Collation/Locale/Keyboard Development
Globalization Infrastructure and Font Technologies
This posting is provided "AS IS" with
no warranties, and confers no rights.
"Peter Verhelst" <pv*******@abxlogistics.be> wrote in message
news:42**************************@posting.google.c om... Hello,
Currently I am running an Access database on a windows WTS server, running Microsoft Windows 2000 server 5.00.2195 Service Pack 3. This database should be accessible for everybody in our network, so for the time being, I have changed the permission for the .mdb file to Everone -> Full control (I know this is not professional, but I'll sort out the security issues later). When this database is opened, and closed again, it is automatically compacted, which is not a bad thing, since the database is fully emptied and rebuild on a daily base, and since quite a few temporary tables are used. However, I have one major problem : if the database is compacted, then the permissions on the .mdb file change. The Full control is removed for everyone, and only the Administrators / SYSTEM, and the user who compacted the database still has access to the database.
My questions :
1. How can I deactivate / Activate the automatic compacting of an Access database when the user quits. 2. How can I prevent that permissions are removed, when compacting the database (I already tried to deny the "change permissions + Take ownership" permissions for "Everyone", without any success.
Any other idea's.
Thanks
Peter Verhelst This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: deko |
last post by:
I'm getting intermittent "Object Invalid or No Longer Set" errors in my
Access 2002 mdb.
What causes these errors?
Has anyone dealt with this before?
I can't trace it because it's not easy...
|
by: kma |
last post by:
I am designing an Access 2000 database on a computer running Windows 98.
I have one form with several tabs; all of which have sub forms, some
with a subform on a subform.
For example, on my...
|
by: (Pete Cresswell) |
last post by:
We were testing a version of our app that's been running for months with no
problems and it started throwing "Object no longer exists" messages on two
machines in the test environment.
We tried...
|
by: J |
last post by:
Hi,
Ive got 3 forms, (a subform within a subform within a form) and when I
refresh the outermost form, Access closes and offers to send an error
report.
The forms worked fine a few weeks ago,...
|
by: smitty mittlebaum |
last post by:
I have a strange problem that has reared its ugly head in the last few
weeks.
I have the option "Compact on Close" (Tools, Options, General tab)
enabled on my development machine. I did this...
|
by: matty |
last post by:
Hi,
I recently got very confused (well that's my life) about the
"undefined" value. I looked in the FAQ and didn't see anything about
it. On...
|
by: Serious_Practitioner |
last post by:
Good day, and thank you in advance for any assistance. I'm having trouble
with something that I'm trying for the first time.
Using Access 2000 - I want to run a function either on the click of a...
|
by: Tom_F |
last post by:
To comp.databases.ms-access --
I just discovered, to my more than mild dismay, that some tables in my
Microsoft Access 2003 database have duplicate numbers in the
"AutoNumber" field. (Field...
|
by: Samuel R. Neff |
last post by:
When is it appropriate to use "volatile" keyword? The docs simply
state:
"
The volatile modifier is usually used for a field that is accessed by
multiple threads without using the lock...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |