PC Review


Reply
Thread Tools Rate Thread

Administrator can't access their own database

 
 
=?Utf-8?B?S2FuZ2E=?=
Guest
Posts: n/a
 
      9th Aug 2005
Hi,
I'm not an expert on access and security and I must have done something wrong.
I had a database with a security file working great on my c: drive. I took a
copy of both files and saved them on a shared drive for test purposes.
I went in the test db on the shared drive and redirected it to the security
file on the shared drive. It didn't work.
But worse is now I can't even access my original file on my c:drive. If I
edit the system file it shows my username under the admin group. I had
various copies of the database but none of them seem to be linked to this
security file anymore.
Is there anyway that I can "recreate" that link without loosing everything?
Thanks soooo much!
Géraldine

 
Reply With Quote
 
 
 
 
TC
Guest
Posts: n/a
 
      9th Aug 2005

Kanga wrote:


> I'm not an expert on access and security and I must have done something wrong.


It's hard to get right, easy to get wrong!


> I had a database with a security file working great on my c: drive. I took a
> copy of both files and saved them on a shared drive for test purposes.


By "both files" I assume you mean the database (mdb) file and the
associated workgroup information (mdw) file?


> I went in the test db on the shared drive and redirected it to the security
> file on the shared drive. It didn't work.


Sorry, "it didn't work" means nothing to anyone. Security problems can
be tough to solve. You need to spell out what is actually happening (or
not happening) if you need more help (extra to what I've said below).


> But worse is now I can't even access my original file on my c:drive. If I
> edit the system file it shows my username under the admin group. I had
> various copies of the database but none of them seem to be linked to this
> security file anymore.


Databases are not "linked to" workgroup files. When you start Access,
it chooses which workgroup file to use, before it even *opens* the
database. The database that it then opens, plays *no part* in Access'es
decision of which workgroup file to use. Instead, it chooses thusly:

- if you start the database via a shortcut using the /wrkgrp switch, it
uses the workgroup file that you state with that switch;

- if you start it /any other way/, it uses the default workgroup file
for that PC. This is displayed or changed via the workgroup
administrator program or function.

You have probably just mis-used the workgroup administrator program or
function, or got the shortcut wrong. You need to follow /a written list
of explicit instructions/ to get this right. It;'s too hard to do it
from memory, or just using the help files.

HTH,
TC

 
Reply With Quote
 
=?Utf-8?B?S2FuZ2E=?=
Guest
Posts: n/a
 
      9th Aug 2005
Hi "TC",
Thanks for your clarification. I indeed thought that a database was linked
to a workgroup file. So what happens when you have two totally different
databases with different users?

Anyway, I just edited the workgroup administrator and picked my initial
security file and it worked. You have no idea how much you just helped me!!
Thank you soooo much!

Kanga

"TC" wrote:

>
> Kanga wrote:
>
>
> > I'm not an expert on access and security and I must have done something wrong.

>
> It's hard to get right, easy to get wrong!
>
>
> > I had a database with a security file working great on my c: drive. I took a
> > copy of both files and saved them on a shared drive for test purposes.

>
> By "both files" I assume you mean the database (mdb) file and the
> associated workgroup information (mdw) file?
>
>
> > I went in the test db on the shared drive and redirected it to the security
> > file on the shared drive. It didn't work.

>
> Sorry, "it didn't work" means nothing to anyone. Security problems can
> be tough to solve. You need to spell out what is actually happening (or
> not happening) if you need more help (extra to what I've said below).
>
>
> > But worse is now I can't even access my original file on my c:drive. If I
> > edit the system file it shows my username under the admin group. I had
> > various copies of the database but none of them seem to be linked to this
> > security file anymore.

>
> Databases are not "linked to" workgroup files. When you start Access,
> it chooses which workgroup file to use, before it even *opens* the
> database. The database that it then opens, plays *no part* in Access'es
> decision of which workgroup file to use. Instead, it chooses thusly:
>
> - if you start the database via a shortcut using the /wrkgrp switch, it
> uses the workgroup file that you state with that switch;
>
> - if you start it /any other way/, it uses the default workgroup file
> for that PC. This is displayed or changed via the workgroup
> administrator program or function.
>
> You have probably just mis-used the workgroup administrator program or
> function, or got the shortcut wrong. You need to follow /a written list
> of explicit instructions/ to get this right. It;'s too hard to do it
> from memory, or just using the help files.
>
> HTH,
> TC
>
>

 
Reply With Quote
 
TC
Guest
Posts: n/a
 
      9th Aug 2005
No probs.

When you start Access, it selects the workgroup file to use, as I
described before. That workgroup file will contain users & groups who
might or might not exist in other workgroup files.

If the Admin user in the workgroup file that Access selects, has been
given a password, you will get the username/password box, & you must
log in as a valid user defined in that workgroup file.

But, the user who you log in as, might or might not have any
permissions on the database that Access then opens. This depends
entirely on whether /you/ have ensured that Access uses the right
workgroup file for that database. If you have, it all works properly.
If you haven't, it all stops working with "insufficient permissions"
errors - as it should do.

You are possibly being misled into thinking that when you double-click
a database file, Access opens that file, then decides which workgroup
file to use. That is not how it works. The actual sequence is as
follows when you double-click a database file:

- Windows starts Access;
- Access decides which workgroup file to use, & opens it;
- Access *then* opens the database file (and not before).

It's all fairly tricky until you get the hang of it.

HTH,
TC

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to open an Access database object - Access Database Becomes Inaccessible Suzane Brandy Microsoft Access 2 21st Apr 2010 07:33 AM
How do I change the database administrator on a BCM database? ffishstik Microsoft Outlook BCM 1 25th Jun 2008 02:31 PM
Export Relationships Diagram for four new tables from test(developer) ms access database to production ms access database Bosiljka Kostić Microsoft Access Getting Started 1 14th Feb 2007 11:45 PM
Unable to access administrator functions when logged in as administrator Bob Windows XP Security 5 17th Feb 2004 06:13 PM
user in local administrator group doesn't have administrator access J.T. Windows XP Security 3 24th Oct 2003 03:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:24 AM.