Resolve Empty Developer Dashboard Issue In SharePoint 2016

Developer Dashboard has been a friendly tool used by developers since SharePoint 2010, to isolate the bugs introduced by a faulty code, and to estimate the page performance and other page related monitoring needs.

Once the developer dashboard is enabled, we can see a new icon on the top right corner. Clicking on it will pop up the developer dashboard.

However, in my case, the developer dashboard was coming up empty, as shown below.


The first step to check was if 'Usage and Health Service Application' is created and is in a running state.
Unfortunately, for me it was running. So, I had no other option but to disable developer dashboard and start over the provisioning of Usage and Health Service Application from scratch to see if it works. You can run the below command in SharePoint 2016 Management Shell to disable the developer dashboard. 

  1. $ContentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService  
  2. $DevDashboard = $ContentService.DeveloperDashboardSettings  
  3. $DevDashboard.DisplayLevel = "Off"  
  4. $DevDashboard.Update()   


Once it is done, delete the Usage and Health Service application from Service Applications page and run the below command to re-provision the service application. 

  1. New-SPUsageApplication -Name "Usage and Health Service Application" -DatabaseName "Usage_DB"  
  2. $Usage = Get-SPServiceApplicationProxy | where {$_.TypeName -like "Usage*"}  
  3. $Usage.Provision()   

Now, run the below command to enable developer dashboard once again.

  1. $ContentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService  
  2. $DevDashboard = $ContentService.DeveloperDashboardSettings  
  3. $DevDashboard.DisplayLevel = "On"  
  4. $DevDashboard.Update()   

This time, the developer dashboard has come up and is showing the request traffic in the page as it should.


Summary - Thus, we saw how to resolve the "empty developer dashboard" issue in SharePoint Server 2016.

X

Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now