PerformancePoint 2010 error resolved Code blocks are not allowed in this file SharePoint 2010

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


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


To fix this error, put the following reference in the web.config under the <PageParserPaths> heading on the site. 


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


Be sure to put your relative PerformancePoint site address at the beginning of the reference.  In my case, the Business Intelligence Center address was /BI - so my reference looked like:


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


Permalink | Comments (0) | Post RSSRSS comment feed