<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://bloggingabout.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'architecture' and 'Fast'</title><link>http://bloggingabout.net/search/SearchResults.aspx?a=1&amp;o=DateDescending&amp;tag=architecture,Fast&amp;orTags=0</link><description>Search results matching tags 'architecture' and 'Fast'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Fast Search for SharePoint problems - simplified architecture diagram</title><link>http://bloggingabout.net/blogs/bas/archive/2011/08/09/fast-search-for-sharepoint-installation-problems-simplified-architecture-diagram.aspx</link><pubDate>Tue, 09 Aug 2011 21:54:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:543102</guid><dc:creator>Bas</dc:creator><description>&lt;p&gt;Recently I had a few &lt;span class="short_text" lang="en" id="result_box"&gt;&lt;span class="hps"&gt;colleagues (and myself) who&amp;nbsp;tried to install&amp;nbsp;FAST search for SharePoint on their development workstation. Despite the&lt;a href="http://technet.microsoft.com/en-us/library/ff381243.aspx" title="Fast installation and configuration guide on MSDN"&gt; well written installation guidelines on MSDN&lt;/a&gt;, they had several problems, and sadly enough, they all faced different problems. These problems varied from not able to crawl the content to not being able to query the indexed content. As most of the colleagues weren&amp;#39;t too familiar with Fast (and SharePoint search in general), I decided to create a small architecture diagram of the SharePoint 2010 Search Service Applications, Fast Search for SharePoint and (some of)&amp;nbsp;their junction points. These junction points are displayed in the image below. To simplify the diagram, some items have been removed, the search query proxy is one example. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/bas/1537.Fast_2D00_diagram.png"&gt;&lt;img src="http://bloggingabout.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/bas/1537.Fast_2D00_diagram.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&lt;/span&gt;&lt;/span&gt;The diagram helped me and my colleagues to&amp;nbsp;pinpoint the problems and I hope it will help you in the future with pinpointing problems (well, I hope you wont have any problems at all, but hey, it&amp;#39;s Fast ;)).&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;This post just covers a small subset of problems, but I think that the majority of most common problems are covered here. Whenever you think that a certain common problem is missing in here, please contact me, I will add it as soon as possible. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Use the following log/event locations to pinpoint problems:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;c:\fastsearch\var\log&lt;/span&gt;&lt;/span&gt; 
&lt;ul&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;contains a &lt;em&gt;lot &lt;/em&gt;of folders with logging. Whenever problems arise, I check the folder &amp;quot;syslog&amp;quot; first&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;the Eventlog - increase the loglevels in the sharepoint diagnostic logging to verbose for extensive logging&lt;/span&gt;&lt;/span&gt; 
&lt;ul&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Application log&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Fast Search&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Fast Search Farm&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;SharePoint diagnostic logging - increase the log level to verbose&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;The IIS authentication logging&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;use nctrl status to check the status of your Fast installation&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Some basic guidance:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Whenever no log errors appear on the Fast Search farm (event log as well as the \var\log), the problem lies within the SharePoint configuration&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Whenever no errors appear on the Fast Search application, but errors do appear on the Fast IIS log, it&amp;#39;s most likely&amp;nbsp;a permission problem. My guess: database and/or &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Whenever errors appear in Fast, you may not have SharePoint or permission problems, but a wrongly configured Fast environment. I didn&amp;#39;t write about these errors below, but hostname configurations appeared to&amp;nbsp;cause problems a lot.&lt;/span&gt;&lt;/span&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;As seen in the diagram, there are several&amp;nbsp;junction points that can cause problems when not configured correctly:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Crawling SharePoint content&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Push&amp;nbsp;content into Fast&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Communicatin with the Search Query and Settins Service&lt;/span&gt;&lt;/span&gt; &lt;/li&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Accessing the admin service the&amp;nbsp;search query and site settings service&lt;/span&gt;&lt;/span&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Configure Fast via PowerShell &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I have seen problems on all of these levels and I will try to (shortly) describe the possible problems, their symptoms and (a link to) their solution. A small disclaimer is in place: this is by no means a full overview of possible problems, but it should help in troubleshooting whenever problems arise.&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;1 -&amp;nbsp;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Crawling SharePoint content (1)&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;One of the most common problems are the problems with crawling content. Make sure that your default content access account has read permissions on the sharepoint sites that need to be crawled. Normally, this is handled by SharePoint. Possible error message:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Access is denied. Verify that either the Default Content Access Accouont has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has &amp;quot;Full Read&amp;quot; permissions on the SharePoint Web Application being crawled.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;2 - &lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Push&amp;nbsp;content into Fast&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; (2)&lt;/h3&gt;
&lt;p&gt;After installing fast, pushing content into Fast can be a problem too. Several problems are possible here:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;-&amp;nbsp;SSL communication between the Fast Content Service and the Content Distributor is not configured correctly.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Visit &lt;a href="http://technet.microsoft.com/en-us/library/ff381261.aspx#BKMK_Configure_ssl_enabled_communication"&gt;technet &lt;/a&gt;on how to configure SSL communication. Please make sure that the account used in &amp;quot;&lt;strong&gt;.\SecureFASTSearchConnector.ps1 &amp;ndash;certPath &amp;quot;path of the certificate\certificatename.pfx&amp;quot; &amp;ndash;ssaName &amp;quot;name of your content SSA&amp;quot; &amp;ndash;username &amp;ldquo;domain\username&amp;rdquo; &lt;/strong&gt;is the account that runs the osearch14. In the Administration &lt;em&gt;Services&lt;/em&gt; window this service is called &amp;quot;&lt;em&gt;SharePoint Server Search 14&lt;/em&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;-&amp;nbsp;Permissions&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;After checking the Fast Content Service installation with &amp;quot;docpush -csp c:\testfile.txt&amp;quot; several errors can appear:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;sp Reported error with &lt;/em&gt;&lt;a href="http://cohowinery.com/c:/temp/bob.txt"&gt;&lt;span style="color:#0066dd;"&gt;&lt;em&gt;http://cohowinery.com/c:\temp\bob.txt&lt;/em&gt;&lt;/span&gt;&lt;/a&gt;&lt;em&gt;: processing:N/A:ProcessorDeploymentException: For pipeline &amp;#39;Office14 (webcluster)&amp;#39;, creating processor CompanyExtractorInclusionAny failed: ConfigurationError: CompanyExtractorInclusionAny: Failed to access or parse configuration file &amp;#39;etc/resources/matching/configuration.companyextractor.inclusion.any.xml&amp;#39;. &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This error can have several causes. Most likely is that the user doesn&amp;#39;t have isn&amp;#39;t member of the FastSearchAdministrators group. Another case I have encountered was that the account was member of that group, but for some reason did not have read access to the directory. Changing permissions fixed this issue for me, &lt;em&gt;but this not recommended to do on a production server!! &lt;/em&gt;The message about &lt;a href="http://cohowinery.com/"&gt;http://cohowinery.com/&lt;/a&gt; is not misconfigured on your system! It&amp;#39;s a&amp;nbsp;fictional company, same like the more known virtual companies contoso and wingtip toys&lt;/p&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;- &lt;strong&gt;&lt;em&gt;I see dead crawlers&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Another issue that can arise when Fast is installed on the same server as your SharePoint installation (not recommended, only for dev purposes!!), is that the enterprise crawler died for some reason. This can be checked with nctrl status. I described the cause and the solution &lt;a href="http://bloggingabout.net/blogs/bas/archive/2011/05/19/fast-for-sharepoint-2010-enterprise-crawler-is-not-working.aspx"&gt;here&lt;/a&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;3 - Communication with the Search Query and Settings Service (3)&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Accessing Fast from your SiteCollection can cause several problems:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&lt;strong&gt;&lt;em&gt;- No search results are returned&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;When a query is executed and no results are returned, the most likely issue is a permission issue: the account that you logged in with, doesn&amp;#39;t have any permissions to view the indexed content. As the returned results are security trimmed by the query service, it&amp;#39;s possible that the returned set contains 0 items. This happened to me when I created an anonymous Fast Search Center, whereas all my other indexed site collections weren&amp;#39;t anonymously accessible. Another issue can be that (and this happens a lot after a fresh dev-installation!) the test site that is indexed, has content that hasn&amp;#39;t been published yet. That content isn&amp;#39;t indexed and thus, not returned.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&lt;strong&gt;&lt;em&gt;- Internal Server error exception (when querying)&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;The application pool of the Search Query and settings service is not running. Check your IIS Manager to make sure that your application pool is up and that your website is running. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&lt;em&gt;&lt;strong&gt;- &lt;span id="ctl00_PlaceHolderMain_LabelMessage"&gt;Unexpected error occurred while communicating with Administration Service&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt; &lt;strong&gt;&lt;em&gt;when&amp;nbsp;accessing one of the following site settings menu entries&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;visual best bets&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;context information&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;promotion/demotion (ranking)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;When this happens, please check the problems mentioned in paragraph&amp;nbsp;5 and 6 &amp;nbsp;too. As these functions communicate with the Fast Administration service, it&amp;#39;s likely that these problems occur, while the query component works fine. It&amp;#39;s most likely a permissions issue, where the Search Query and settings service (mentioned in paragraph 5), doesn&amp;#39;t have the right administration account configured.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;4&amp;nbsp;- &lt;/span&gt;&lt;/span&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;Accessing the admin service through the&amp;nbsp;search query and site settings service&lt;/span&gt;&lt;/span&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;(5)&lt;/h3&gt;
&lt;p&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;em&gt;-&amp;nbsp;&lt;span id="ctl00_PlaceHolderMain_LabelMessage"&gt;Unexpected error occurred while communicating with Administration Service&lt;/span&gt; &lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This error mainly has&amp;nbsp;3 rootcauses:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The Fast Administration services is not configured correctly (e.g. the wrong location is configured in the Fast Query service application)&lt;/li&gt;
&lt;li&gt;The Fast Administration application pool is not running&lt;/li&gt;
&lt;li&gt;Permissions ;). Make sure that that the right Fast Admin account is configured in the Fast Query service application.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;5&amp;nbsp;- Fast via PowerShell (7)&lt;/h2&gt;
&lt;p&gt;Powershell can show some initial &amp;quot;weird&amp;quot; behaviour. Whenever the Fast WCF-services aren&amp;#39;t running, all of the powershell commands will bug out with an error message. Get-FastSearchContentCollection returns: &lt;/p&gt;
&lt;p&gt;&lt;em&gt;Get-FastSearchContentCollection : Failed to communicate with the WCF service.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Whenever the services are back up, this message will disappear and the right output is returned. But sometimes some Powershell commands do work, and some won&amp;#39;t. This is definately a permissions issue, where the executing account isn&amp;#39;t member of the FastSearchAdministrators group. It&amp;#39;s comparable to the missing/wrong permissions for the fast query service application.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/bas/6012.Fast_2D00_Powershell.png"&gt;&lt;img src="http://bloggingabout.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/bas/6012.Fast_2D00_Powershell.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;&lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;&lt;/span&gt;&lt;/span&gt;Summary&lt;/h3&gt;
&lt;p&gt;The majority of problems arise whenever permissions are not set correctly. It&amp;#39;s&amp;nbsp;important that the Fast Admin account&amp;nbsp;that is configured in the Fast Query Service, is indeed the &lt;em&gt;right&lt;/em&gt;&amp;nbsp;account, is member of the FastSearchAdministrators group and&amp;nbsp;has access the the FastAdmin database. For dev-purposes you can choose the make use of just one main account to run fast, run the app pools and use as the admin account, but this is no recommended approach for production environments. That is why I advise to always use least privilege installations, even on your dev-environments!&lt;/p&gt;</description></item></channel></rss>