Microsoft KB Archive/825797

= Error message when you convert an uncompiled, read-only database: &quot;Cannot update. Database or object is read-only&quot; =

Article ID: 825797

Article Last Modified on 4/12/2007

-

APPLIES TO


 * Microsoft Office Access 2003

-



Novice: Requires knowledge of the user interface on single-user computers. This article applies only to a Microsoft Access database (.mdb).



For a Microsoft Access 2002 version of this article, see 295200.



SYMPTOMS
When you try to convert an uncompiled, read-only database to Microsoft Office Access 2003, you may receive the following error message:

Cannot update. Database or object is read-only.

When you try to quit Access after you receive this error message, you may receive the following error message:

Microsoft Office Access has encountered a problem and needs to close. We are sorry for the inconvenience.



WORKAROUND
To work around this problem, follow these steps:  Start Access 2003. On the Tools menu, point to Database Utilities, point to Convert Database, and then click To Access 2002 - 2003 File Format. In the Database to Convert From dialog box, click the database that you want to convert, and then click Convert. In the Convert Database Into dialog box, give the database a unique name, and then click Save. Click OK in the following message box:

After you have converted this file to Access 2002 - 2003 File Format, the new file cannot be shared with Access 2000 users or Access 97 users.

For more information about conversion, click Help.



<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

Steps to Reproduce the Problem
 Start Access 2000.</li> Create a new database.</li>  Create a new module, and then add the following code: Function Test MsgBox &quot;Test&quot; End Function </li> Save the module as Module1 .</li> Quit Access 2000.</li> In Windows Explorer, right-click the database that you created in step 2, and then click Properties.</li> In the Properties dialog box, click to select the Read-only check box, click Apply, and then click OK.</li> Open the same database in Access 2003.</li> On the Tools menu, point to Database Utilities, point to Convert Database, and then click To Access 2002 - 2003 File Format.</li> Give your database a unique name, and then click Save.

You receive the error message that is discussed in the &quot;Symptoms&quot; section of this article.</li></ol>

Keywords: kberrmsg kbconversion kbdatabase kbconvert kbbug KB825797

-

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

© Microsoft Corporation. All rights reserved.