V6002¶
- Code
V6002
- Message
Unable to read bytecode container
The VM opened the file but could not parse it as a valid bytecode container. The
file may be corrupted, truncated, or not an .iplc file.
When the message says content hash mismatch, the file parsed but its
bytecode does not match the hash the compiler recorded in the header: the file
was changed after it was compiled, whether by corruption in transfer or by
editing. The VM refuses to run modified bytecode.
Solutions¶
Verify the file is an
.iplcbytecode container produced by the IronPLC compilerRecompile the source program to produce a fresh
.iplcfileCheck that the file was not corrupted during transfer (e.g., binary mode for FTP)
Ensure the file was not truncated by a partial write or interrupted build
Think IronPLC is wrong about this?
If you believe this diagnostic is incorrect, open an issue on GitHub with a small sample that demonstrates the problem.