Home > Work > PerformancePoint 2010 error resolved “Code blocks are not allowed in this file” #in #sp2010

PerformancePoint 2010 error resolved “Code blocks are not allowed in this file” #in #sp2010

I’ve been playing with PerformancePoint 2010 today and one of the first hurdles I came across in our MOSS 2007 upgraded environment was the following error:

An error occurred during the processing of /PerformancePoint/Pages/ppssample.aspx. Code blocks are not allowed in this file.

This seemed to be an issue with the following reference not being in the web.config on the site.

<PageParserPath VirtualPath="/PerformancePoint/Pages /ppssample.aspx" CompilationMode="Always" AllowServerSideScript="true" />

Once this was in, the error was resolved and I could install the Dashboard Designer as standard.

  1. Paolo
    July 5, 2012 at 08:25

    Thanks!

  2. Fran
    September 14, 2012 at 13:54

    GRR – I have tried this and a direct virtual path to the file in the web config to no avail! I still get the error

  1. July 25, 2012 at 21:18

Leave a reply to Paolo Cancel reply