Microsoft KB Archive/170701

= ACC97: Objects Appear Replicable for Users with No Permissions =

Article ID: 170701

Article Last Modified on 1/20/2007

-

APPLIES TO


 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q170701



Advanced: Requires expert coding, interoperability, and multiuser skills.



SYMPTOMS
Some local objects in a replicated database appear as replicable objects. That is, they are displayed with the Replicable icon even though they are not replicable objects.



CAUSE
The user who is currently logged on to Microsoft Access does not have Read Design permissions for the local object.



STATUS
Microsoft has confirmed this to be a problem in Microsoft Access 97.



MORE INFORMATION
Microsoft Access attempts to retrieve the Replicable property of objects when a user opens a replicable database. If the user does not have Read Design permissions for an object, Microsoft Access cannot retrieve its Replicable property, and cannot determine if it is replicable or not. In this case, Microsoft Access assumes that the object is replicable and displays the Replicable icon next to it in the Database window.

Note that this problem occurs only in the Microsoft Access user interface and does not affect synchronization with other replicas. The local objects are not propagated to other members of the replica set during synchronization.

Steps to Reproduce Problem
IMPORTANT: You should make a backup copy of your workgroup file (System.mdw) before following the steps below.

 Start Microsoft Access 97, but do not open a database. On the Tools menu, point to Security, and then click User And Group Accounts. Create a new user account and add it to the Admins group. Remove the Admin user from the Admins group. Assign the Admin user a password. This will cause Microsoft Access to prompt you for a user name and password at startup.</li> Click OK to close the User And Group Accounts dialog box.</li> Quit Microsoft Access and restart it.</li> Log on as the user you created in step 3.</li> Create a new, blank database.</li> On the Tools menu, point to Security, and then click User And Group Permissions.</li> Revoke all permissions for New Tables/Queries for the Users group and the Admin user.</li> Click OK to close the User And Group Permissions dialog box.</li> On the Tools menu, point to Replication, and then click Create Replica.</li> Click Yes when you see a message stating that the database must be closed to create a replica.</li> Click No when prompted to make a backup of the database.</li> Click Cancel when prompted for the location of the new replica. Although a new replica is not created, Microsoft Access will have converted your database to a Design Master.</li>  Create a new table with the following fields:

<pre class="fixed_text">       Table: Table1 Field Name: ID       Data Type: AutoNumber Indexed: Yes (No Duplicates) Field Name: Field1 Data Type: Text

Table Properties: Table1 PrimaryKey: ID                       </li> Save the table as Table1. When prompted for the name of the table, make sure the Make Replicable check box is not selected.</li> Quit Microsoft Access and restart it.</li> Log on as the Admin user using the password that you assigned to the Admin user in step 5.</li> Open the new database that you created in step 9.

Note that the table you saved as a local object is now displayed with a Replicable icon in the Database window.</li></ol>

Keywords: kbbug KB170701

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.