[AccessD] No Permission?

Gary J. Giever gjgiever at myway.com
Tue Sep 28 06:05:00 CDT 2004


I log in as having administrative rights but not as The Administrator.  I don't like the XP set up, so I created a new folder on the C drive called My Documents and I ignore the XP My Documents which is buried somewhere.

Thanks for the suggestions, I shall look into those issues.


Gary J. Giever, M.A.
Applications Developer
ACCMHS
3285 122nd Avenue
PO Drawer 130
Allegan, MI  49010


 --- On Mon 09/27, MartyConnelly < martyconnelly at shaw.ca > wrote:
From: MartyConnelly [mailto: martyconnelly at shaw.ca]
To: accessd at databaseadvisors.com
Date: Mon, 27 Sep 2004 14:57:07 -0700
Subject: Re: [AccessD] No Permission?

Are you sure you are logging on as administrator and not another user name?<br><br>Try this code to indicate your user name at logon<br>http://www.mvps.org/access/api/api0008.htm<br><br>Generally with a named user login "my documents" folder for user "marty" <br>would look like<br>C:\Documents and Settings\marty\My Documents\Access\<br>or<br>C:\Documents and Settings\All Users<br><br>rather than<br><br>C:\My Documents\Access\<br><br><br><br>unless you have moved it, somehow<br><br>You could have a clobbered user profile which I  am not sure how to correct.<br><br>Try this code to see what is happening<br>Sub mydocfolder()<br>Dim MyAppPath As String<br>Dim wshShell As Object<br>Set wshShell = CreateObject("wscript.shell")<br>MyAppPath = wshShell.SpecialFolders("MyDocuments")<br>Set wshShell = Nothing<br><br>Debug.Print MyAppPath<br>Debug.Print fOSUserName<br>End Sub<br><br>See this article (it takes a second or two for the right frame to load)<br>http://securityadmin.info/faq.asp#ownership<br><br><br> If this is Pro, you need to disable simple file sharing using<br>the Folder Options control panel, and then if you are using an admin<br>account, you can see the security tab.<br><br>Open Windows Explorer and right-click your "My Documents" folder. Then<br>select the Sharing and Security option and click the security tab. You<br>should see Administrators group, SYSTEM, and owner listed with full<br>control, but likely you won't see owner listed and if owner is not part<br>of the Administrators group, then that explains why you can't access the<br>folder.<br><br>Click the advanced button and click the owner tab. If the owner is<br>Administrators, then leave it alone, but if the owner is some long<br>string of numbers, you need to click Administrators and the checkbox<br>that says to apply this to all subfolders. Then click OK. Now the folder<br>belongs to a real account (and if you reinstall again, it won't be an<br>unknown account, it will continue to be Administrators group).<br><br>If owner does not appear in the list of accounts, then add owner and<br>give owner "full control". Make sure that this is applied to all<br>subfolders and files.<br><br>Reboot to normal mode, logon as owner and try to access the folder<br>again.<br><br><br>Gary J. Giever wrote:<br><br>>I have an annoying problem with Access 97 that began when I switched from Windows 98SE to Windows XP Pro.  Now when I try to re-link tables, I get this message from the Linked Table Manager:  "You do not have access to the folder 'C:\My Documents\Access\In Progress\*.mdb'.  See your administrator for access to this folder."  Most of the time it lets me re-link the tables anyway, but sometimes it will not.<br>><br>>This is confusing since I am the administrator and only user of this computer.  I have checked the Security settings under properties for the files and I seem to have permission.  Any ideas?<br>><br>><br>>Gary J. Giever, M.A.<br>>Applications Developer<br>>ACCMHS<br>>3285 122nd Avenue<br>>PO Drawer 130<br>>Allegan, MI  49010<br>><br>><br>><br>>Gary J. Giever, M.A.<br>>Applications Developer<br>>ACCMHS<br>>3285 122nd Avenue<br>>PO Drawer 130<br>>Allegan, MI  49010<br>><br>><br>>_______________________________________________<br>>No banners. No pop-ups. No kidding.<br>>Make My Way your home on the Web - http://www.myway.com<br>>  <br>><br><br>-- <br>Marty Connelly<br>Victoria, B.C.<br>Canada<br><br><br><br>-- <br>_______________________________________________<br>AccessD mailing list<br>AccessD at databaseadvisors.com<br>http://databaseadvisors.com/mailman/listinfo/accessd<br>Website: http://www.databaseadvisors.com<br>

_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com



More information about the AccessD mailing list