Enable Developer Dashboard Property in SharePoint 2010.

Friday, January 20, 20120 comments

The Developer Dashboard is a user interface component built into SharePoint 2010 Foundation that displays diagnostic information that can be useful to developers and to farm administrators in diagnosing problems with the farm.

By default, the Developer Dashboard is disabled.

A way to enable and disable the Developer Dashboard is by writing a console application that configures a few farm-wide properties through the server-side object model. follow the below line of code.

using System;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;
namespace EnableDeveloperDashboard
class Program
static void Main()
SPDeveloperDashboardSettings settings =
settings.DisplayLevel = SPDeveloperDashboardLevel.On;
settings.TraceEnabled = true;

To disable the Dashboard property chang the following line of code

settings.DisplayLevel = SPDeveloperDashboardLevel.Off;

You can also check some SharePoint 2010 Articles and SharePoint 2010 and Asp.Net Jobs.
Share this article :

Post a Comment

Copyright © 2010. SharePointDotNet.com - All Rights Reserved
Template Created by Creating Website Published by Mas Template