ERR: An Unexpected Error Occurred While Trying to Create Tmp

Last reviewed: August 28, 1995
Article ID: Q120534
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.6, 2.6a
  • Microsoft FoxPro for MS-DOS, versions 2.6, 2.6a

SYMPTOMS

The error message "An Unexpected error occurred while trying to create tmp" will be generated when you are running FoxPro from a workstation installation that has read-only rights to the FoxPro directory on the network.

MORE INFORMATION

After FoxPro is started, the "Welcome to FoxPro" screen will be displayed. In that screen, if you select the "Don't Display Introductory Screen again" check box and then choose the "Proceed to the FoxPro menu system" button, the above error message will be displayed if the network directory where FoxPro is installed is shared as read-only.

RESOLUTION

There are two ways to resolve this problem:

Method 1

Give the users full rights to the FoxPro directory on the network.

Method 2

  1. Create a CONFIG.FP (for FoxPro for MS-DOS) or CONFIG.FPW (for FoxPro fro Windows) file, a local TEMP directory, and a local FoxPro directory. In the configuration file, type the following lines:

          TMPFILES=C:\TEMP
          EDITWORK=C:\TEMP
          SORTWORK=C:\TEMP
          PROGWORK=C:\TEMP
    

  2. Do one of the following:

    a. For FoxPro for Windows, edit the properties of the FoxPro icon so

          that the Command Line box reads as follows
    

             <drive>:\<Fox_Dir>\Foxprow.exe -cC:\<Fox_Dir>\CONFIG.FPW
    
          where <drive> is the network drive on which FoxPro is installed and
          <Fox_Dir> is the name of the directory in which FoxPro is located.
    
       b. For FoxPro for MS-DOS, add the following line to the AUTOEXEC.BAT
          file:
    
             SET FOXPROCGF=<pathname>\CONFIG.FP
    


Additional reference words: FoxWin FoxDos errmsg splash 2.60 2.60a
KBCategory: kbenv kberrmsg kbnetwork
KBSubcategory: FxenvConfigfp


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: August 28, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.