Showing results for 
Search instead for 
Did you mean: 

Error "Code blocks are not allowed in this file." when opening Nintex Workflow Reports


When opening a Nintex Workflow Reports, the following error may occur:
Code blocks are not allowed in this file.


  • Update the web.config associated with the site. However, take note of how you define the virtual path and try different variations to define the path of the page on the site.
For example:

<PageParserPath VirtualPath="/NintexWorkflowReportPages/home.aspx" CompilationMode="Always" AllowServerSideScript="true" />


<PageParserPath VirtualPath="/SiteURL/NintexWorkflowReportPages/home.aspx"CompilationMode="Always" AllowServerSideScript="true" />
  • IIS Reset.

Related Links

Labels: (2)
Version history
Revision #:
17 of 21
Last update:
‎10-14-2019 02:00 AM
Updated by: