Follow in Twitter & Facebook

Like in Facebook

Powered By Blogger Widgets

Free Download

FREE Tools

Friday, January 20, 2012

Enable Developer Dashboard Property in SharePoint 2010.

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.

0 on: "Enable Developer Dashboard Property in SharePoint 2010."