Second Life of a Hungarian SharePoint Geek

February 5, 2014

How to Display Web Analytics Reports for Site Collection without Visual Upgrade

Filed under: Analytics, SP 2010, Tips & Tricks — Tags: , , — Peter Holpar @ 00:01

Recently I had to display the web analytics reports by a customer of us in a SharePoint 2010 environment without the Visual Upgrade, that means, the site collection is still using the WSS 3.0 / MOSS 2007 design.

These kind of reports can be displayed via the Report.aspx page for a web site:


as well as the site collection:


If we had the Visual Upgrade, these links would be included in the Site Settings under Site Actions:


However, in the case of the WSS 3.0 UI, the links are missing, and if we try to access the Report.aspx page we receive the warning below:

This operation requires that the new SharePoint user experience be active. A Site Owner or Administrator can enable the new experience from the Site Actions menu or from Site Settings option "Title, description, and appearance."

The warning comes from the OnPreRender method of the Microsoft.Office.Server.WebAnalytics.Reporting.WebAnalyticsReport  class (Microsoft.Office.Server.WebAnalytics.UI assembly), see the SPUtility.GetIncorrectUIVersionMessage(true) method call below:

    if ((contextWeb == null) || (contextWeb.UIVersion < 4))
        if (this.IncorrectUIVersionMessageLabel != null)
            this.IncorrectUIVersionMessageLabel.Text = SPHttpUtility.HtmlEncode(SPUtility.GetIncorrectUIVersionMessage(true));

From this code can we see, that only the UI version of the current web site (contextWeb in the code above) is checked. That is, if we created a sub site anywhere in the site collection (for example called reports under the root site) using the 2010 compatible UI, we can display the reports for the site collection via a link like this:



Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

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

You are commenting using your 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

Create a free website or blog at

%d bloggers like this: