Informix Error -50705: Cannot set location to locInResourceFile at runtime.
Cause and resolution
Cannot set location to locInResourceFile at runtime.
The valid location values are ixByte::locInTempFile, ixByte::locInFile, and ixByte::locInMemory.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50705 is raised by the ixByte class in the Window Painter GUI builder library — per the official guidance:
The valid location values are ixByte::locInTempFile, ixByte::locInFile, and ixByte::locInMemory.
- Cannot set location to locInResourceFile at runtime, per the official guidance — the direct, documented condition.
Solutions / Resolution
- Adjust the calling code to respect the constraint named in the message, per the official guidance — no other resolution is documented.
Examples
N/A
No specific triggering statement is documented beyond the class-library condition described above.
Diagnostic Checks
- Check the specific value, object state, or call sequence that
ixByteflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50705 in this set yet.
Cannot set location to locInResourceFile at runtime.