Compile > Compile a Project > Compile Messages > Compile Fatal Messages

Compile Fatal Messages

If the Type specified for a compile message is FATAL, it means something was detected that stopped the project from compiling successfully. For information on how to address a message of this type, use the code included in the error description (for example, "F4001") to locate the fatal message in the following table.

If the Type specified for a compile error message is ERROR, see the topic Compile Error Messages.

If the Type specified for a compile error message is WARNING, see the topic Compile Warning Messages.

Code

Fatal Message

Description

F4001

Out of file handles. Increase value of the parameter [CtEdit]DbFiles

Citect SCADA uses a file handle to open each file. When you try to open too many files or databases simultaneously, Citect SCADA can need more file handles than are available.

You are likely to run out of file handles if you have many included projects. When Citect SCADA compiles your project, it will open several files in each include project at the same time, so each extra project you include will increase the usage of file handles. If you get this alert message when you have added another include project, you have run out of file handles. To verify this, remove one of the included projects to see if Citect SCADA can then compile your project.

With Windows running on a network, the setup of the number of file handles is located in various places. To increase the number of file handles in DOS, the setup is in the CONFIG.SYS file. If you are using Novell Netware you need to also increase the file handles in the NET.CFG or SHELL.CFG file. You need to also increase the number used by Citect SCADA with the [CtEdit]DbFiles parameter. Adjust the following settings the associated files:

CONFIG.SYS
FILES=120
NET.CFG or SHELL.CFG
file handles=120

F4002

Cannot open file

The compiler cannot open a file that is referenced by the project you are trying to compile. The file does not exist, or it has become corrupt, or your system is out of file handles.

F4003

Cannot read from file

The compiler cannot read a file that is referenced by the project you are trying to compile. The end of file was found, or it has become corrupt. You should confirm that the file is functioning as expected.

F4004

Cannot write to file

The compiler cannot write to a file that is referenced by the project you are trying to compile. The file has become corrupt or the disk is full. You should confirm that the file is functioning as expected and that the required disk space is available.

F4005

Unknown field

A field is being referenced that does not exist. The database has been modified or has become corrupt. Pack the databases. If the error persists, contact Technical Support of this product.

F4006

Unexpected end of file

The end of the database has been reached or the database has become corrupt. Pack the database. If the error persists, contact Technical Support for this product.

F4007

Unexpected beginning of file

The beginning of the database has been reached or the database has become corrupt. Pack the database. If the error persists, contact Technical Support for this product.

F4008

Out of memory

Citect SCADA has run out of memory. Increase the amount of memory in the computer or use smaller databases.

F4009

Software error

An internal Citect SCADA software error has been detected. Contact Technical Support for this product.

F4010

Not database format

The database has become corrupt or the file format is unknown. Pack the database.

F4011

File is read only

A file the compiler is attempting to access is set to read only. Check that the file name is correct or change the attributes of the file.

F4012

Unknown dba error

An internal Citect SCADA software error was detected. Contact Technical Support of this product.

F4013

Unknown bin error

An output file could not be opened during compilation. Pack the database. If the error persists, contact Technical Support for this product.

F4014

Disk full

The compiler is unable to function correctly due a lack of available disk space. Remove unwanted files from the disk, or replace the existing disk with a larger disk.

F4015

File locked

A file that is referenced by the project you are trying to compile appears to be locked. Check if the file is in use by another network user.

F4016

The include project was not found in Citect Explorer

The include project specified in the Context field cannot be located in Citect Explorer. You should add the project, or update the reference.

F4017

Project includes itself

The project specified in the Context field contains a circular reference. Check the structure of your include projects.

F4018

Index key has changed

The database has a corrupted index. Pack the database.

F4019

File not indexed

The database needs to be indexed, but the index file associated with the database cannot be found. Pack the database.

F4021

Database table full

The database is full. If the error persists, contact Technical Support for this product.

F4022

Reached the end of table

The end of the database has been reached or the database has become corrupt. Pack the database. If the error persists, contact Technical Support for this product.

F4023

File does not exist

The compiler cannot locate a file that is referenced by the project you are trying to compile. You should confirm that the file is in the specified location, or remove the reference to the file.

F4024

Too many files open

The maximum number of DBF files that can be open simultaneously has been exceeded. Increase the limit by changing the [CtEdit]DbFiles parameter.

F4025

File already opened in SINGLE mode

The file has been opened by another user. Set the [General]ShareFiles parameter to 1 in the Citect.ini file to open files in shared mode.

F4026

Too many include projects

The project you are trying to compile has more than 240 included projects defined. Reduce the number of included projects.

F4027

Unknown protocol

The project you are trying to compile refers to a protocol that does not exist.

F4028

Cannot compile all functions

The function library did not compile correctly.

F4029

Too many Cicode functions

More than 4500 user functions have been defined. To increase the number of functions allowed (up to 10000), use the parameter [CtEdit]MaxCicodeFunctions This error is often due to Cicode functions being defined in a number of included projects. Extending this parameter might affect system performance. Only set it when advised by Citect Customer Service.

F4030

Point limit reached

The maximum number of points that can be referenced has been reached. The maximum point limitAn individual digital (or analog) variable read from an I/O device. Citect SCADA only counts physical points (and counts them only once, no matter how many times they are used). The point limit is the maximum number of I/O device addresses that can be read and is specified by your license. is determined by your Citect SCADA license. Contact Technical Support for this product.

F4031

Bad point limit

The incorrect point limit is specified in the Citect.ini file. The point limit needs to correspond to your Citect SCADA license.

F4032

Specification file invalid

A system file has become corrupt, or been deleted. Re-install Citect SCADA on your system. If the error persists, contact Technical Support for this product..

F4033

File size error

A Cicode functions file, report format file, or an include file is too big. The maximum file size is 1 MB.

F4034

Cicode Function greater than 64K

The code generated by a Cicode file is too large. Place the functions within the file into separate Cicode files.

F4035

OID Overflow. Set [OID]Reset=1 to regenerate OIDs

An internal error has occurred within a DBF file. Set the parameter [OID]Reset=1 to regenerate the OIDs in the database.

F4036

OID out of sequence. Set [OID]Reset=1

An internal error has occurred within a DBF file. Set the parameter [OID]Reset=1 to regenerate the OIDs in the database.

F4037

Project ID not found - each project must have an ID

The project you are trying to compile (or one of its included projects) does not appear to have a project ID. Specify an ID for the project in the Project General Properties.

F4038

Invalid Project ID - must be between 1 and 500

The project you are trying to compile (or one of its included projects) does not appear to have a valid project ID. Specify an ID for the project (between 1 and 500) in the Project General Properties.

F4039

Duplicate Project ID

The project you are trying to compile has the same project ID as one of its included projects. Specify a new ID for one of the projects in the Project General Properties.

F4040

The specified protocol is no longer supported

The project you are trying to compile references a protocol that is no longer supported. You should determine where the point of reference occurs and implement a supported protocol.

F4041

Citect.ini parameter specified is no longer supported

The Citect.ini file includes a parameter that is no longer supported. You should determine how the parameter is used and implement an alternative solution.

F4042

Alarm and Memory PLC devices are obsolete. Run the Migration Tool from the Tools menu

Alarm devices no longer need to be defined to use Alarm Properties as tags. Please refer to the help for the Migration Tool to make the required changes to your project.

F4043

Total code size too large; refactor code. Please see KB article Q5600

The total size of your code is too large. Refer to article Q5600 in the Citect SCADA Knowledge Base.

Published June 2018