PRB: SYS2070 Issued When Running PWB.EXE for the First Time

Last reviewed: July 17, 1997
Article ID: Q61572
1.00 1.10 OS/2 kbtool kbprb

The information in this article applies to:

  • Microsoft Programmer's Workbench for OS/2, versions 1.0 and 1.1

SYMPTOMS

When running the Programmer's WorkBench (PWB) for the first time, the following OS/2 system error may be issued:

   Session Title:
   PWBED.EXE

   SYS2070: The system could not demand load the
   application's segment. MSHELP HELPSHRINK is in error.
   For additional detailed information also see message SYS0127

CAUSE

This problem is usually caused as a result of the Setup program not being able to copy its version of MSHELP.DLL over the old version of MSHELP.DLL. If another process (most likely a detached session of QH.EXE) was accessing this file during the execution of Setup, the Setup program will issue a message similar to the following:

   ERROR: Could not create file C:\OS2\DLL\mshelp.dll
   ERROR: File copy failed: A:\the PWB\mshelp.dll to C:\OS2\dll\mshelp.dll

RESOLUTION

To solve this problem, take the following steps:

  1. Disable QH as a keyboard monitor:

    a. Press ALT+Q (to invoke QH).

    b. Press O (for the Options menu).

    c. Press T (to terminate the monitor).

  2. Copy the up-to-date version of MSHELP.DLL from the distribution disk:

    a. Insert the Setup/Compiler 1 disk into drive A.

    b. Change the default drive A.

    c. Run Setup with the /copy option by typing the following:

             setup /copy
    
       d. Press ENTER
    
       e. Press ENTER again (unless the setup files are in a drive other
          than A).
    
       f. At the prompt asking for the name of the file to copy, type
          MSHELP.DLL and press ENTER.
    
       g. At the prompt asking for the name of the directory to which to
          copy this file, type the directory in which the old MSHELP.DLL
          is located (most likely C:\OS2\DLL).
    
       h. Setup should then ask for the Programmer's WorkBench/Utilities
          for OS/2 disk to be inserted into the setup drive.
    
       i. When Setup is finished copying the file, press ENTER at the
          next prompt.
    
    
The PWB should now start up correctly.

NOTE: SQL Server's Setup program also installs its own version of MSHELP.DLL onto the system. The SQL Server Setup places its copy of this DLL into a directory called \SQL\DLL. If this directory is in the LIBPATH before the directory into which the latest MSHELP.DLL was placed, this same problem can arise.


Additional reference words: 1.00 1.10 PWBIss
KBCategory: kbtool kbprb
KBSubcategory: PWBIss
Keywords : kb16bitonly


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.