Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Security / December 2004

Tip: Looking for answers? Try searching our database.

Access Security Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Markus - 29 Dec 2004 10:15 GMT
Hallo

I hope some one can help me. I have the following problem i have for on of
my access DB i setup the security function using the wizared and its working
fine now when ever i try to open any other DB that does not have any security
or even when i try a create a new one it always askes for a user name and
password and no matter what i enter it does not open what can i do to fix the
problem
Rick Brandt - 29 Dec 2004 14:23 GMT
> Hallo
>
[quoted text clipped - 4 lines]
> always askes for a user name and password and no matter what i enter
> it does not open what can i do to fix the problem

Your security "environment" is not attached to any specific MDB file nor does
any particular MDB file determine it.

Whenever you launch Access you are *always* doing so with a workgroup file (MDW
extension) and that file sets the security environment.  If you do not specify a
workgroup file as a command line argument when launching Access then your
default workgroup file is used.

Now; if the workgroup file being used has a password applied to the default user
account "Admin", then you are prompted for a UserName and Password when opening
files.  At this point Access doesn't care what file you are attempting to open.
All it knows is that you are using a workgroup that requires logging in.

What the security wizard did was create a new workgroup file (that requires a
login) AND it made that workgroup your default which is why you are always
prompted.  At some point in the wizard you were asked if this is what you wanted
and you must have responded that this is what you wanted.  Otherwise it would
have left your default workgroup alone and instead it would have created a
special shortcut that you would use when opening your secure file.

So to fix it...

Use the workgroup administrator utility to change your default workgroup back to
System.MDW.  This should allow you to open all non-secure files without being
prompted.  Then you can create a shortcut for your secure file that uses a
command line argument to specify a non-default workgroup.  The syntax for such a
shortcut is generically...

"Path to MSAccess.exe" /wrkgrp "path to secure MDW file" "path to secure MDB
file"

You still have another problem though because even though you are currently
being prompted every time you try to open a file, the UserName that you created
during the security wizard should get you in.  Did you write this information
down?  Have you tried using that UserName with a blank password?

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.