PRJ98: Project Stops Responding If Tasks Have Modified BaselineID: q177477
|
Microsoft Project 98 may stop responding when you do any of the following:
When you click Details, you receive the following error message:This program has performed an illegal operation and will be shut down.
If the problem persists, contact the program vendor.
WINPROJ caused an invalid page fault in module WINPROJ.EXE at
0137:30344be3.
The instruction at "0x302e0413" referenced memory at "0x00000000". The
memory could not be "read".
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.
To work around this problem, use any of the following methods.
Q185102 PRJ98: How to Obtain and Install MS Project 98 SR-1
http://www.microsoft.com/supportnet/refguide/
Q163435 VBA: Programming Resources for Visual Basic for Applications
'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
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:
Q185102 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
Keywords : kberrmsg kbfile kbprg kbdta kbdtacode
Version : WINDOWS:98
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: July 23, 1999