<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>poojk</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/poojk/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/poojk/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:31:16 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Move SharePoint 2010 Search admin database from one SQL server to another.</title>
      <link>https://docs.microsoft.com/archive/blogs/poojk/move-sharepoint-2010-search-admin-database-from-one-sql-server-to-another</link>
      <pubDate>Mon, 28 Nov 2011 12:06:02 GMT</pubDate>
      <dc:creator><![CDATA[Pooja.Katiyar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/poojk/2011/11/28/move-sharepoint-2010-search-admin-database-from-one-sql-server-to-another/</guid>
      <description><![CDATA[Many of us try moving from one SQL server to another&nbsp;and when it comes to search, it creates...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: book antiqua, palatino; font-size: small;">Many of us try moving from one SQL server to another&nbsp;and when it comes to search, it creates lot of issues, especially with Search Admin database.</span></p>
<p><span style="font-family: book antiqua, palatino; font-size: small;">Search administration is one component that you cannot edit from UI (Modify topology). So before we start doing anything,&nbsp;we need to make sure that search is working fine and we are able populate search administration component.</span></p>
<p><span style="font-family: book antiqua, palatino; font-size: small;">If you have more than one search application, then you need to find out first which is the problem SSA and you can get this information by running below PS:</span></p>
<p><span style="font-family: book antiqua, palatino; font-size: small;">Get-spenterprisesearchserviceinstance&nbsp; -&gt; This would list out all search service applications list. Look for problem SSA and make a note of ID:</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/69/0624.Image2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-69/0624.Image2.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/69/0624.Image2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-69/0624.Image2.png" /></a></span></p>
<p><span style="font-family: book antiqua, palatino; font-size: small;">Once that is done, you can run below command to see if you have got the right SSA:</span></p>
<p><span style="font-family: book antiqua, palatino; font-size: small;">get-spenterprisesearchserviceinstance -identity &lt;GUID&gt; (Here you need to replace GUID with the actual ID value that you copied from above) and it should display only concerned SSA.</span></p>
<p><span style="font-family: book antiqua, palatino; font-size: small;">In the result, you should see Administration component getting populated as below:</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/69/1401.Image1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-69/1401.Image1.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/69/1401.Image1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-69/1401.Image1.png" /></a></span></p>
<p><span style="font-family: book antiqua, palatino; font-size: small;">Once confirmed, issue below PowerShell commands to move search admin DB to another SQL server:</span></p>
<p><span style="font-family: book antiqua, palatino; font-size: small;">$searchApp = Get-SPEnterpriseSearchServiceApplication</span><br /><span style="font-family: book antiqua, palatino; font-size: small;">searchApp.Pause()</span><br /><span style="font-family: book antiqua, palatino; font-size: small;">$searchApp | Set-SPEnterpriseSearchServiceApplication -DatabaseName "&lt;NewDBName&gt;" -DatabaseServer "&lt;NewDatabaseServerName&gt;"</span></p>
<p><span style="font-family: book antiqua, palatino; font-size: small;">For above command, make sure that you have restored search Admin DB to the new SQL server and you need to provide that name in &lt;NewDbName&gt; field.</span></p>
<p><span style="font-family: book antiqua, palatino; font-size: small;">Hope above helps! :)</span></p>]]></content:encoded>
    </item>
    <item>
      <title>SharePoint 2010 - Search service is not able to connect to Administration component server</title>
      <link>https://docs.microsoft.com/archive/blogs/poojk/sharepoint-2010-search-service-is-not-able-to-connect-to-administration-component-server</link>
      <pubDate>Mon, 28 Nov 2011 12:04:54 GMT</pubDate>
      <dc:creator><![CDATA[Pooja.Katiyar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/poojk/2011/11/28/sharepoint-2010-search-service-is-not-able-to-connect-to-administration-component-server/</guid>
      <description><![CDATA[Hey folks!
In this blog post, I would write about most generic issue in SharePoint 2010 search...]]></description>
      <content:encoded><![CDATA[<p>Hey folks!</p>
<p>In this blog post, I would write about most generic issue in SharePoint 2010 search service application and I am sure many of you have already come across this:</p>
<p>In SharePoint 2010 - When you try to browse to a Search Service Application (SSA), it shows he below error:</p>
<p>"System Status:</p>
<p>Crawl: The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component c8519b74 status -&lt;GUID&gt; in search application Search Service Application is in a good state and try again."</p>
<p>Additionally, you should see below errors in the Event logs:</p>
<p>"Description: The Execute method of job definition Microsoft.Office.Server.Search.Administration.CrawlReportJobDefinition (ID 6dd22d5b-45cb-4860-aa01-d7f7d227a2f6) threw an exception. More information is included below.&nbsp;</p>
<p>The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component '9eff6ca0-1e01-4bf4-9653-b26ea54d0e5f' in search application 'SP2010 - Search Service Application' is in a good state and try again. "</p>
<p>If you run PowerShell command 'Get-SPEnterpriseSearchServiceInstance', it will show "{}" (NULL) in AdminComponents field.</p>
<p>To get rid of this, follow below steps:</p>
<p>Browse SSA through CA and see which server is hosting Administration component, UI should look like below:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/69/4341.Image1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-69/4341.Image1.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/69/4341.Image1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-69/4341.Image1.png" /></a></p>
<p>So with above example SP2010NEW is the server that is hosting Search Administration component. Login to that server.</p>
<p>Run&nbsp;below PowerShell command:</p>
<p>$varInstance = Get-SPEnterpriseSearchServiceInstance -local&nbsp;&nbsp;&nbsp; (Assuming that you have only one SSA in farm)</p>
<p>If you type $varInstance and hit Enter key, you should see SharePoint Server Search instance details.</p>
<p>If you see it disabled then run another PS command -----&gt; Start-SPEnterpriseSearchServiceInstance -Identity &lt;servername&gt;</p>
<p>Once above runs successfully,&nbsp;execute below:</p>
<p>$varSearchApp = get-spenterprisesearchserviceapplication</p>
<p><strong>Now set search Admin component:</strong></p>
<p>set-spenterprisesearchadministrationcomponent &ndash;searchapplication $varSearchApp &ndash;searchserviceinstance $varInstance</p>
<p>After it gets completed successfully, you need to wait for sometime, may be about&nbsp;5-10 minutes. Admin component should be ready and you should be able to browse SSA.</p>
<p>&nbsp;</p>
<p>Feel free to raise your questions. :)</p>]]></content:encoded>
    </item>
    <item>
      <title>Performance - MOSS 2007 site takes a considerable time to load.</title>
      <link>https://docs.microsoft.com/archive/blogs/poojk/performance-moss-2007-site-takes-a-considerable-time-to-load</link>
      <pubDate>Wed, 23 Nov 2011 14:20:00 GMT</pubDate>
      <dc:creator><![CDATA[Pooja.Katiyar]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/poojk/2011/11/23/performance-moss-2007-site-takes-a-considerable-time-to-load/</guid>
      <description><![CDATA[When it comes to performance, most of the times, it is not an easy job to find what is causing...]]></description>
      <content:encoded><![CDATA[<p>When it comes to performance, most of the times, it is not an easy job to find what is causing performance delay. We can run into multiple directions and scratching our heads for more than one reason. But we can definitely look into some basic stuff to see if we can reach any conclusion.</p>
<p>I came across a scenario where a SharePoint site for e.g. <a href="https://sharepoint/">https://sharepoint</a> was taking more than 20 seconds to load and the expected load time is max 4-5 seconds considering when we have customizations on the site.</p>
<p>Below steps should help you to isolate if performance is farm wide or for a specific site:</p>
<p>Create a new site collection under problem web application with out of box team site template and default master page (URL should look like <a href="https://sharepoint/sites/site1">https://sharepoint/sites/site1</a> ).</p>
<p>Create a new test page under the problem site collection and with above example it should look&nbsp;like <a href="https://sharepoint/pages/test.aspx">https://sharepoint/pages/test.aspx</a> .</p>
<p>Try to browse above both URLs. If URL <a href="https://sharepoint/sites/site1">https://sharepoint/sites/site1</a>&nbsp;is loading fine and URL <a href="https://sharepoint/pages/test.aspx">https://sharepoint/pages/test.aspx</a>&nbsp;is still taking time to load then it means problem is with customizations or any component on the site which is taking time. This isolates to a level that problem is only with the specific site collection and not on the&nbsp;farm level.</p>
<p>Now in my scenario, I found that working and problem site have only one difference - <a href="https://sharepoint/pages/test.aspx">https://sharepoint/pages/test.aspx</a>&nbsp;was using custom master page. Here I got my first clue.</p>
<p>Then I enabled ASP.NET tracing for the problem test page. Add the below section to the problem web application's&nbsp;web.config file and save:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span>&lt;configuration&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;system.web&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;trace enabled="true" pageOutput="false" requestLimit="40" localOnly="false"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/system.web&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/configuration&gt;</span></p>
<p>I must say that ASP.NET tracing is a good technique to use when you have customizations on the site and oberving performance delays.</p>
<p style="line-height: normal; text-indent: 0in; margin-left: 0in;"><span>To view the trace logs, you need to use <b><i>trace.axd</i></b> right after the URL. In my case, the problem test page URL was <a href="https://sharepoint/pages/test.aspx">https://sharepoint/pages/test.aspx</a>, so to view trace for <b>test.aspx</b>, you need to browse the URL <a href="https://sharepoint/pages/trace.axd">https://sharepoint/pages/trace.axd</a> </span></p>
<p style="line-height: normal; text-indent: 0in; margin-left: 0in;"><span>This URL will show you a report, in File column search for the problem URL (in our case, it is pages/test.aspx). So you should see an entry with pages/test.aspx and on the right side View Details link.</span></p>
<p style="line-height: normal; text-indent: 0in; margin-left: 0in;"><span>When you click on View Details, you should see the complete stack trace of the series of events that gets fired. Make a note of time taken for the page load. Typically, the first phase would be <b>Begin PreInit</b> and the last phase should be <b><i>End Render</i></b>. Total time was approximately 21 seconds and after looking at the Control Tree, we figured out that masterpage control was the only control that was sending largest data to the page. Refer the image below:</span></p>
<p style="line-height: normal; text-indent: 0in; margin-left: 0in;"><span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/70/5305.Image1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-70/5305.Image1.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/70/5305.Image1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-70/5305.Image1.png" /></a></span></p>
<p style="line-height: normal; text-indent: 0in; margin-left: 0in;"><span>We noticed that there are some links on custom master page. Tried browsing each and every link. All links were working fine except one. That link was loading very slowly and occasionally came up with "Diagnose connection problem" error on the page. Digged more on that link and figured out that it is configured to pull the&nbsp;data from internet using a proxy that was set in web.config.</span></p>
<p style="line-height: normal; text-indent: 0in; margin-left: 0in;"><span>Tried pinging that proxy and got Request time out. That was the root cause of the performance delay.</span></p>
<p style="line-height: normal; text-indent: 0in; margin-left: 0in;"><span>Replaced problem proxy with the working proxy and site came up fine in few seconds. :)</span></p>
<p style="line-height: normal; text-indent: 0in; margin-left: 0in;"><span>Happy troubleshooting!</span></p>]]></content:encoded>
    </item>
  </channel>
</rss>