Error Using Sample Applications with Run From CD Installation

Last reviewed: September 16, 1996
Article ID: Q121930
The information in this article applies to:
  • Microsoft Office for Windows, versions 4.3-CD, 4.3c-CD
  • Microsoft Access, version 2.0

SYMPTOMS

When you perform a Run from CD installation of Microsoft Office, and you use one of the sample applications provided with Microsoft Access, any of the following symptoms may occur:

  • When you choose the Start The Solutions Sample Application topic in the startup cue card (appears the first time you run Microsoft Access), you cannot locate the SAMPAPPS directory on your hard drive as directed.

    -or-

  • When you open the sample database, you receive the following error message

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

    where <database name> is the name of the database that you open, such as NWIND.MDB, ORDERS.MDB, or SOLUTION.MDB.

    -or-

  • When you choose the Add Products button on the Suppliers form in the NWIND database, you receive the following error message:

          Can't set value
    

CAUSE

These problems occur because when you perform a Run From CD installation of Microsoft Office, the sample database files are not copied to the local hard drive. Instead, the directory that contains these files, SAMPAPPS, and the files that are contained in the directory are left on the CD, which is not a media that you can write to. Because you cannot write to the sample database files, you may receive various error messages.

WORKAROUND

To work around the problems listed above, copy the SAMPAPPS directory, located on the Microsoft Office CD, to your local hard drive. You can then change the attributes of the files to read-write so that you can make changes to the database files. Normally this directory is located in the Microsoft Access directory, as in the following example:

   C:\MSOFFICE\ACCESS\SAMPAPPS.

Note that the SAMPAPPS directory is located on the Disk 1 CD of the Microsoft Office version 4.3c-CD disk set.

After you copy these files to your local hard drive, you can use the following steps in File Manager to change the attributes of the files:

  1. Select the files in the SAMPAPPS directory that are now located on your hard drive.

  2. From the File menu, choose Properties.

  3. In the Properties dialog box, under Attributes, clear the Read Only check box, and choose OK.

MORE INFORMATION

The SAMPAPPS directory contains the following sample applications and help files:

   NEWCUST.DBF
   ORDERS.HLP
   SOLUTION.HLP
   NWIND.MDB
   ORDERS.MDB
   SOLUTION.MDB


KBCategory: kbother kberrmsg
KBSubcategory:

Additional reference words: 2.00 4.30-CD 4.30c-CD




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: September 16, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.