Cube Fails to Publish: JSON DDL Column or Table Not Found
Issue
When attempting to publish a cube in Jet Analytics, the following error is displayed:
The JSON DDL request failed with the following error: Failed to save modifications to the server. Error returned: 'The column '[TableName].[FieldName]' either doesn't exist or doesn't have a relationship to any table available in the current context. Cannot find table '[TableName]'. Conversion overflows. The exception was raised by the IDataReader interface. Please review the error message and provider documentation for further information and corrective action. The current operation was cancelled because another operation in the transaction failed. The database operation was cancelled because of an earlier failure.'
The error references one or more columns or tables that appear to be missing or unresolvable in the current Jet Data Warehouse context. The issue may persist even after rolling back the project to a previously working version.
Cause
This error occurs when the Jet Analytics cube references a column or table that cannot be resolved against the current state of the Jet Data Warehouse. Common causes include:
- Stale or inconsistent Jet Data Warehouse state: If changes were made to the project (field additions, table modifications, relationship changes) and then partially rolled back, the Jet Data Warehouse may be in an inconsistent state where some metadata no longer matches the deployed schema.
- Missing deploy and execute after rollback: Rolling back the project in Jet Data Manager (JDM) does not automatically redeploy the Jet Data Warehouse to match the rolled-back version. Without a subsequent Deploy and Execute , the Jet Data Warehouse schema remains out of sync with the project definition.
-
Option Text field reference issues: Fields referencing option set or lookup values (for example,
[Table].FieldName[Option Text]) can become unresolvable if the underlying table or relationship is no longer present in the deployed Jet Data Warehouse. - Conversion overflow: A data type mismatch between the source data and the expected column definition in the Jet Data Warehouse can trigger this error alongside the missing column or table errors.
Resolution
Step 1: Perform a full Deploy and Execute of the Jet Data Warehouse
The most effective first step is to run a full Deploy and Execute of the JDM project against the Jet Data Warehouse. This forces a complete refresh and synchronization of the schema, resolving any stale or inconsistent state.
- Open JDM and open the affected project.
- Go to Deploy and select Deploy and Execute (full deployment, not incremental).
- Wait for the process to complete, then attempt to publish the cube again in Jet Analytics.
Note: If you have rolled back the project to a previous version, make sure the Deploy and Execute runs against that rolled-back version so the Jet Data Warehouse schema is fully aligned.
Step 2: If the error persists, verify the referenced column and table
If the error continues after a full Deploy and Execute , investigate the specific column and table named in the error message:
- In JDM, locate the field referenced in the error (for example,
Projectpost.Type[Option Text]) and confirm it exists in the project's field definitions. - Verify that the table referenced (for example, the source table for the field) exists in the Jet Data Warehouse and has been correctly deployed.
- Verify whether the field has a valid relationship to the tables used in the current cube context.
- If the field is an Option Text type, confirm that the option set or lookup source is still valid and accessible.
Step 3: Use the scheduled overnight refresh as a fallback
In some cases, the issue resolves itself after the scheduled overnight Jet Data Warehouse refresh, which performs a full Deploy and Execute automatically. If the issue is not time-critical, allowing the scheduled refresh to run may also clear the inconsistent state.
Prevention
- After rolling back a JDM project to any previous version, always run a full Deploy and Execute before attempting to publish or refresh cubes.
- Before making significant changes to project fields or table relationships, note the current working state so that rollback targets are clearly identified.
- When adding or modifying Option Text fields, verify that the source table and relationship are available in the Jet Data Warehouse context before deploying.