ACC: Opening Databases as Read-Only Causes Error Message

Last reviewed: May 20, 1997
Article ID: Q88649
The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1, 2.0, 7.0, 97

SUMMARY

Moderate: Requires basic macro, coding, and interoperability skills.

When you open a database, you may receive the following error message:

   Database '<databasename>' is read-only. You won't be able to save
   changes made to data or object definitions in this database."

MORE INFORMATION

This error may occur if you open a database under the following three conditions:

  • The file is read-only, whether or not its file attribute is set to read-only.
  • The folder in which the file resides is read-only.
  • You are using the /Ro command line parameter.

Using Microsoft Access security features, you can make all the objects in a database read-only without having to implement any of the items above.

REFERENCES

For more information about using Microsoft Access security, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q148555
   TITLE     : ACC95: MS Access 7.0 Security White Paper Available on MSL

   ARTICLE-ID: Q122036
   TITLE     : WX1051: Security Wizard and White Paper App. Note 2.0
 

	
	


Keywords : EvnOs kbenv kberrmsg
Version : 1.0 1.1 2.0 7.0 97
Platform : WINDOWS
Hardware : x86
Issue type : kbprb
Resolution Type : Info_Provided


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.