﻿<?xml version="1.0" encoding="UTF-8"?>
<!--RSS generated by Microsoft SharePoint Foundation RSS Generator on 5/23/2013 8:43:12 AM -->
<?xml-stylesheet type="text/xsl" href="/blog/_layouts/RssXslt.aspx?List=6c8a23d1-47ea-47e5-b56f-2bc57cb95b93" version="1.0"?>
<rss version="2.0">
  <channel>
    <title>Rez's Blog Spot: Posts</title>
    <link>http://www.khamis.net/blog/Lists/Posts/AllPosts.aspx</link>
    <description>RSS feed for the Posts list.</description>
    <lastBuildDate>Thu, 23 May 2013 15:43:11 GMT</lastBuildDate>
    <generator>Microsoft SharePoint Foundation RSS Generator</generator>
    <ttl>60</ttl>
    <language>en-US</language>
    <item>
      <title>SharePoint 2013 Developers – Enable Developer Dashboard Now. It will make your life easier!</title>
      <link>http://www.khamis.net/blog/Lists/Posts/ViewPost.aspx?ID=103</link>
      <description><![CDATA[<div><b>Body:</b> <div class="ExternalClass53851FDA0191444D84A054026DC38457"><p>Even though SharePoint Server 2013 has been released for a while now, I still see developers who aren’t taking advantage of a new feature in SharePoint 2013 that will make their implementation, code analysis and debugging  a lot easier. </p>  <p>The developer dashboard was initially released in <a href="http://msdn.microsoft.com/en-us/library/ff512745(v=office.14).aspx" target="_blank">SharePoint 2010</a>.  It was designed to provide diagnostic information to troubleshoot problems with SharePoint page level components (i.e. web parts, master pages, etc…) that would be difficult to isolate without viewing backend logs or debugging through code.</p>  <p>In SharePoint 2013, there has been a massive improvement to the developer dashboard now:</p>  <ul>   <li>No longer a page control which only shows info about current request but now a <strong><u>separate window </u></strong>which shows you <strong>ALL</strong> requests since you started developer dashboard session!</li>    <li>The new Developer Dashboard has ULSViewer elements in it, no more digging through the 15 hive for the logs folder using notepad or ULSViewer to find your correlation id, you have it right there!</li>    <li>You can also see SharePoint server info, SQL calls, Service Calls, ULS and SPRequests all from this view in a nice tabbed view</li>    <li>Works by using dedicated WCF service (diagnosticsdata.svc) designed for the purpose of providing tracing information for developer dashboard</li>    <li>Turned off by default and doesn’t even show on the page until it is turned on</li>    <li>Uses the “Usage and Health Data Collection Service Application”</li>    <li>many more… get more about it here <a title="http://technet.microsoft.com/en-ca/sharepoint/fp123606.aspx" href="http://technet.microsoft.com/en-ca/sharepoint/fp123606.aspx">http://technet.microsoft.com/en-ca/sharepoint/fp123606.aspx</a> </li> </ul>  <p> </p>  <p><a href="/blog/Lists/Posts/Attachments/103/image_2_05752DB1.png"><img title="image" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;float:none;padding-top:0px;padding-left:0px;margin-left:auto;border-left:0px;display:block;padding-right:0px;margin-right:auto" border="0" alt="image" src="http://www.khamis.net/blog/Lists/Posts/Attachments/103/image_thumb_05752DB1.png" width="713" height="317" /></a></p>  <p><strong><u>To enable</u></strong>, run this in SharePoint Management Shell:</p>  <div class="csharpcode">   <pre class="alt">$content = ([Microsoft.SharePoint.Administration.SPWebService]::ContentService)</pre>

  <pre>$appsetting =$content.DeveloperDashboardSettings</pre>

  <pre class="alt">$appsetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::<span class="kwrd">On</span></pre>

  <pre>$appsetting.<span class="kwrd">Update</span>() </pre>
</div>
<style>
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode, .ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode pre
{font-size:small;color:black;font-family:consolas, &quot;Courier New&quot;, courier, monospace;background-color:#ffffff;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode pre
{margin:0em;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .rem
{color:#008000;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .kwrd
{color:#0000ff;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .str
{color:#006080;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .op
{color:#0000c0;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .preproc
{color:#cc6633;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .asp
{background-color:#ffff00;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .html
{color:#800000;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .attr
{color:#ff0000;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .alt
{background-color:#f4f4f4;width:100%;margin:0em;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .lnum
{color:#606060;}
</style>

<p> </p>

<p>See it appear at the top right of your SharePoint page beside the “Focus on Content” area once you enabled it, clicking on it will pop up the Developer Dashboard in a new browser window which you can leave open for various requests:</p>

<p><a href="/blog/Lists/Posts/Attachments/103/image_4_05752DB1.png"><img title="image" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;float:none;padding-top:0px;padding-left:0px;margin-left:auto;border-left:0px;display:block;padding-right:0px;margin-right:auto" border="0" alt="image" src="http://www.khamis.net/blog/Lists/Posts/Attachments/103/image_thumb_1_05752DB1.png" width="530" height="173" /></a></p>

<p><strong><u></u></strong></p>

<p><strong><u>To disable</u></strong>, run this in SharePoint Management Shell:</p>

<p class="csharpcode">
  <pre class="alt">$content = ([Microsoft.SharePoint.Administration.SPWebService]::ContentService)</pre>

  <pre>$appsetting =$content.DeveloperDashboardSettings</pre>

  <pre class="alt">$appsetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::<span class="kwrd">Off</span></pre>

  <pre>$appsetting.<span class="kwrd">Update</span>() </pre>
</p>

<p><style>
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode, .ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode pre
{font-size:small;color:black;font-family:consolas, &quot;Courier New&quot;, courier, monospace;background-color:#ffffff;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode pre
{margin:0em;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .rem
{color:#008000;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .kwrd
{color:#0000ff;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .str
{color:#006080;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .op
{color:#0000c0;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .preproc
{color:#cc6633;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .asp
{background-color:#ffff00;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .html
{color:#800000;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .attr
{color:#ff0000;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .alt
{background-color:#f4f4f4;width:100%;margin:0em;}
.ExternalClass53851FDA0191444D84A054026DC38457 .csharpcode .lnum
{color:#606060;}
</style></p>

<p>
  <div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:b21d6bdf-a61e-4616-b543-d0e7828a5f53" class="wlWriterEditableSmartContent" style="float:none;padding-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;display:inline;padding-right:0px">Technorati Tags: <a href="http://technorati.com/tags/SharePoint+2013" rel="tag">SharePoint 2013</a>,<a href="http://technorati.com/tags/Developer+Dashboard" rel="tag">Developer Dashboard</a></div></p></div></div>
<div><b>Category:</b> <a onclick="OpenPopUpPage('http://www.khamis.net/blog/_layouts/listform.aspx?PageType=4&ListId={C5E66981-A587-4BF1-8BCF-1D6414825E83}&ID=1&RootFolder=*', RefreshPage); return false;" href="http://www.khamis.net/blog/_layouts/listform.aspx?PageType=4&ListId={C5E66981-A587-4BF1-8BCF-1D6414825E83}&ID=1&RootFolder=*">SharePoint</a></div>
<div><b>Published:</b> 5/12/2013 1:01 PM</div>
<div><b>Attachments:</b> <a href="http://www.khamis.net/blog/Lists/Posts/Attachments/103/image_2_05752DB1.png">http://www.khamis.net/blog/Lists/Posts/Attachments/103/image_2_05752DB1.png</a><br /><a href="http://www.khamis.net/blog/Lists/Posts/Attachments/103/image_4_05752DB1.png">http://www.khamis.net/blog/Lists/Posts/Attachments/103/image_4_05752DB1.png</a><br /><a href="http://www.khamis.net/blog/Lists/Posts/Attachments/103/image_thumb_05752DB1.png">http://www.khamis.net/blog/Lists/Posts/Attachments/103/image_thumb_05752DB1.png</a><br /><a href="http://www.khamis.net/blog/Lists/Posts/Attachments/103/image_thumb_1_05752DB1.png">http://www.khamis.net/blog/Lists/Posts/Attachments/103/image_thumb_1_05752DB1.png</a><br /><a href=""></a></div>
]]></description>
      <author>Noorez Khamis</author>
      <category>SharePoint</category>
      <pubDate>Sun, 12 May 2013 20:01:23 GMT</pubDate>
      <guid isPermaLink="true">http://www.khamis.net/blog/Lists/Posts/ViewPost.aspx?ID=103</guid>
    </item>
    <item>
      <title>Ensure you install the SharePoint Server 2013 March 2013 Public Update!</title>
      <link>http://www.khamis.net/blog/Lists/Posts/ViewPost.aspx?ID=102</link>
      <description><![CDATA[<div><b>Body:</b> <div class="ExternalClassB13F388D61BE4350ADCC9D5466E84FCA"><p>In a <a href="http://blogs.technet.com/b/wbaer/archive/2013/05/09/sharepoint-server-2013-march-2013-public-update.aspx" target="_blank">recent post</a> by Bill Baer (Microsoft SharePoint Senior Product Manager), he indicates that anyone who has installed SharePoint Server 2013 who wants to be able to install future product updates, should install the <a href="http://download.microsoft.com/download/5/1/C/51CA768E-C79E-41BA-91D4-7F7D929B0BFE/ubersrvsp2013-kb2767999-fullfile-x64-glb.exe" target="_blank">SharePoint Server 2013 March 2013 Public Update</a>.   See a full <a href="http://support.microsoft.com/kb/2767999" target="_blank">description</a>. </p>  <p>He goes on to say the following:</p>  <p><em><strong>“Q:</strong>  Do I need to install the SharePoint Server 2013 March 2013 Public Update?</em></p>  <p><em><strong>A:</strong>  The SharePoint Server 2013 March 2013 Public Update <strong>establishes a <font color="#ff0000">baseline for future product updates</font> and <font color="#ff0000">must be installed to support the installation of future product updates</font>.</strong>”</em></p>  <p>When installing the update, remember to follow his outline process of stopping the SPSearchHostController, OSearch15, and SPTimerV4 services before installing the update or you will be waiting for a long time (could be up to an hour or more) for the update to complete, especially in a farm environment.</p>  <p> </p>  <div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a38ed5fe-e5a4-4a2e-933e-5df9c6c5213c" class="wlWriterEditableSmartContent" style="float:none;padding-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;display:inline;padding-right:0px">Technorati Tags: <a href="http://technorati.com/tags/SharePoint+2013" rel="tag">SharePoint 2013</a>,<a href="http://technorati.com/tags/Updates" rel="tag">Updates</a></div></div></div>
<div><b>Category:</b> <a onclick="OpenPopUpPage('http://www.khamis.net/blog/_layouts/listform.aspx?PageType=4&ListId={C5E66981-A587-4BF1-8BCF-1D6414825E83}&ID=1&RootFolder=*', RefreshPage); return false;" href="http://www.khamis.net/blog/_layouts/listform.aspx?PageType=4&ListId={C5E66981-A587-4BF1-8BCF-1D6414825E83}&ID=1&RootFolder=*">SharePoint</a></div>
<div><b>Published:</b> 5/9/2013 5:16 PM</div>
]]></description>
      <author>Noorez Khamis</author>
      <category>SharePoint</category>
      <pubDate>Fri, 10 May 2013 00:16:57 GMT</pubDate>
      <guid isPermaLink="true">http://www.khamis.net/blog/Lists/Posts/ViewPost.aspx?ID=102</guid>
    </item>
  </channel>
</rss>