0

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.

3 Answers 3

0

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(); 
3
  • I've used the stsadm, but the master page does not have the Developer Dashboard tag. Commented Apr 1, 2013 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 Commented Apr 1, 2013 at 16:27
  • I cannot edit the master page, although the <trace /> option on Web.Config did help me. Commented Apr 1, 2013 at 17:07
0

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.

0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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