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
This program has performed an illegal operation and will be shut down.
If the problem persists, contact the program vendor.
When you click Details, you receive the following error message:
WINPROJ caused an invalid page fault in module WINPROJ.EXE at
0137:30344be3.
Windows NT
The instruction at "0x302e0413" referenced memory at "0x00000000". The
memory could not be "read".
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