Issue
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.
<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.
Additional Information
MS had released a CU update for Sharepoint in September 2020, which has caused this behavior and requires the above changes to be implemented.
In situations where there are hundreds or thousands of site, and it's not manageable to add the above declarations for each individual site, we recommend using an alternative product such as Nintex Hawkeye, or the Nintex Report Viewer Web part:
Related Links