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
- User count exceeded for this license
- Unable to Load Daemon (WINERR=0)
- 28676 - DataFlex is not installed in termlist.cfg, please run DFSETUP
- 28678 - File termlist.cfg not found
- 28679 - File termlist.cfg is unreadable or corrupt
- 28680 - Internal DataFlex Window System Error!!
- 28681 - Maximum number of DataFlex users exceeded
- 28682 - Internal user count file error
- 28691 - Unable to initialize user counting system
- 28693 - Bad Version of User Count .DFR File
- 28694 - Cannot Read User Count .DFR File
- 28695 - Cannot Decrypt User Count .DFR File
- 28696 - Cannot Open User Count .DFR File
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.
- If the license has not been registered yet, this file would not exist.
- If the license is registered, it may have been moved to a location where the DataFlex runtime cannot find it.
- There may be several
.dfrfiles 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. - 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
.dfrfile.
Resolution
- Register the DataFlex license.
- Search for all occurrences of
.dfrfiles on the PC where this error occurs. Make sure the.dfrfile you need is in a location where the correct DataFlex runtime (for the correct revision) can find it. You can check each.dfrfile's time/date property to see if it was created when you registered the license. - If there are multiple copies of the
.dfrfile 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. - Make sure each user has rights to the location of the
.dfrfile for the DataFlex runtime that user needs to be able to run. Each DataFlex user needs write access to the.dfrfile.
User Count Exceeded for This License
Cause
- The number of licensed DataFlex users is exceeded.
- The user count file is flagged as read-only.
- Corrupted user count file or a mismatched (from another version of DataFlex) user count file.
Resolution
- Purchase a DataFlex license with the number of users needed, then run
Register.exe, the DataFlex registration program, to register your DataFlex license. - Ensure that the user count file is not flagged read-only. Each DataFlex user needs write access to the
.dfrfile. - Check if somewhere along the DFPath, there is another version of
termlist.cfgthat is registered using another version of DataFlex. Typically, this happens when upgrading from character-mode DataFlex and atermlist.cfgfile that contains registration information for an older version of DataFlex is found in the Data folder.
Unable to Load Daemon (WINERR=0)
Cause
VDFDaemon.exeis missing from the\binfolder or corrupted.- 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
- 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.
- 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
- Run
Register.exe, the DataFlex registration program, to register your DataFlex license. Even with a valid registration code intermlist.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. - Check if somewhere along the DFPath, there is another version of
termlist.cfgthat is registered using another version of DataFlex. Typically, this happens when upgrading from character-mode DataFlex and atermlist.cfgfile 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
- The number of licensed DataFlex users is exceeded.
- The user count file is flagged as read-only.
Resolution
- Purchase a DataFlex license with the number of users needed, then run
Register.exe, the DataFlex registration program, to register your DataFlex license. - Ensure that the user count file is not flagged read-only. Each DataFlex user needs write access to the
.dfrfile.
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
- Run
Register.exe, the DataFlex registration program, to register your DataFlex license. Even with a valid registration code intermlist.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. - Check if somewhere along the DFPath, there is another version of
termlist.cfgthat is registered using another version of DataFlex. Typically, this happens when upgrading from character-mode DataFlex and atermlist.cfgfile 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
- Run
Register.exe, the DataFlex registration program, to register your DataFlex license. Even with a valid registration code intermlist.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. - Check if somewhere along the DFPath, there is another version of
termlist.cfgthat is registered using another version of DataFlex. Typically, this happens when upgrading from character-mode DataFlex and atermlist.cfgfile 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
- The user-count file may be from another operating system, such as Linux/Unix.
- Corrupted user count file or a mismatched (from another version of DataFlex) user count file.
Resolution
- Run
Register.exe, the DataFlex registration program, to register your DataFlex license. Even with a valid registration code intermlist.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. - Check if somewhere along the DFPath, there is another version of
termlist.cfgthat is registered using another version of DataFlex. Typically, this happens when upgrading from character-mode DataFlex and atermlist.cfgfile 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
- Run
Register.exe, the DataFlex registration program, to register your DataFlex license. Even with a valid registration code intermlist.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. - 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 Filesfolder. If it is not there, see ifvisual dataflex\bin\Register.inicontains 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
- Run
Register.exe, the DataFlex registration program, to register your DataFlex license. Even with a valid registration code intermlist.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. - Check if somewhere along the DFPath, there is another version of
termlist.cfgthat is registered using another version of DataFlex. Typically, this happens when upgrading from character-mode DataFlex and atermlist.cfgfile 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
- User-count file not found.
- The
get_Current_User_Countcommand can cause this error if theDF_Open_Pathis dynamically changed during program execution so that the License Count File ({SerialNumber}.dfr) can no longer be found.
Resolution
- Run
Register.exe, the DataFlex registration program, to register your DataFlex license. Even with a valid registration code intermlist.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. - If you dynamically change the
DF_Open_Path, make sure not to include the path to the License Count File.