Home > development, error, Microsoft SharePoint 2010, MS SharePoint Sever, SharePoint 2010 > Performance Point – “Code blocks are not allowed”

Performance Point – “Code blocks are not allowed”

When you try to launch performance point designer you get “An error occurred during the processing of /mysitecollection/pages/ppssample.aspx. Code blocks are not allowed in this file” ….

Go to your web.config and add the following:

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

Hope this helps–
Rehman.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: