Skip to content

Initialization Errors

See Also: Finding Specific Errors

Overview

This section lists all initialization errors in numeric order.

The initialization errors are those in the error number range of 28673-32768 and are not stored in a database table, but are instead embedded in the runtime.

Some initialization errors do not have an error number associated with them because they happen too early in the runtime's initialization phase to assign error numbers.

Error List

The following messages are embedded in the runtime and cannot be altered or extended by developers. They concern situations in which the runtime is prevented from accessing the error database tables.

Cannot Find Lock File

The user count file is a file named {serial number}.dfr, for example 123456.dfr. This file is typically located in the %ProgramData%\Data Access Worldwide\DataFlex\License Files folder. If it is not there, see if dataflex\bin\Register.ini contains an alternate location for license files. This file is created by the Registration program when a registration code is registered.

Cause

The user count file cannot be found.

  1. If the license has not been registered yet, this file would not exist.
  2. If the license is registered, it may have been moved to a location where the DataFlex runtime cannot find it.
  3. There may be several .dfr files found for the same serial number by the DataFlex runtime when it tries to load, because the same serial number may have been registered for multiple versions of DataFlex.
  4. If a DataFlex client license is installed on a network, the machine on which this error occurs may not have rights to the networked location of the .dfr file.

Resolution

  1. Register the DataFlex license.
  2. Search for all occurrences of .dfr files on the PC where this error occurs. Make sure the .dfr file you need is in a location where the correct DataFlex runtime (for the correct revision) can find it. You can check each .dfr file's time/date property to see if it was created when you registered the license.
  3. If there are multiple copies of the .dfr file you need on your machine, try placing them in a location where the same application and/or DataFlex runtime will only see the needed version. If you are running only one version of DataFlex, you may be able to remove old copies of this file. We recommend that you rename the file, rather than deleting it, to ensure that you do not disable other applications.
  4. Make sure each user has rights to the location of the .dfr file for the DataFlex runtime that user needs to be able to run. Each DataFlex user needs write access to the .dfr file.

User Count Exceeded for This License

Cause

  1. The number of licensed DataFlex users is exceeded.
  2. The user count file is flagged as read-only.
  3. Corrupted user count file or a mismatched (from another version of DataFlex) user count file.

Resolution

  1. Purchase a DataFlex license with the number of users needed, then run Register.exe, the DataFlex registration program, to register your DataFlex license.
  2. Ensure that the user count file is not flagged read-only. Each DataFlex user needs write access to the .dfr file.
  3. Check if somewhere along the DFPath, there is another version of termlist.cfg that is registered using another version of DataFlex. Typically, this happens when upgrading from character-mode DataFlex and a termlist.cfg file that contains registration information for an older version of DataFlex is found in the Data folder.

Unable to Load Daemon (WINERR=0)

Cause

  1. VDFDaemon.exe is missing from the \bin folder or corrupted.
  2. A runtime executable, such as vdfvm{version}.dll (where {version} is the version of DataFlex you are running) is found prior to, or in the same folder as, the version you are trying to run.

Resolution

  1. Assess why this file is missing or corrupted. Reinstall the file or restore it from backup. If this does not resolve the issue, uninstall and reinstall DataFlex.
  2. Assess why an incorrect runtime file is found first or mixed in with other runtime files for the correct version. Remove or rename the file. If this does not resolve the issue, uninstall and reinstall DataFlex.

28676 - DataFlex is not installed in termlist.cfg, please run DFSETUP

Cause

An invalid registration code is installed or a termlist.cfg file from a prior version of DataFlex is found along DFPath.

Resolution

  1. Run Register.exe, the DataFlex registration program, to register your DataFlex license. Even with a valid registration code in termlist.cfg, the user count file may not be valid or found along the path. Re-registering the license will create a new user count file.
  2. Check if somewhere along the DFPath, there is another version of termlist.cfg that is registered using another version of DataFlex. Typically, this happens when upgrading from character-mode DataFlex and a termlist.cfg file that contains registration information for an older version of DataFlex is found in the Data folder.

28678 - File termlist.cfg not found

Cause

No termlist.cfg file is found.

Resolution

Run Register.exe, the DataFlex registration program, to register your DataFlex license.

28679 - File termlist.cfg is unreadable or corrupt

Cause

The termlist.cfg file is corrupt.

Resolution

Delete termlist.cfg, then run Register.exe, the DataFlex registration program, to register your DataFlex license.

28680 - Internal DataFlex Window System Error!!

28681 - Maximum number of DataFlex users exceeded

The user count file is a file named {serial number}.dfr, for example 123456.dfr. This file is typically located in the %ProgramData%\Data Access Worldwide\DataFlex\License Files folder. If it is not there, see if visual dataflex\bin\Register.ini contains an alternate location for license files. This file is created by the Registration program when a registration code is registered.

Cause

  1. The number of licensed DataFlex users is exceeded.
  2. The user count file is flagged as read-only.

Resolution

  1. Purchase a DataFlex license with the number of users needed, then run Register.exe, the DataFlex registration program, to register your DataFlex license.
  2. Ensure that the user count file is not flagged read-only. Each DataFlex user needs write access to the .dfr file.

28682 - Internal user count file error

The user count file is a file named {serial number}.dfr, for example 123456.dfr. This file is typically located in the %ProgramData%\Data Access Worldwide\DataFlex\License Files folder. If it is not there, see if visual dataflex\bin\Register.ini contains an alternate location for license files. This file is created by the Registration program when a registration code is registered.

Cause

Corrupted user count file or a mismatched (from another version of DataFlex) user count file.

Resolution

  1. Run Register.exe, the DataFlex registration program, to register your DataFlex license. Even with a valid registration code in termlist.cfg, the user count file may not be valid or found along the path. Re-registering the license will create a new user count file.
  2. Check if somewhere along the DFPath, there is another version of termlist.cfg that is registered using another version of DataFlex. Typically, this happens when upgrading from character-mode DataFlex and a termlist.cfg file that contains registration information for an older version of DataFlex is found in the Data folder.

28691 - Unable to initialize user counting system

The user count file is a file named {serial number}.dfr, for example 123456.dfr. This file is typically located in the %ProgramData%\Data Access Worldwide\DataFlex\License Files folder. If it is not there, see if visual dataflex\bin\Register.ini contains an alternate location for license files. This file is created by the Registration program when a registration code is registered.

Cause

Corrupted user count file or a mismatched (from another version of DataFlex) user count file.

Resolution

  1. Run Register.exe, the DataFlex registration program, to register your DataFlex license. Even with a valid registration code in termlist.cfg, the user count file may not be valid or found along the path. Re-registering the license will create a new user count file.
  2. Check if somewhere along the DFPath, there is another version of termlist.cfg that is registered using another version of DataFlex. Typically, this happens when upgrading from character-mode DataFlex and a termlist.cfg file that contains registration information for an older version of DataFlex is found in the Data folder.

28693 - Bad Version of User Count .DFR File

The user count file is a file named {serial number}.dfr, for example 123456.dfr. This file is typically located in the %ProgramData%\Data Access Worldwide\DataFlex\License Files folder. If it is not there, see if visual dataflex\bin\Register.ini contains an alternate location for license files. This file is created by the Registration program when a registration code is registered.

Cause

  1. The user-count file may be from another operating system, such as Linux/Unix.
  2. Corrupted user count file or a mismatched (from another version of DataFlex) user count file.

Resolution

  1. Run Register.exe, the DataFlex registration program, to register your DataFlex license. Even with a valid registration code in termlist.cfg, the user count file may not be valid or found along the path. Re-registering the license will create a new user count file.
  2. Check if somewhere along the DFPath, there is another version of termlist.cfg that is registered using another version of DataFlex. Typically, this happens when upgrading from character-mode DataFlex and a termlist.cfg file that contains registration information for an older version of DataFlex is found in the Data folder.

28694 - Cannot Read User Count .DFR File

The user count file is a file named {serial number}.dfr, for example 123456.dfr. This file is typically located in the %ProgramData%\Data Access Worldwide\DataFlex\License Files folder. If it is not there, see if visual dataflex\bin\Register.ini contains an alternate location for license files. This file is created by the Registration program when a registration code is registered.

Cause

The system was unable to read the user-count file.

Resolution

  1. Run Register.exe, the DataFlex registration program, to register your DataFlex license. Even with a valid registration code in termlist.cfg, the user count file may not be valid or found along the path. Re-registering the license will create a new user count file.
  2. Check for user rights in the folder where the DataFlex user count file is located. This file is typically located in the %ProgramData%\Data Access Worldwide\DataFlex\License Files folder. If it is not there, see if visual dataflex\bin\Register.ini contains an alternate location for license files.

28695 - Cannot Decrypt User Count .DFR File

The user count file is a file named {serial number}.dfr, for example 123456.dfr. This file is typically located in the %ProgramData%\Data Access Worldwide\DataFlex\License Files folder. If it is not there, see if visual dataflex\bin\Register.ini contains an alternate location for license files. This file is created by the Registration program when a registration code is registered.

Cause

Corrupted user count file or a mismatched (from another version of DataFlex) user count file.

Resolution

  1. Run Register.exe, the DataFlex registration program, to register your DataFlex license. Even with a valid registration code in termlist.cfg, the user count file may not be valid or found along the path. Re-registering the license will create a new user count file.
  2. Check if somewhere along the DFPath, there is another version of termlist.cfg that is registered using another version of DataFlex. Typically, this happens when upgrading from character-mode DataFlex and a termlist.cfg file that contains registration information for an older version of DataFlex is found in the Data folder.

28696 - Cannot Open User Count .DFR File

The user count file is a file named {serial number}.dfr, for example 123456.dfr. This file is typically located in the %ProgramData%\Data Access Worldwide\DataFlex\License Files folder. If it is not there, see if visual dataflex\bin\Register.ini contains an alternate location for license files. This file is created by the Registration program when a registration code is registered.

Cause

  1. User-count file not found.
  2. The get_Current_User_Count command can cause this error if the DF_Open_Path is dynamically changed during program execution so that the License Count File ({SerialNumber}.dfr) can no longer be found.

Resolution

  1. Run Register.exe, the DataFlex registration program, to register your DataFlex license. Even with a valid registration code in termlist.cfg, the user count file may not be valid or found along the path. Re-registering the license will create a new user count file.
  2. If you dynamically change the DF_Open_Path, make sure not to include the path to the License Count File.