Enabling/ Disabling Developer Dashboard in SharePoint 2010

Developer dashboard is not only for Developers, the administrators can also take good advantage of it. They can do quantitative analysis if their site is slow then how much slow and when the users started raising complaints.

There are three in which this DD can remain:

1. OFF (which is by default)

2. ON - which turns it on all the time. It is generally not a good option as it causes performance overhead and turning it on would make all the Site Collection Admins to see it.

3. On Demand – It appears like a small button and site collection admins can turn it on any time they want. This is most feasible option.

To set it to OnDemand, execute following powershell cmdlets:

$dd = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings

$dd.DisplayLevel = ‘OnDemand’

$dd.TraceEnabled = $true

$dd.Update()

This is enabled on the whole farm so you can go and look the the Right-Top of the site where a white colored button should appear. Upon clicking that, you should be able to see the developer dashboard.

Display Level can be:

$dd.DisplayLevel = ‘OnDemand’

$dd.DisplayLevel = ‘On’

OR

$dd.DisplayLevel = ‘Off’

Comments

Popular posts from this blog

Unable to delete Shared Services Provider in SharePoint (MOSS)

The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.

Cannot add a SimpleContent column to a table containing element columns or nested relations