IT tutorials
 
Technology
 

SharePoint 2010 : Monitoring and Reporting - Enabling the Developer Dashboard

8/17/2013 3:29:55 PM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

The Developer Dashboard is not just for developers who write code. It is an important tool in the arsenal of the SharePoint Administrator.

Tools such as Microsoft's Visual Round Trip Analyzer are used to determine why a page is performing poorly. The downside of tools such as this is that they interrogate the page from the outside and so information such as database queries cannot be seen. We would have to use another tool such as SQL Profiler to see this information.

The Developer Dashboard brings this functionality natively to SharePoint 2010. It provides information, such as how a page is built, how it is performing, what database queries are being run and for how long, at the bottom of a page in report form. Administrators can use this information to pinpoint what is happening on a page.

In this recipe, we will enable the Developer Dashboard and view the report at the bottom of the page. This is done through PowerShell and can be scripted in the SharePoint environment.&;

Getting ready

In order to run PowerShell commands, you must be a member of the SharePoint_Shell_Access database role&; on the configuration database. You also must be a member of the WSS_ADMIN_WPG local group&;&;.

How to do it...

  1. On the publishing farm server, select Start | All Programs | Microsoft SharePoint 2010 Products | SharePoint 2010 Management Shell.

  2. In the PowerShell command prompt, type in the following command:

    $db = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
    $db.DisplayLevel = 'On'; $db.RequiredPermissions ='EmptyMask';
    $db.TraceEnabled = $true; $db.Update()
    
    
    					  
  3. Open a team site. You should see a screenshot similar to the following at the bottom of the page:

How it works...

The Developer Dashboard is a farm-wide setting. When you turn it on, the dashboard appears on page load at the bottom of the page.

The first line creates a reference to the necessary web service.

The RequiredPermissions parameter&; specifies who can see the Developer Dashboard.

Setting the trace level to true creates a new link called Show or hide additional tracing information...at the bottom of the Developer Dashboard.

There's more...

By default the Developer Dashboard is disabled.

There are three modes that can be set:

  • On

  • Off

  • OnDemand

When the OnDemand mode is specified, a button appears in the upper right-hand corner of the page as shown here:

When clicked, the Developer Dashboard is shown, and when clicked again, it disappears.

This gives adminstrators the flexibility of enabling the Developer Dashboard without the need to make it visible always.&;

More info

The Developer Dashboard is available only with Windows authentication and is not available with SQL authentication.

 
Others
 
- SharePoint 2010 : Monitoring and Reporting - Troubleshooting with correlation IDs
- SharePoint 2010 : Monitoring and Reporting - Viewing web analytics reports
- Managing Windows Server 2012 : Managing Server 2012 Remotely - Installing RSAT
- Managing Windows Server 2012 : Server Manager (part 2) - Multiserver management and groups
- Managing Windows Server 2012 : Server Manager (part 1) - Launching and Working with Server Manager - Adding server roles and features
- Windows Phone 8 : Background Agents (part 3) - Audio Agent
- Windows Phone 8 : Background Agents (part 2) - Resource-Intensive Agent
- Windows Phone 8 : Background Agents (part 1) - Periodic Agent
- Active Directory 2008 : Configuring Computer Accounts - Supporting Computer Objects and Accounts
- Active Directory 2008 : Automating the Creation of Computer Objects
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us