PC Review


Reply
Thread Tools Rate Thread

Admins with no permission

 
 
=?Utf-8?B?VGVycnk=?=
Guest
Posts: n/a
 
      12th May 2005
A database has been running quite happily with Access 2002 and Office 2000.
It is now being run on Office 2002 and Access 2002. The references have been
adjusted.
The line

Set Sn = CurrentDb.OpenRecordset(sqlText, dbOpenSnaphot)

comes up with the error "You do not have the necessary permissions to open
the db.mdb object. Now db.mdb is the database containing the code and the
user is the Owner of the database with full access rights.

If you open the immediate pane and enter ?CurrentDb.Name you get the same
error.

The problem goes further. If you stop the code and just continue running the
database the problem goes away - the next call to this line works. If you
close the database (but not Access) the problem does not re-appear when you
re-open the database. However, if you close Access and the re-start the
database the problem re-appears.

Any ideas?
Terry
 
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
Windows Genuine Advantage warnings for non local admins, works fine for admins DukeN Windows XP Setup 4 18th May 2006 08:26 PM
Problem with Windows Genuine Advantage - no issues for admins, non-admins told they have counterfeit software??!! DukeN Windows XP General 8 13th May 2006 04:14 PM
Remove domain admins from local admins group on specific servers =?Utf-8?B?UkE=?= Microsoft Windows 2000 Active Directory 6 21st Oct 2005 07:28 PM
AD permission for admins jcharth@hotmail.com Microsoft Windows 2000 Active Directory 3 5th Apr 2005 11:06 PM
add domain admins into local admins group for xp rix Microsoft Windows 2000 Group Policy 2 2nd Oct 2003 04:18 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:35 AM.