Article ID: 177477
Article Last Modified on 1/22/2007
APPLIES TO
- Microsoft Project 98 Standard Edition
This article was previously published under Q177477
SYMPTOMS
Microsoft Project 98 may stop responding when you do any of the following:
- Click Properties on the File menu. -or-
- Insert a project into another project. -or-
- Save the project to a database such as Microsoft Access, SQL Server, or Oracle. -or-
- Print the Earned Value Report. -or-
- Show the Budgeted Cost of Work Performed BCWP field.
In addition, you may receive one of the following error messages.
Windows 95
When you click Details, you receive the following error message:
Windows NT
CAUSE
This problem occurs if you have a task that is 100 percent complete and you manually enter portions of the task's baseline such as Baseline Duration and Baseline Start, but you have set other tasks' baseline data via the Save Baseline function.
In this situation, some tasks have modified timephased baseline information and others do not. Therefore, Microsoft Project cannot calculate the timephased Budgeted Cost of Work Performed (BCWP) values.
WORKAROUND
To work around this problem, use any of the following methods.
Method 1: Install Project 98 SR-1 - Recommended Method
To correct this problem, install Microsoft Project 98 Service Release 1 (SR-1). For additional information about obtaining and installing SR-1, please see the following article in the Microsoft Knowledge Base:
185102 PRJ98: How to Obtain and Install MS Project 98 SR-1
Method 2: Resave the Project Baseline
If you have not yet saved your project's baseline and you and don't plan to manually enter task baseline information, you can reset your project's baseline by following these steps:
- On the Tools menu, point to Tracking and click Save Baseline.
- In the Save Baseline dialog box, click OK.
Method 3: Run a Macro to Initialize the Timephased Baseline Fields
NOTE: This macro resolves the behavior in the majority of cases, but does not resolve the behavior in every case. If this macro does not resolve the behavior, obtain Project 98 SR-1 as described in Method 1.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. For additional information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base:
163435 VBA: Programming Resources for Visual Basic for Applications
If you wish to retain all of your current baseline information, use the following sample Visual Basic for Applications macro to correct the problem. You need to run this macro whenever you add new tasks and have manually set portions of a task's baseline fields:
'This macro initializes the timephased baseline information on tasks 'where it doesn't exist. Sub FixTSBaselines() Dim oTasks As Tasks Dim i As Long Dim oTsv As TimeScaleValues Dim bCalc As Boolean 'On Error GoTo FixTSError Set oTasks = ActiveProject.Tasks bCalc = Application.Calculation Application.Calculation = pjManual For i = 1 To oTasks.Count 'Check for null tasks. If Not oTasks(i) Is Nothing Then If Not oTasks(i).ExternalTask Then If oTasks(i).SubProject = "" Then 'Get the task's BaselineWork contour. Set oTsv = oTasks(i).TimeScaleData(oTasks(i).Start, _ oTasks(i).Finish, pjTaskTimescaledBaselineWork, _ pjTimescaleDays) 'Check to see if contour exists - create if it doesn't. If (oTsv(1).Value = "") Then 'Initialize contour. oTsv(1).Value = 0 End If End If End If End If Next i Application.Calculation = bCalc Exit Sub FixTSError: Application.Calculation = bCalc End Sub
STATUS
Microsoft has confirmed this to be a problem in the versions of Microsoft Project listed at the beginning of this article.
This problem was corrected in Microsoft Project 98 for Windows, Service Release 1 (SR-1).
For additional information about obtaining and installing SR-1, please see the following article in the Microsoft Knowledge Base:
185102 PRJ98: How to Obtain and Install MS Project 98 SR-1
Additional query words: ipf hang hung crash crashed locks locked frozen freezes crashing quit quits stopped crashes auto lockup freeze break won't respond waiting near memory stops responding hangs lock up fail WINPROJ EXE
Keywords: kbbug kbdtacode kberrmsg kbpending kbprogramming KB177477