Microsoft KB Archive/100718

Project: Read-Only Calendar File Not Opened

PSS ID Number: Q100718 Article last modified on 11-16-1994

3.00 3.00a

WINDOWS

= SYMPTOMS =

Microsoft Project will not open the default calendar file, CALENDAR.MPC, if it has a read-only protection status and is located in a directory other than the directory where the WINPROJ.EXE file is located.

= CAUSE =

When the default calendar file, CALENDAR.MPC, is read-only, Microsoft Project should open the file but alert the user with a message that the file is read-only. This does not happen when the file is not located in the same directory as the WINPROJ.EXE file. In this situation, the file is not opened and a default calendar is used instead.

This situation occurs most frequently when you are sharing calendar files over a network. If one person has already opened the calendar file from a network drive, it will appear to be in read-only status to other users who try to access it.

= WORKAROUNDS =

To avoid this problem, use any of the following three workarounds.

Workaround 1
Place the CALENDAR.MPC file in the same directory as WINPROJ.EXE, and share the file from this location.

Workaround 2
Manually open the CALENDAR.MPC file: start Microsoft Project and then choose Open from the File menu.

Workaround 3
Alter the Properties of the Microsoft Project icon in Program Manager for Microsoft Windows 3.1 as follows:

  Select the Microsoft Project icon in Windows Program Manager   From the File menu, choose Properties.   Add a reference to the CALENDAR.MPC file at the end of the command line for the icon. For example, if the current command line reads C:.EXE it should be changed to C:.EXE c:.MPC where C:is the location of the CALENDAR.MPC file. 

= STATUS =

Microsoft has confirmed this to be a problem in Microsoft Project version 3.0 for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Steps to Reproduce Behavior
  To set the Working Directory for Microsoft Project to C: (or any directory other than the one where the WINPROJ.EXE file is located), do the following:   Select the Microsoft Project icon in Program Manager.   From the File menu, choose Properties.   Type &quot;C:&quot; (without the quotation marks) for the Working Directory, and choose OK. </li></ol> </li>  Run Microsoft Project. From the Options menu, choose Base Calendars, select the Standard calendar, and choose the Edit button. Mark all of April 1993 as non-working, then choose OK. Choose the Save button, and save CALENDAR.MPC to the working directory specified in step 1. </li>  Choose Close to exit the Base Calendar dialog box, and quit Microsoft Project. </li>  In File Manager, delete or rename the CALENDAR.MPC file that is located in the same directory as the WINPROJ.EXE file. </li>  In File Manager, mark the CALENDAR.MPC file in the working directory as read-only by choosing Properties from the File Menu. </li>  To restart Microsoft Project, double-click the icon in Program Manager. </li>  From the Options menu, choose Base Calendars, select the Standard calendar, and choose Edit. NOTE: The changes made earlier are not present; all days in April 1993 are no longer non-working. </li></ol>

KBCategory: kbusage KBSubcategory:

= Additional reference words: 3.00 3.00a =

Copyright Microsoft Corporation 1994.