Messages and Codes Reference Guide (PDF)

MarkLogic 9 Product Documentation
Messages and Codes Reference Guide
— Chapter 35

« Previous chapter
Next chapter »

VIEW Messages

VIEW-BADORDER

Message Text

Illegal order specification: view has illegal ordered flag: variable1

Cause

The view configuration has an invalid valid in the 'ordered' element.

Response

Make sure that the ordered element has the value 'true' or 'false'.

VIEW-COLDUPVIEW

Message Text

Column name duplicate of view name: column 'variable1' is the same as the view name

Cause

The view specification includes a column with the same name as the view.

Response

A column cannot have the same name as the view, as there is already a special column with the same name as the view for full-text search.

VIEW-COLNOTFOUND

Message Text

Column not found: column 'variable1'.'variable2'.'variable3' not found

Cause

The view configuration does not have column with the given name.

Response

Make sure that the correct schemas database is attached. Make sure that a view with the given name is present in the schemas database, that it is part of the desired schema, and that the user has permissions to access it. Make sure that the view specification includes the named column.

VIEW-DUPCOL

Message Text

Duplicate column name: column 'variable1' is a duplicate

Cause

The view specification includes multiple columns with the same name.

Response

Make sure every column name is unique in the view.

VIEW-DUPFIELD

Message Text

Duplicate field name: field 'variable1' is a duplicate

Cause

The view specification includes multiple fields with the same name or a field with the same name as a column.

Response

Make sure every field name is unique in the view.

VIEW-DUPSCHEMA

Message Text

Duplicate schema: schema 'variable1' already exists

Cause

The schema name must be unique.

Response

Remove the duplicate schema or provide a different schema name.

VIEW-DUPVIEW

Message Text

Duplicate view: view 'variable1'.'variable2' already exists

Cause

The view name must be unique in the schema.

Response

Remove the duplicate view or provide a different view name.

VIEW-FIELDDUPVIEW

Message Text

Field name duplicate of view name: field 'variable1' is the same as the view name

Cause

The view specification includes a field with the same name as the view.

Response

A field cannot have the same name as the view, as there is already a special column with the same name as the view for full-text search.

VIEW-FIELDNOTFOUND

Message Text

Field not found: Field 'variable3' not found in view 'variable1.variable2'

Cause

The view configuration does not have a field with the given name.

Response

Make sure that the correct schemas database is attached. Make sure that a view with the given name is present in the schemas database, that it is part of the desired schema, and that the user has permissions to access it. Make sure that the view specification includes the named field.

VIEW-IDEMPTY

Message Text

View ID empty: view has no view-id: variable1

Cause

The view configuration does not have an ID.

Response

Make sure that the view specification includes a non-zero ID.

VIEW-INVALID

Message Text

Illegal view specification: view specification is invalid: exception_stack

Cause

A view specification is not valid in some way.

Response

Ensure that the view specification validates against the view schema. Ensure that the range index backing each column exists.

VIEW-INVSCHEMA

Message Text

Illegal schema specification: schema specification is invalid: variable1

Cause

A schema specification is not valid in some way.

Response

Ensure that the schema specification validates against the view schema.

VIEW-NAMEEMPTY

Message Text

View name empty: view has no view-name: variable1

Cause

The view configuration does not have an ID.

Response

Make sure that the view specification includes a non-empty name.

VIEW-NOCOL

Message Text

View is empty: view has no columns: variable1

Cause

The view configuration has no columns specified.

Response

Make sure that the view specification includes at least one column.

VIEW-NOSCHEMADB

Message Text

No schema database for view resource: variable1

Cause

The content database does not have a schema database.

Response

Make sure that the correct schema database is attached to the content database.

VIEW-NOTEXISTS

Message Text

No such view exists: view 'variable1' does not exist

Cause

The configuration does not have a view with the given ID.

Response

Make sure that the correct schemas database is attached. Make sure that a view with the given ID is present in the schemas database, and that the user has permissions to access it.

VIEW-NOTFOUND

Message Text

View not found: view 'variable1'.'variable2' not found

Cause

The configuration does not have a view with the given name in the given schema.

Response

Make sure that the correct schemas database is attached. Make sure that a view with the given name is present in the schemas database, that it is part of the desired schema, and that the user has permissions to access it.

VIEW-SCHEMANOTFOUND

Message Text

Schema not found: schema 'variable1' not found

Cause

The configuration does not have a schema with the given name.

Response

Make sure that the correct schemas database is attached. Make sure that a schema with the given name is present in the schemas database, and that the user has permissions to access it.

VIEW-VIEWFRG

Message Text

Illegal fragmentation: fragment disallowed in view or schema specifications

Cause

A schema or view specification was fragmented. This is not allowed.

Response

Remove the fragment root or fragment parent that causes the view or schema to be fragmented.

« Previous chapter
Next chapter »
Powered by MarkLogic Server | Terms of Use | Privacy Policy