Informix Error -50701
Cause and resolution
Invalid data for an ixOleField.
An attempt was made to store non-SQLByte data, or data that was not created by an OLE document server, in an ixOleField. An OLE document server must create valid data for an ixOleField. If the ixOleField is associated with a column in a database, the column must be the SQLByte type.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50701 is raised by the ixOleField class in the Window Painter GUI builder library — per the official guidance:
An attempt was made to store non-SQLByte data, or data that was not created by an OLE document server, in an ixOleField. An OLE document server must create valid data for an ixOleField. If the ixOleField is associated with a column in a database, the column must be the SQLByte type.
- Invalid data for an ixOleField, 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
ixOleFieldflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
- -50704 — "Bad initialDataValue. Displaying empty data in the ixOleField." Another
ixOleField-related condition in this set. - -50702 — "Invalid displayType for an ixOleField." Another
ixOleField-related condition in this set.
Invalid data for an ixOleField.