cancel
Showing results for 
Search instead for 
Did you mean: 

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

Issue

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

Resolution

  • 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:

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


OR

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

Related Links


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