Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to view Developer Dashboard data to investigate a bottleneck on a SharePoint deployment, but the master page has been customized and the Developer Dashboard is not available (after enabling it from STSADM).

Someone told me that I can retrieve the same data via PowerShell. Is this true? If so, how?

I'm trying to retrieve the call stack info before any attempts to debug the code remotely step by step.

Can you help me?

PS: I cannot install any software to the server (even Visual Studio). Actually, the only software that can help me and its installed on this server is Visual Studio Remote Debugger.

share|improve this question

3 Answers 3

up vote 0 down vote accepted

Try enabling it using the next stsadm snippet:

stsadm -o setproperty -pn developer-dashboard -pv on

Or using a Powershell snippet:

$sp2010 = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$sp2010.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::On;
$sp2010.RequiredPermissions = 'EmptyMask';
$sp2010.TraceEnabled = $true;
$sp2010.Update(); 
share|improve this answer
    
I've used the stsadm, but the master page does not have the Developer Dashboard tag. –  Juliano Nunes Silva Oliveira Apr 1 '13 at 16:16
    
But you can always add the Developer Dashboard tag to your custom master page using SharePoint Designer. Here's a nice article explaining how can you achieve this. Link: sharepointboco.com/developer-dashboard-sharepoint-2010 –  Alex Choroshin Apr 1 '13 at 16:27
    
I cannot edit the master page, although the <trace /> option on Web.Config did help me. –  Juliano Nunes Silva Oliveira Apr 1 '13 at 17:07

If possible, revert the site you are using to a standard SharePoint Master page and retest with that as that will not only let you have access to the Developer Dashboard but might also point out the issue if it is in the custom master page. Barring that, copy the customized masterpage and modify the copy to include the DevDashboard tags then change the site to use that.

<SharePoint:DeveloperDashboard runat="server" />

Once you have the information you need, you can switch it back to the existing custom master page and then go flog the person who customized it for leaving that control out. You will have the backing of most of the people here on that point.

share|improve this answer

you can simply open another browser pointing to:

http://YOUR_SERVER/_layouts/15/devdash.aspx

you don't need to change your masterpage at all.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.