sp2010

SharePoint 2010: How To Enable The Developer Dashboard

Apr 20, 2016
Comments off

For the first time in a very long time I’ve been dabbling in SharePoint 2010 and so I thought I’d post some of the wondrous things that I’m using in the hope that they help out all you lovely people.

The developer dashboard was a new feature added in to SharePoint 2010 to help provide additional performance and tracing information for debugging and troubleshooting. It provides information about the controls, queries, and execution times that occur as part of the page rendering process, it can be an incredibly useful tool.

dd

To Enable the Developer Dashboard in SharePoint 2010 follow these simple steps:

  • Open SharePoint 2010 Management Shell and enter the following script:$svc=[Microsoft.SharePoint.Administration.SPWebService]::ContentService
    $ddsetting=$svc.DeveloperDashboardSettings
    $ddsetting.DisplayLevel=[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand
    $ddsetting.Update()
  • Now go to your SharePoint 2010 site and click on the tiny icon in the top right next to your login name
  • Refresh the page and scroll down to the bottom to see all of the Developer Dashboard information.

To Disable the Developer Dashboard in SharePoint 2010:

  • Open SharePoint 2010 Management Shell and enter the following script:$svc=[Microsoft.SharePoint.Administration.SPWebService]::ContentService
    $ddsetting=$svc.DeveloperDashboardSettings
    $ddsetting.DisplayLevel=[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::off
    $ddsetting.Update()

Comments are closed.