Project: Read-Only Calendar File Not Opened
  
PSS ID Number: Q100718
Article last modified on 11-16-1994
 
3.00 3.00a
 
WINDOWS
 

--------------------------------------------------------------------
The information in this article applies to:
 
 - Microsoft Project for Windows, versions 3.0, 3.0a
--------------------------------------------------------------------
 
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:
 
1. Select the Microsoft Project icon in Windows Program Manager
 
2. From the File menu, choose Properties.
 
3. 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:\WINPROJ\WINPROJ.EXE
 
   it should be changed to
 
      C:\WINPROJ\WINPROJ.EXE c:\mydir\CALENDAR.MPC
 
   where C:\MYDIR 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
---------------------------
 
1. 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:
 
   a. Select the Microsoft Project icon in Program Manager.
 
   b. From the File menu, choose Properties.
 
   c. Type "C:\" (without the quotation marks) for the Working
      Directory, and choose OK.
 
2. 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.
 
3. Choose Close to exit the Base Calendar dialog box, and quit
   Microsoft Project.
 
4. In File Manager, delete or rename the CALENDAR.MPC file that is
   located in the same directory as the WINPROJ.EXE file.
 
5. In File Manager, mark the CALENDAR.MPC file in the working
   directory as read-only by choosing Properties from the File Menu.
 
6. To restart Microsoft Project, double-click the icon in Program
   Manager.
 
7. 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.
 
KBCategory: kbusage
KBSubcategory:
 
Additional reference words: 3.00 3.00a
=============================================================================
Copyright Microsoft Corporation 1994.
