PerfomancePoint Dashboard Designer “Code blocks are not allowed in this file”

If you are configuring PerformancePoint in SharePoint 2010, and you are attempting to launch the Dashboard Designer ClickOnce application from the Business Intelligence Center site you have created, you may encounter this error. Some books and blog posts on the subject of configuring and running PerformancePoint services do not seem to touch on this – SharePoint by default, does not allow in-page code.

To get around this, you will need to modify the web.config file for the web application in which PerformancePoint lives, by inserting the following code in the <SharePoint><SafeControls><PageParserPaths> section as shown below.

 

<SharePoint>
  <SafeMode MaxControls="200" CallStack="false" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false">
     <PageParserPaths>
       <PageParserPath VirtualPath="/BICenter/Pages/ppssample.aspx" CompilationMode="Always" AllowServerSideScript="true" />
     </PageParserPaths>
  </SafeMode>
</SharePoint>

Where the VirtualPath listed above is the relative URL to the ppsample.aspx page within your BI Center.

Why Oh Why doesnt my Performance Point Designer work??

Opening Dashboard Designer from a PerformancePoint item in a SharePoint list

Issue:   You might be unable to open Dashboard Designer from a PerformancePoint item, such as a report, scorecard, or data connection in a SharePoint list.

Summary:   When you try open Dashboard Designer from a PerformancePoint item that is located in either the Data Connections or the PerformancePoint Content list, you might receive an error message instead.

Resolution:   We recommend that you open Dashboard Designer from the PerformancePoint site template for the first time.

To open Dashboard Designer from the PerformancePoint site template

  1. In the Business Intelligence Center, click a section, such as Monitor Key Performance, Build and Share Reports, or Create Dashboards. More information about each area is displayed in the center pane:
  2. Click the Start using PerformancePoint Services link. The PerformancePoint site template opens.
  3. Click Run Dashboard Designer. If you have the necessary permissions assigned to you in SharePoint Server, Dashboard Designer will install and open.

Using the Safari Web browser to start Dashboard Designer

Issue:   When you attempt to open Dashboard Designer from the PerformancePoint site template and you are using the Safari Web browser, Dashboard Designer does not start.

Resolution:   We recommend that you use Internet Explorer to start Dashboard Designer for the first time. After that, you can open Dashboard Designer by using the Start menu. (Click the Start button, point to All Programs, point to SharePoint, and then click PerformancePoint Dashboard Designer.)

Using the Mozilla Firefox Web browser to start Dashboard Designer

Issue:   When you attempt to open Dashboard Designer, you might encounter an error message.

Message:   The error message indicates that you cannot download the application, and that the application is missing required files. This can occur if Microsoft .NET Framework Assistant 1.1 is not installed on your computer.

Resolution:   Download and install Microsoft .NET Framework Assistant 1.1. For more information, see Microsoft .NET Framework Version 1.1 Redistributable Package (http://go.microsoft.com/?linkid=9763247).