Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

QlikView Document with Macros Fails to Reload in QlikView Server with error

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

QlikView Document with Macros Fails to Reload in QlikView Server with error

Last Update:

Jan 15, 2021 4:22:09 PM

Updated By:

Andre_Sostizzo

Created date:

Feb 6, 2018 9:35:38 AM

Description:


In QlikView Server 12.20 November 2017 (all services releases) QlikView Document with Macros fails to reload in server with following error:


Error: Unexpected token: '(', expected one of: ',', ':', 'OPERATOR_PLUS', 'OPERATOR_MINUS', 'OPERATOR_MULTIPLICATION', 'OPERATOR_DIVISION', 'OPERATOR_STRING_CONCAT', ...

The same QlikView Document successfully reloads in QlikView Desktop Client 12.20 IR and in QlikView Server 11.20.
 

Cause:

 

BNF mode introduced in QlikView 12.20 with the ability to use the Classic mode. This ability was removed starting on the 12.30 IR release.

The document reload script log registers the following on 12.30 with EnableBnfReload=0 in the settings.ini, which indicates BNF reload mode is not turned off as it does not respect the setting:

ReloadCodebase                Bnf


Versions 12.20 and older will register the following in the script logs instead with EnableBnfReload=0 in the settings.ini:

ReloadCodebase                Classic

Resolution:

 

Workaround:

For versions prior to QlikView 12.30 (November 2018), disable the BNF Script reload mode. See QlikView November 2017: Failing reloads and BNF script reload mode

NOTE: The setting will not work on 12.30 (November 2018) or newer, since the engine is now code base BNF only. Scripts will have to be updated to match the BACKUS-NAUR FORMALISM. See also: QlikView April 2019 (12.40): disabling BNF no longer possible

Labels (2)
Contributors
Version history
Last update:
‎2021-01-15 04:22 PM
Updated by: