473,326 Members | 2,136 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,326 software developers and data experts.

Lost Administrator Rights - Can't open DBs

14
Hi All,

Please could you help me. I added a new user and deleted two users on Friday using the security wizard then modified a DB. When I tried to open one of my DB this morning I was not prompted to enter user name and password as normal just DB password then an error message came up that 'I did not have the necessary permissions to use the DB and have the administrator or person who created this object set the necessary permissions for you'. I am the administrator for all my DBs (I have 5 in total). The DB are stored on a network and IT restored my DBs from previous night and this still has not worked is there any way of fixing this I have ten years worth of data in some of these DBs.

Many thanks in advance
Jan 28 '08 #1
5 3057
NeoPa
32,556 Expert Mod 16PB
The most likely thing is that you've reverted to the default security file.
However, you bring in the database password like we'd been discussing it for half an hour beforehand. As we haven't, could you explain if the database had a db password set before?
Which version of Access are you using? The security file and how it's managed is an element that has changed radically between versions.
Jan 28 '08 #2
babamc4
14
Hi All,

Please could you help me. I added a new user and deleted two users on Friday using the security wizard then modified a DB. When I tried to open one of my DB this morning I was not prompted to enter user name and password as normal just DB password then an error message came up that 'I did not have the necessary permissions to use the DB and have the administrator or person who created this object set the necessary permissions for you'. I am the administrator for all my DBs (I have 5 in total). The DB are stored on a network and IT restored my DBs from previous night and this still has not worked is there any way of fixing this I have ten years worth of data in some of these DBs.

Many thanks in advance
Hi Sorry I thought I had explained everything OK (obviously not!).
I am using access 2003.
I implemented security using the security wizard.

I have now resolved the problem about accessing the DB I can access all the DBs but cannot establish myself as the administrator again. I have tried importing the DBs into new DBs but still unable to establish admin rights. My local IT department can't help as they do not support developement issues.

Many thanks and sorry for inconcise information
Jan 31 '08 #3
NeoPa
32,556 Expert Mod 16PB
Assuming that you kept the Admin account (rather than deleting it for increased security) you can get back in as Admin by the simple expedient of changing the security database (.MDW) that your PC uses.

This will allow you in as Admin with no password. However, this will not allow you to reset passwords of (or otherwise manipulate) any other accounts, except in as much as you can recreate your previous position if you have all the information stored somewhere. I doubt you will have that information to hand unless you were very meticulous (and understood the implications fully) when you originally set it up.

I'm still a little unclear as to your current problem though.
Do you have access to your database via other accounts (thereby indicating that the correct security database is in place)? If so, surely the original Admin account would be accessible. Just a matter of knowing the password.
Do you currently just have account-free access? If so, you are not using the MDW database file you have gone to so much trouble to set up (via the Security Wizard). In fact, this scenario actually uses a non-password protected Admin account.
Jan 31 '08 #4
babamc4
14
Hi thanks for all your help, unfortunately I had to admit defeat and call in outside support. I was able to access the admin account but could not regain my admin rights, as you said but thankfully it retrieved all the data which was the most important thing (There is 10+ years). I did keep the security report print out but did not keep a copy of the work group file. Never again. Thanks for you help. :)
Feb 5 '08 #5
NeoPa
32,556 Expert Mod 16PB
No worries.
Sorry it didn't work out as well as you'd hoped.
Feb 5 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: patrickshroads | last post by:
I just started a new job and no one seems to know the SA password. Here's my plan to change it: 1. I've run a trace for a couple of days to verify that there are no jobs or processes that are...
2
by: Jon Hamel | last post by:
All- I am having a problem where my DB2 administrator account on Windows (db2admin) is losing its local Administrator privledges. This happens randomly throughout the day with no ryhme or...
3
by: ray well | last post by:
hi, are administrator rights needed when installing mdac ? are administrator rights needed when installing .net framework ? thanks, ray
7
by: Pieter | last post by:
Hi, Something strange is happing with my Windowf Forms application (VB.NET 2005): The users had all local Administrator-rights on there pc. We changed it to the 'normal' users, and now they...
0
by: =?Utf-8?B?RW1tYQ==?= | last post by:
I've been trying to change my password on my home laptop & somehow I don't have adminstrator rights anymore - I can't install updates or access programs I need to. Is there anyway I can somehow get...
15
by: eltonchew | last post by:
Hi, We have an inhouse developed VB.NET Windows application which runs successfully only when the user is given a local administrator rights. Without which, it fails to start. There isn't...
0
by: Keita | last post by:
Hi everyone. I'm using a socket-based application for Windows platforms (using winsock). Everything works fine when trying to connect in Administrator mode, but when I'm in User mode no communication...
1
by: Jack Russell | last post by:
Under XP I used the following code AppDomain.CurrentDomain.SetPrincipalPolicy(Security.Principal.PrincipalPolicy.WindowsPrincipal) Dim MyPrincipal As System.Security.Principal.WindowsPrincipal...
4
by: =?Utf-8?B?WmFyYm9yZw==?= | last post by:
I'm writing a little program that will run when a user logs in, checks their password expiration and also installs a piece of monitoring software if necessary. The program has to run on Vista so I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.