SharePoint 2013 troubleshooting: Enable developer Dashboard

Source: Internet
Author: User
Tags command line

Administrators and developers in SharePoint 2010 may be familiar with SharePoint Developer Dashboard (developer Dashboards). The tool has been widely rewritten in SharePoint 2013 and has become increasingly available in your troubleshooting (troubleshooting) Toolkit. Developer Dashboard of SharePoint 2013 has greatly improved the 2010 version to address some of the performance issues. And it has a separate form to display all the information you want. When you run Developer Dashboard, the new form that pops up is loaded on the/_layouts/15/devdash.aspx page.

Enable Developer Dashboard

SharePoint 2013 Developer Dashboard cannot be activated in SharePoint Central Administration. So the best way to do this is to use PowerShell, so in order to use developer Dashboard, open the SharePoint 2013 Management Shell and enter the following command:

If you want to disable Dashboard after the end of use, just $devdash the previous command. Displaylevel= "On" is replaced with $devdash. Displaylevel= "Off" can be.

SharePoint 2013 Developer Dashboard relies on the usage and Health Data Collection Service application. If this Service is not created, please create and make sure that he is running, in order to demonstrate, I have previously deleted the existing usage and Health Data Collection Service application, detailed PowerShell The command line looks like this:

When developer Dashboard is successfully enabled, an icon is added to the upper-right corner of the SharePoint page, like a "medical device," as shown in the following illustration:

Developer Dashboard is not displayed to all users and is displayed only to users with Addandcustomizepages Permissions level permissions. This makes sense because there is no need to show this button to users who don't care about the page. Because only users with specific permissions can see it. However, don't forget that users in SharePoint are often elevated to various permissions, so they will see this button. So to avoid confusing these users with this icon, the best way is to activate developer Dashboard only when troubleshooting.

The variable developer Dashboard Permission

In some scenarios, the default developer Dashboard Permission (addandcustomizepages) may have permissions that are too high or too low. Of course, you can change it, too. For example, use the following PowerShell command to enable everyone to see developer Dashboard:

Now, for all users, whether he or she has permission to this website, they will be able to see developer Dashboard Icon. However, it is noteworthy that Developer Dashboard provides a great deal of information, if poorly written Web Parts or controls may expose the backend user name and password. Therefore, the best practice is to not expose developer dashboard to any user (enabled only when troubleshooting).

Using developer Dashboard to realize trouble shooting

When you open developer Dashboard you may notice that most of the fields are empty. Only one URL in the Requests tab can be used to be parsed. Loading or reloading SharePoint Pages,url after Dashboard is opened will appear in the Request tab. Clicking on these available URLs will display a large amount of information, as shown in the following illustration:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.