The error message “Attempted to access an unnamed file past its end” may occur when PC-DMIS tries to open a file or when it tries to execute a measurement routine file. This error may also occur at various points, such as when you click the Measure button in the Probe Utility dialog box. This indicates that there is a problem with the file or files.
A corrupted file can cause this error.
If this is the only error message, it usually indicates an access or permission issue with the file. It can also occur if the folder containing the measurement routine is set to read-only.
This message is often associated with a serialization error message, for example: "Serialization error ALT".
Another message sometimes associated with these errors is "Unable to restore Part Program from backup files" or "Unable to restore Measurement Routine from backup file". This too is often due to a corrupted file.
For solutions to these issues and more, see the "Attempted to access an unnamed file past its end" article at the Hexagon Knowledgebase site.
More:
Error Message: Attempted to access an unnamed file past its end