First, verify Administration.Account → Store ‘Owner’ is enabled in the entity properties. If the column still isn’t present locally, “touch” it so the native/offline compiler cannot optimize it away: place a temporary (even hidden) widget on a Native page that references Account/System.owner (for example a Text widget inside a hidden container or a hidden Data View). This forces the metadata to include the member in the offline schema.
Then, go to App Navigation -> Native phone profile -> Synchronization configuration and ensure Administration.Account is included for offline sync. If it is already there, remove it and add it back to refresh the offline mapping and regenerate the native bundle/sync model. (Offline sync behavior is driven by the Synchronization configuration for offline-first apps.)
Finally, make sure to rebuild the local database on the device (clear app data / reinstall). Otherwise the device can keep an older SQLite schema and you will continue to see “no such column” even after fixing the model. If you have end users, plan a safe “reset local data” approach (keeping in mind unsynced offline changes).
In short: Store Owner + “touch” System.owner in UI + ensure entity is in Sync Configuration + clear/reinstall to rebuild SQLite.
hi,
This error is not caused by your XPath, and it is not a bug in your model — it is a native offline database schema mismatch after upgrading the Mendix version.
When you run a native/mobile app with offline support, Mendix stores most persistent data in a local SQLite database.
After upgrading to a newer Mendix version (e.g. 9.24.x), the model changes slightly (new system columns, metadata, owner flags, etc.), but the old SQLite database remains on the device with the old schema.
So when the native client runs:
SQLitePlugin.executeSql failed: no such column …
it’s because the app is trying to query a column that exists in the new model, but does not exist in the old local SQLite file. This is a classic schema mismatch.
Locally fresh builds generate a brand-new database that matches the current model. On devices where you already had the app installed from a previous Mendix version, the old database stays and tries to reuse the old schema.
That’s why old installs suddenly fail after upgrading the Mendix runtime.
You must rebuild / reset the native SQLite database on the device so it matches the new model.
Here are the supported ways to fix it: