Initialization error - RESOURCE FILE ERROR: *.RES

 

Resource File Error: *.RES 
*** Initialization error *** 
  1. If this error occurs when attempting to run a compiled .EXE the most common solution is to make the .EXE file read only.

    This problem has been seen to occur when running large-model 32-bit *.EXE from root drives in combination with loading SHARE. Standalone .EXE files return RESOURCE FILE ERROR. [1] : dbase1.res ***Initialization Error*** while Compact .EXE's return immediately to DOS.

    WORKAROUND: - Do not load SHARE. or - Use the DOS ATTRIB command to flag <appname>.EXE file as read/only.

         ATTRIB +R [drive:][path]filename]

    + Sets an attribute. R Read-only file attribute.
      
  2. Pathing problems. Is dBASE in your DOS PATH statement? Is dBASE finding the wrong version of this file? Be sure to put the right .RES in the directory/path. Check if another .RES file exists from an earlier version of dBASE than the one you need. To search a drive, go to the root and type the following:

         DIR <filename>.RES /S

    Set path to the directory that contains the .RES file only, retry. Or copy the .RES file to the working directory to see if that helps.
      
  3. If this problem occurs when attempting to start dBASE. Check to see if the installation program installed the .RES file. This file can sometimes fail to be copied when dBASE is installed to a root drive. Install dBASE to a directory off the root.

  4. Make sure you do not have a DOS environmental variable "HOME". If so this must point to the dBASE directory or you will have RESOURCE file errors. To Check current environmental settings, from a DOS prompt type,

         SET
     
  5. If on a Network, try flagging the file named as Read-Only. If someone else (even a ghost user) has a read-write file open, the network may deny access of the file to other users.

  6. If the network being used is Lantastic, PC-LAN or another SHARE-based network make sure you load SHARE before running dBASE or an EXE file.

  7. This error may occur when there's too little memory to load the resource file. See QPERF.FAQ in Lib 10 for information on optimizing memory use.

Windows and dBASE IV v2.0 or V2.0 compiled EXE: Change the .PIF file to execute PMINFO.EXE and uncheck the "Close window on exit" checkbox. The amount of available for DOS/16M programs should be about 3.25 meg or more. See QV2PRF.FAQ in Lib 10.

OS/2: To run dBASE under the OS/2 environment you must set the session's DPMI_MEMORY_LIMIT to a value greater than 3MB. If you don't set this variable dBASE will terminate while loading because of insufficient memory (a "Resource File Error" message appears).

 

[Home] [FAQ Index]