Wednesday, September 11, 2013

Set Permissions on Multiple Sites using PowerShell

These days I had a request to add an Active Directory group with Contributor rights on a SharePoint Site Collection. Since many sites had broken inheritance, using the UI was not an option so I created a small PowerShell Script that enumerates all Webs and if the Inheritance is broken, it adds the group with the specified Role.

Notes:


  • The If command uses the $web.Url.Contains directive in order to modify the rights only on a subset of sites. If all Webs have to be crawled, use if ($web.HasUniquePerm -and $web.RequestAccessEnabled) instead.
  • This script modifies permissions only on webs. Lists and Items with unique permission will not be touched.

if ((Get-PSSnapin -Name Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue) -eq $null)
{
 Add-PSSnapin Microsoft.SharePoint.PowerShell
}


$site = Get-SPSite -Identity "http://spdev/sites/SiteCollection"


foreach($web in $site.AllWebs)
    {

    if ($web.HasUniquePerm -and $web.RequestAccessEnabled -and ($web.Url.Contains("/SiteCollection/BU1") -or $web.Url.Contains("/SiteCollection/BU2")))
        {
            $account = $web.EnsureUser("Domain\QATeam")
            $role = $web.RoleDefinitions["Contribute"]

            $assignment = New-Object Microsoft.SharePoint.SPRoleAssignment($account)
            $assignment.RoleDefinitionBindings.Add($role)

            $web.RoleAssignments.Add($assignment)
        }
    $web.Dispose()
    }
$site.Dispose()


References

Monday, September 9, 2013

SharePoint Start Workflow on All Items of a List via PowerShell

To start a List Workflow in SharePoint on All Items of a list is a pain through GUI but it's a piece of cake in PowerShell. Note that the Workflow will not start instantly (as opposed to triggering through the UI) but in maximum 5 minutes because it's started through the SharePoint Timer Service.


#updated on 10/17/2013

# URL of the Site
$web = Get-SPWeb -Identity "https://sharepointsrv/site1"

$manager = $web.Site.WorkFlowManager

# Name of the list
$list = $web.Lists["Shared Documents"]

# Name of the Workflow
$assoc = $list.WorkflowAssociations.GetAssociationByName("On Item Created","en-US")

$data = $assoc.AssociationData
$items = $list.Items
foreach($item in $items)
 {
 $wf = $manager.StartWorkFlow($item,$assoc,$data,$true)
 }
 
$manager.Dispose()
$web.Dispose()
#

References

Tuesday, September 3, 2013

ls - no colors on Ubuntu

I have some older Ubuntu servers that don't display colors when executing the ls command over Putty. So I took a .bashrc file from a different Ubuntu server and copied over the relevant section that contains the ls --color command. After that I applied the ~/.bashrc file so I don't have to restart the session. This will set the foloring for grep and vi as well.


~$ vim ~/.bashrc

if [ "$TERM" != "dumb" ]; then
    eval "`dircolors -b`"
    alias ls='ls --color=auto'
    alias grep='grep --color=auto'
    alias fgrep='fgrep --color=auto'
    alias egrep='egrep --color=auto'
    alias vi='vim'

else
    alias ls="ls -F"
    alias ll='ls -alF'
    alias la='ls -A'
    alias l='ls -CF'
fi


~$ source ~/.bashrc

References


Thursday, August 22, 2013

SharePoint 2013 Meeting Workspace Page Not Found

The Problem


I have some legacy Meeting Workspaces imported over from SharePoint 2010 that are still in use. Recently I enabled the Navigate Up button on a test site collection using this guide because users are really missing that feature. After applying the new master page to all subsites, I observed that the meeting workspace is no longer working. If I click on a meeting from a different date, a Page Not Found error is displayed on the site.


The logs:
 20635 08/22/2013 15:56:05.84   w3wp.exe (0x15D0)                         0x2EDC  SharePoint Foundation           Logging Correlation Data        xmnv  Medium    Name=Request (GET:https://spdevsrv:443/sites/dev1/WeeklyStatus/undefined?InstanceID=20130710&Paged=Next&p_StartTimeUTC=20130703T120000Z&View=%7bFEF87B6F%2d54D6%2d44CD%2d8055%2dFA404C0A5B50%7d)  57843b9c-4d5d-80a3-b6fd-c40b260782c1
 20636 08/22/2013 15:56:05.84   w3wp.exe (0x15D0)                         0x2EDC  SharePoint Foundation           Authentication Authorization    agb9s  Medium    Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|domain\user, ClaimsCount=43  57843b9c-4d5d-80a3-b6fd-c40b260782c1
 20637 08/22/2013 15:56:05.85   w3wp.exe (0x15D0)                         0x58E8  SharePoint Foundation           General                         af71  Medium    HTTP Request method: GET  57843b9c-4d5d-80a3-b6fd-c40b260782c1
 20638 08/22/2013 15:56:05.85   w3wp.exe (0x15D0)                         0x58E8  SharePoint Foundation           General                         af75  Medium    Overridden HTTP request method: GET  57843b9c-4d5d-80a3-b6fd-c40b260782c1
 20639 08/22/2013 15:56:05.85   w3wp.exe (0x15D0)                         0x58E8  SharePoint Foundation           General                         af74  Medium    HTTP request URL: /sites/dev1/WeeklyStatus/undefined?InstanceID=20130710&Paged=Next&p_StartTimeUTC=20130703T120000Z&View=%7bFEF87B6F%2d54D6%2d44CD%2d8055%2dFA404C0A5B50%7d  57843b9c-4d5d-80a3-b6fd-c40b260782c1
 20640 08/22/2013 15:56:05.85   w3wp.exe (0x15D0)                         0x58E8  SharePoint Foundation           Files                           aise3  Medium    Failure when fetching document. 0x80070002  57843b9c-4d5d-80a3-b6fd-c40b260782c1
 20641 08/22/2013 15:56:05.87   w3wp.exe (0x15D0)                         0x5198  SharePoint Foundation           Monitoring                      b4ly  Medium    Leaving Monitored Scope (Request (GET:https://spdevsrv:443/sites/dev1/WeeklyStatus/undefined?InstanceID=20130710&Paged=Next&p_StartTimeUTC=20130703T120000Z&View=%7bFEF87B6F%2d54D6%2d44CD%2d8055%2dFA404C0A5B50%7d)). Execution Time=37.2469  57843b9c-4d5d-80a3-b6fd-c40b260782c1


The Solution


You need to apply the mwsdefaultv15.master page to all Meeting Workspace sites. Since the SharePoint Server Publishing feature is not enabled (and cannot be enabled) on this type of site, you have to do the job in PowerShell.

$web =  Get-SPWeb -Identity "https://spdevsrv:443/sites/dev1"
$web.MasterUrl = "/sites/dev1/_catalogs/masterpage/mwsdefaultv15.master"
$web.CustomMasterUrl = "/sites/dev1/_catalogs/masterpage/mwsdefaultv15.master"
$web.Update()
$web.Dispose()

If you have a bunch of Meeting Workspaces then the script below might come in handy. For the sake of safety please back up your Site Collection first.

$site = Get-SPSite -Identity "https://spdevsrv:443/sites/dev1"
$webs = $site.AllWebs

$CorrectMasterPage = "/_catalogs/masterpage/mwsdefaultv15.master"

foreach($web in $webs)
 {
 if (($web.WebTemplate -eq "MPS") -and ($web.WebTemplateId -eq 2))
  {
  write-host "Updating" $web.Url
  $MasterPageURL = $web.ServerRelativeUrl + $CorrectMasterPage
  $web.MasterUrl = $MasterPageURL
  $web.CustomMasterUrl = $MasterPageURL
  $web.Update()
  }
 $web.Dispose()
 }

References


Find SharePoint Web Template Name using PowerShell

You can find out the Template Name and Id of a SharePoint Site using the following PowerShell command:

$web =  Get-SPWeb -Identity "http://spsrv/sites/web1/"
Write-Host $web.WebTemplate "," $web.WebTemplateId


To list all Template Names and IDs:

Get-SPWebTemplate | select ID, Name, Title | Sort-Object ID


References:

Monday, August 19, 2013

MySQL Backup Script in Bash / Cron Job

The following is a handy cron job that backs up a MySQL database, compress it with gzip and will delete the ones older than 30 days. Make sure the user running the job has write permissions (in my case the user levente@testsrv) on the backup output directory. The mysql backup job will be executed daily at 2:15am and the cleanup job at 2:20am.


levente@testsrv:~$ crontab -e


# ....
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h  dom mon dow   command

 15 2 * * * mysqldump -u mysqluser -pmysqlpassword db_name | gzip > /var/backups/mysql/db_name_`date '+\%Y\%m\%d-\%H\%M\%S'`.sql.gz
 20 2 * * * find /var/backups/mysql/db_name* -mtime +30 -exec rm {} \;


If you want to run the MySQL backup script directly at the shell, you have to remove the backslash characters before the % because these are escaped in cron.


levente@testsrv:~$ mysqldump -u mysqluser -pmysqlpassword db_name | gzip > /var/backups/mysql/db_name_`date '+%Y%m%d-%H%M%S'`.sql.gz

Friday, August 9, 2013

Installing/Enabling RPMForge on CentOS 6.5 (latest binaries)

The steps needed to install RPMForge on CentOS are already described on this excellent page, I'll just update the script to use the latest binaries.

rnd=$RANDOM
wget -O /tmp/rpmforge-`echo $rnd`.rpm http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -i /tmp/rpmforge-`echo $rnd`.rpm
rm -f /tmp/rpmforge-`echo $rnd`.rpm
#


To test you can try installing something from the RPMForge repositories, like htop:
yum install htop

Configuring Web Proxy on CentOS

If your internet connection is behind a web proxy, you need to configure the following on your CentOS server:

System-wide proxy settings - add the following lines to your /etc/environment file:
# vi /etc/environment

http_proxy="http://proxysrv:8080/"
https_proxy="https://proxysrv:8080/"
ftp_proxy="ftp://proxysrv:8080/"
no_proxy=".mylan.local,.domain1.com,host1,host2"

To apply these settings without restarting the machine run the following commands on the bash shell:
export http_proxy="http://proxysrv:8080/"
export https_proxy="https://proxysrv:8080/"
export ftp_proxy="ftp://proxysrv:8080/"
export no_proxy=".mylan.local,.domain1.com,host1,host2"

You also need to configure yum:
# vi /etc/yum.conf

proxy=http://proxysrv:8080/

CentOS 6.4 on HyperV - No Neworking on eth0

Just installed CentOS 6.4 from the CentOS-6.4-x86_64-bin-DVD1.iso image as a HyperV virtual machine.

After installation I observed that the eth0 adapter is not configured.
This blog post helped me to start networking, thanks Rutger Thomschutz!

Based on the blog post mentioned I did the following:

vi /etc/sysconfig/network-scripts/ifcfg-eth0

# changed ONBOOT to Yes
ONBOOT = yes

Created the hard links, brang up the adapter and rebooted the server:
# edit 9/10/2013 - in most cases you don't have to create the links below. 
# ln /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/networking/devices/ifcfg-eth0
# ln /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/networking/profiles/default/ifcfg-eth0
ifconfig eth0 up
reboot now
#

Tuesday, August 6, 2013

Icecast + VLC Installation and Configuration Guide

Making VLC work with IceCast is not hard but there are some minor settings that were not obvious to me and I spent some time to figure them out.

IceCast


First, download and install IceCast. That's pretty much a next next next installation. When done start the IceCast Server.


Now, if you open this address with a browser, you can see that the server is running.


Eventually, you may want to edit the IceCast configuration to customize the port, the number of streams and the passwords. (Configuration -> Edit Configration).


VLC


I have VLC Media Player 2.0.8 Installed. I am going to stream some mp3 files to IceCast.

First, I have to enable MP3 streaming at the IceCast Output plugin module.

In VLC, go to Preferences (Enable advanced settings) -> Stream Output -> Access Output -> Shoutcast and check Stream MP3. On this page you can also set the name of the radio station, genre and other details.



















Now, let's add the mp3 files for streaming:
  • In VLC go to Media -> Stream
  • Add the mp3 files
  • Click Stream


















  • Click Next
















  • Select IceCast from the dropdown and click Add















  • I'll enter localhost for the address since both VLC and IceCast are on the same machine. Otherwise I would enter the IP Address of the computer running IceCast.
  • I'll enter radio1 for the mount point. It is highly recommended to specify a mount point, I couldn't make this working without entering one.
  • source:hackme is the Login:pass combo in my case because I did not change the default password in the configration file. You should do that. The login is always "source".
  • I won't activate transcoding since my files are already in mp3 format.
  • Click Stream


Now I can see that the music is "playing" in VLC.






















For the proof of concept, I will open this stream on a different computer with foobar2000. Note the /radio1 at the end of the URL, this is the mount point.













Notes


When everything is running, opening the Stream URL in the browser will bring up the IceCast status & admin page with some useful info. The default admin credentials are admin / hackme.






















Additional resources


IceCast Official Documentationhttp://www.icecast.org/docs/icecast-2.3.3/



CentOS + Centreon - No Graphs Showing Up


  • CentOS 6
  • Centreon 2.4

No graphs showing up after restarting the server



Solution


This is not actually a solution, but a workaround. The culprit is SELinux so turning it off brings the graphs back. I had so many issues with SELinux so I don't bother anymore trying to configure it to work with Centreon, I'll just turn it off.

# setenforce permissive


To disable SELinux completely, modify the following file:

# vim /etc/sysconfig/selinux

SELINUX=permissive

Monday, August 5, 2013

SharePoint 30 Minute Time Out for Forms

When you open a form to fill out, Out-of-the-box SharePoint will time out that form after 30 minutes.
This is very annoying because the form will just disappear and the data will be gone so the user has to start filling the form all over again.

You see in the logs a Failed to find entry in cache error message:

 34823 04/08/2013 16:18:42.29   w3wp.exe (0x2D84)                         0x10A8  SharePoint Foundation           General                         ajb4t  Monitorable  ViewStateLog: Failed to find entry in cache: https://portal/sites/Site1/List1/CreateForm.aspx?RootFolder=&IsDlg=1, de60c66b-76f5-4f24-8582-2205a96a949f  94bf0f9c-dd82-80a3-b6fd-cdd46cdfc506
 34824 04/08/2013 16:18:42.33   w3wp.exe (0x2D84)                         0x10A8  SharePoint Foundation           Monitoring                      b4ly  High      Leaving Monitored Scope (EnsureListItemsData). Execution Time=33.8073  94bf0f9c-dd82-80a3-b6fd-cdd46cdfc506
 34826 04/08/2013 16:18:42.41   w3wp.exe (0x2D84)                         0x10A8  SharePoint Foundation           Database                        ahjqp  High      [Forced due to logging gap, cached @ 04/08/2013 16:18:42.36, Original Level: Verbose] SQL connection time: 0.0708  94bf0f9c-dd82-80a3-b6fd-cdd46cdfc506
 34827 04/08/2013 16:18:42.41   w3wp.exe (0x2D84)                         0x10A8  SharePoint Foundation           General                         g3ql  High      [Forced due to logging gap, Original Level: Verbose] GetUriScheme(/sites/Site1/List1/)  94bf0f9c-dd82-80a3-b6fd-cdd46cdfc506
 34828 04/08/2013 16:18:42.46   w3wp.exe (0x2D84)                         0x10A8  SharePoint Foundation           General                         af4yd  High      [Forced due to logging gap, cached @ 04/08/2013 16:18:42.46, Original Level: Verbose] TenantAppEtag record requested but there is no sitesubscription or tenantId for site {0} so we will use the WebApp Id for the cache.  94bf0f9c-dd82-80a3-b6fd-cdd46cdfc506
 34829 04/08/2013 16:18:42.46   w3wp.exe (0x2D84)                         0x10A8  SharePoint Foundation           General                         af4yd  High      [Forced due to logging gap, Original Level: Verbose] TenantAppEtag record requested but there is no sitesubscription or tenantId for site {0} so we will use the WebApp Id for the cache.  94bf0f9c-dd82-80a3-b6fd-cdd46cdfc506
 34830 04/08/2013 16:18:42.49   w3wp.exe (0x2D84)                         0x10A8  SharePoint Foundation           General                         aj007  Medium    skip refreshToken because the token in memory is not fresh  94bf0f9c-dd82-80a3-b6fd-cdd46cdfc506
 34831 04/08/2013 16:18:42.50   w3wp.exe (0x2D84)                         0x10A8  SharePoint Foundation           Monitoring                      nasq  Medium    Entering monitored scope (Render Ribbon.). Parent SharePointForm Control Render  94bf0f9c-dd82-80a3-b6fd-cdd46cdfc506
 34832 04/08/2013 16:18:42.51   w3wp.exe (0x2D84)                         0x10A8  SharePoint Foundation           Monitoring                      b4ly  Medium    Leaving Monitored Scope (Render Ribbon.). Execution Time=4.2422  94bf0f9c-dd82-80a3-b6fd-cdd46cdfc506
 34833 04/08/2013 16:18:42.51   w3wp.exe (0x2D84)                         0x10A8  SharePoint Server Search        Query                           dn4s  High      FetchDataFromURL start at(outside if): 1 param: start  94bf0f9c-dd82-80a3-b6fd-cdd46cdfc506
 34834 04/08/2013 16:18:42.53   w3wp.exe (0x2D84)                         0x10A8  SharePoint Foundation           Monitoring                      b4ly  Medium    Leaving Monitored Scope (Request (POST:https://portal/sites/Site1/List1/CreateForm.aspx?RootFolder=&IsDlg=1)). Execution Time=313.8202  94bf0f9c-dd82-80a3-b6fd-cdd46cdfc506

Solution


There are a so many types of timeouts so finding the right one to tamper was a real quest.

Here's the solution:


PS> $SPSite = Get-SPSite("https://portal")
PS> $webApp = $SPSite.WebApplication
PS> $webApp.FormDigestSettings

        Enabled           Expires Timeout       UpgradedPersistedProperties
        -------           ------- -------       ---------------------------
           True             False 0:30:00      {}      

PS> $webApp.FormDigestSettings.Timeout = New-TimeSpan -Hours 8
PS> $webApp.Update()

SharePoint Search Index/Partition Degraded

Today I reconfigured my Search Service Application following this post. After restarting the SharePoint Search Host Controller in services.msc, I observed that the search is not working in SharePoint.


Lots of logs, not much sense:


 63479 08/05/2013 16:54:39.47   w3wp.exe (0x5604)                         0x5BA8  SharePoint Foundation           Logging Correlation Data        xmnv  Medium    Name=Request (POST:https://spsrv:443/_vti_bin/client.svc/ProcessQuery)  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63480 08/05/2013 16:54:39.47   w3wp.exe (0x5604)                         0x5BA8  SharePoint Foundation           Authentication Authorization    agb9s  Medium    Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|domain\levente.rog, ClaimsCount=44  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63481 08/05/2013 16:54:39.47   w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            agw10  Medium    Begin CSOM Request ManagedThreadId=129, NativeThreadId=20420  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63482 08/05/2013 16:54:39.47   w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           Logging Correlation Data        xmnv  Medium    Site=/  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63483 08/05/2013 16:54:39.48   w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            ai3c0  Medium    Do not Check SPBasePermissions.UseRemoteAPIs permission. Site.ClientObjectModelRequiresUseRemoteAPIsPermission=True, IisSettings.ClientObjectModelRequiresUseRemoteAPIsPermission=False  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63484 08/05/2013 16:54:39.48   w3wp.exe (0x5604)                         0x4FC4  SharePoint Portal Server        Microfeeds                      aizmk  High      serviceHost_RequestExecuting  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63485 08/05/2013 16:54:39.48   w3wp.exe (0x5604)                         0x4FC4  SharePoint Server Search        Query                           dka1  High      SearchServiceApplicationProxy::Execute--Proxy Name:Search Service Application EndPoint: http://spsrv:32843/10a7e48389aa4a9fa6d2bc80ef80c1e2/SearchService.svc  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63486 08/05/2013 16:54:39.48   w3wp.exe (0x5604)                         0x4FC4  SharePoint Server Search        Query                           dk8z  High      SearchServiceApplicationProxy::GetChannel--Channel Creation time: 0  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63487 08/05/2013 16:54:39.48   w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           Topology                        e5mc  Medium    WcfSendRequest: RemoteAddress: 'http://spsrv:32843/10a7e48389aa4a9fa6d2bc80ef80c1e2/SearchService.svc' Channel: 'Microsoft.Office.Server.Search.Administration.ISearchServiceApplication' Action: 'http://tempuri.org/ISearchQueryServiceApplication/Execute' MessageId: 'urn:uuid:ed03e528-5d72-49fd-81c3-33f6c61a6eb5'  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63489 08/05/2013 16:54:39.50   w3wp.exe (0x1A6C)                         0x1A98  SharePoint Foundation           Topology                        e5mb  Medium    WcfReceiveRequest: LocalAddress: 'http://spsrv.domain.local:32843/10a7e48389aa4a9fa6d2bc80ef80c1e2/SearchService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://tempuri.org/ISearchQueryServiceApplication/Execute' MessageId: 'urn:uuid:ed03e528-5d72-49fd-81c3-33f6c61a6eb5'  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63490 08/05/2013 16:54:39.50   w3wp.exe (0x1A6C)                         0x1A98  SharePoint Server Search        Query                           fla3  High      SearchServiceApplication::Execute--Correlation Id: ef0e369c-1d6f-80a3-b6fd-c7ca2505f527  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63491 08/05/2013 16:54:39.50   w3wp.exe (0x1A6C)                         0x1A98  SharePoint Server Search        Query                           ac3iu  High      Ims::EndPoints: Candidate FewestQueries: net.tcp://spsrv/921B21/QueryProcessingComponent1/ImsQueryInternal, status: Succeeded, queries-in-progress: 0  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63492 08/05/2013 16:54:39.50   w3wp.exe (0x1A6C)                         0x1A98  SharePoint Server Search        Query                           ac3ik  High      Ims::EndPoint: net.tcp://spsrv/921B21/QueryProcessingComponent1/ImsQueryInternal  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63493 08/05/2013 16:54:39.50   w3wp.exe (0x1A6C)                         0x1A98  SharePoint Server Search        Query                           aep7z  High      Ims::GetChannel--Channel Creation time: 0  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63494 08/05/2013 16:54:39.50   w3wp.exe (0x1A6C)                         0x1A98  SharePoint Foundation           Topology                        e5mc  Medium    WcfSendRequest: RemoteAddress: 'net.tcp://spsrv/921B21/QueryProcessingComponent1/ImsQueryInternal' Channel: 'Microsoft.Office.Server.Search.Query.IImsService' Action: 'http://tempuri.org/IImsService/Execute' MessageId: 'urn:uuid:319c9a03-9de0-4a7f-a4c3-ea000616cb0e'  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63495 08/05/2013 16:54:39.50   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x38C4  Search                          Query Processing                aizc0  High      Microsoft.Office.Server.Search.Query.Ims.ImsQueryInternal : New request: Query text 'improve', Query template '{searchboxquery}'; HiddenConstraints:  site:"https://spsrv"; SiteSubscriptionId: 00000000-0000-0000-0000-000000000000  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63496 08/05/2013 16:54:39.50   NodeRunner.exe (0x2094)                   0x38C4  SharePoint Server Search        Query                           aj41n  Medium    QueryTemplateHelper: Query template '{searchboxquery}' transformed to query text 'improve'.  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63497 08/05/2013 16:54:39.50   NodeRunner.exe (0x2094)                   0x38C4  SharePoint Server Search        Query                           aj41o  High      ProductivitySearchFlowExecutor: New request: Query template '{searchboxquery}' transformed to query text 'improve'.  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63498 08/05/2013 16:54:39.52   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x38C4  Search                          Linguistic Processing           ai4ah  Medium    Microsoft.Ceres.ContentEngine.NlpEvaluators.Tokenizer.QueryWordBreakerProducer: Expanded query tree (language en): StringNode(FirstChild=TokenNode(FirstChild=null,NextSibling=null,Length=1,Linguistics=True,Token=improve,Weight=1),NextSibling=null,Linguistics=True,Mode=And,Text=improve,Weight=0,Wildcard=False)  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63499 08/05/2013 16:54:39.52   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x38C4  Search                          Query Processing                aizgm  Medium    Microsoft.Office.Server.Search.Query.Pipeline.Executors.QueryPipelineFlowExecutor : FlowExecutor done: SearchApplication=10a7e483-89aa-4a9f-a6d2-bc80ef80c1e2. ParentFlow= SubFlowTimings: Linguistics=0  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63500 08/05/2013 16:54:39.52   NodeRunner.exe (0x2094)                   0x38C4  SharePoint Server Search        Query                           aj41n  Medium    QueryTemplateHelper: Query template '{?{searchTerms} -ContentClass=urn:content-class:SPSPeople}' transformed to query text 'improve -ContentClass=urn:content-class:SPSPeople'.  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63501 08/05/2013 16:54:39.52   NodeRunner.exe (0x2094)                   0x38C4  SharePoint Server Search        Query                           af5cy  Medium    QueryRouterEvaluator: QueryId PersonalFavorite Query, QueryRule , CorrelationId 78ec7bfc-2658-42f1-8cc2-6703c797f143, ParentCorrelationId ef0e369c-1d6f-80a3-b6fd-c7ca2505f527, SourceId cd0b4ea8-749c-4bcb-9c27-3cd8355bb774  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63502 08/05/2013 16:54:39.52   NodeRunner.exe (0x2094)                   0x38C4  SharePoint Server Search        Query                           af5cy  Medium    QueryRouterEvaluator: QueryId BestBet Query, QueryRule , CorrelationId cd08eaa1-9834-4151-924a-9c0726addff5, ParentCorrelationId ef0e369c-1d6f-80a3-b6fd-c7ca2505f527, SourceId 88279e87-6b55-4cd7-99a3-2cc5cc2e4924  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63503 08/05/2013 16:54:39.52   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x4328  Search                          Query Processing                aizgm  Medium    Microsoft.Office.Server.Search.Query.Pipeline.Executors.QueryPipelineFlowExecutor : FlowExecutor done: SearchApplication=10a7e483-89aa-4a9f-a6d2-bc80ef80c1e2. ParentFlow=Microsoft.SharePointSearchProviderFlow SubFlowTimings: Parsing=0  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63504 08/05/2013 16:54:39.52   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x4328  Search                          Linguistic Processing           ai4ah  Medium    Microsoft.Ceres.ContentEngine.NlpEvaluators.Tokenizer.QueryWordBreakerProducer: Expanded query tree (language en): AndNode(FirstChild=StringNode(FirstChild=TokenNode(FirstChild=null,NextSibling=null,Length=1,Linguistics=True,Token=improve,Weight=1),NextSibling=FilterNode(FirstChild=NotNode(FirstChild=ScopeNode(FirstChild=BoundaryNode(FirstChild=TokenNode(FirstChild=null,NextSibling=null,Length=1,Linguistics=True,Token=urn:content-class:SPSPeople,Weight=1),NextSibling=null,BoundaryMode=Exact),NextSibling=null,Scope=Contentclass),NextSibling=null),NextSibling=FilterNode(FirstChild=ScopeNode(FirstChild=WildcardNode(FirstChild=null,NextSibling=null,Token=https://spsrv/),NextSibling=null,Scope=SitePath),NextSibling=null)),Linguistics=True,Mode=And,Text=improve,Weight=0,Wildcard=False),...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63505 08/05/2013 16:54:39.52*  NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x4328  Search                          Linguistic Processing           ai4ah  Medium    ...NextSibling=null)  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63507 08/05/2013 16:54:39.53   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x5CF0  Search                          Query Processing                aizi4  Medium    Microsoft.Office.Server.Search.Query.Pipeline.Processing.QueryRouterEvaluator : QueryRouterEvaluator:RetrieveResultsForQuery improve CorrelationId cd08eaa1-9834-4151-924a-9c0726addff5 ParentCorrelationId ef0e369c-1d6f-80a3-b6fd-c7ca2505f527  cd08eaa1-9834-4151-924a-9c0726addff5
 63508 08/05/2013 16:54:39.53   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x5CF0  Search                          Query Processing                aizi5  Medium    Microsoft.Office.Server.Search.Query.Pipeline.Processing.QueryRouterEvaluator : QueryRouterEvaluator: Received 1 SpecialTermResults results for query improve CorrelationId cd08eaa1-9834-4151-924a-9c0726addff5 ParentCorrelationId ef0e369c-1d6f-80a3-b6fd-c7ca2505f527  cd08eaa1-9834-4151-924a-9c0726addff5
 63509 08/05/2013 16:54:39.53   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x4328  Search                          Query Processing                aizf6  High      Microsoft.Office.Server.Search.Query.Pipeline.Executors.LinguisticQueryProcessingExecutor : QSC: All Annotations: ,,,,,  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63511 08/05/2013 16:54:39.53   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x4328  Search                          Linguistic Processing           ai39e  Medium    Microsoft.Ceres.ContentEngine.NlpEvaluators.QuerySuggestionEvaluator: Query not changed.  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63513 08/05/2013 16:54:39.53   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x433C  Search                          Query Processing                aizi4  Medium    Microsoft.Office.Server.Search.Query.Pipeline.Processing.QueryRouterEvaluator : QueryRouterEvaluator:RetrieveResultsForQuery improve CorrelationId 78ec7bfc-2658-42f1-8cc2-6703c797f143 ParentCorrelationId ef0e369c-1d6f-80a3-b6fd-c7ca2505f527  78ec7bfc-2658-42f1-8cc2-6703c797f143
 63514 08/05/2013 16:54:39.53   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x433C  Search                          Query Processing                aizi5  Medium    Microsoft.Office.Server.Search.Query.Pipeline.Processing.QueryRouterEvaluator : QueryRouterEvaluator: Received 0 PersonalFavoriteResults results for query improve CorrelationId 78ec7bfc-2658-42f1-8cc2-6703c797f143 ParentCorrelationId ef0e369c-1d6f-80a3-b6fd-c7ca2505f527  78ec7bfc-2658-42f1-8cc2-6703c797f143
 63515 08/05/2013 16:54:39.53   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x4328  Search                          Query Processing                aizgm  Medium    Microsoft.Office.Server.Search.Query.Pipeline.Executors.QueryPipelineFlowExecutor : FlowExecutor done: SearchApplication=10a7e483-89aa-4a9f-a6d2-bc80ef80c1e2. ParentFlow=Microsoft.SharePointSearchProviderFlow SubFlowTimings: Linguistics=15  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63516 08/05/2013 16:54:39.53   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x4328  Search                          Query Processing                aizgm  Medium    Microsoft.Office.Server.Search.Query.Pipeline.Executors.QueryPipelineFlowExecutor : FlowExecutor done: SearchApplication=10a7e483-89aa-4a9f-a6d2-bc80ef80c1e2. ParentFlow=Microsoft.SharePointSearchProviderFlow SubFlowTimings: RecommendationsSecurityTrimming=0  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63517 08/05/2013 16:54:39.55   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x4328  Search                          Search Component                ajkor  High      Microsoft.Ceres.SearchCore.Query.MarsLookupComponent.MarsLookupUtils: Skipping requested field Rank because this is a duplicate request  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63518 08/05/2013 16:54:39.55   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x4328  Search                          Search Component                ajkor  High      Microsoft.Ceres.SearchCore.Query.MarsLookupComponent.MarsLookupUtils: Skipping requested field DocId because this is a duplicate request  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63519 08/05/2013 16:54:39.55   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x4328  Search                          Search Component                akebx  High      Microsoft.Ceres.SearchCore.Services.Query.AbstractQueryParameters: Query compressed from: 8019 to 1430 bytes.  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63520 08/05/2013 16:54:39.55   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x4328  Search                          Query Processing                aizgm  Medium    Microsoft.Office.Server.Search.Query.Pipeline.Executors.QueryPipelineFlowExecutor : FlowExecutor done: SearchApplication=10a7e483-89aa-4a9f-a6d2-bc80ef80c1e2. ParentFlow=Microsoft.SharePointSearchProviderFlow SubFlowTimings: IndexLookupPreProcessing=15 CustomSecurityTrimmingPre=0 SecurityPreProcessing=0 PeopleExpertise=0  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63521 08/05/2013 16:54:39.55   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x4328  Search                          Common Processing               28  Information  Component and System=Query1-10a7e483-89aa-4a9f-a6d2-bc80ef80c1e2, Correlation ID=ef0e369c-1d6f-80a3-b6fd-c7ca2505f527, Tenant ID=00000000-0000-0000-0000-000000000000 Error code=0, Flow Name=Microsoft.SharePointSearchProviderFlow, Operator Name=ParserExecutor, Message=The processing of item fails with error Cannot plan query for index system SPfb9d40f9a806. Index fragment '0' has no available cells. Cell statuses: [Cell I.0.0 on node IndexComponent1: Cell status is set to 'not available' (cell out of sync or seeding)]  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63522 08/05/2013 16:54:39.55   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x4328  Search                          Query Processing                aizag  Unexpected  Microsoft.Ceres.InteractionEngine.Component.FlowHandleRegistry : Exceptions occurred when evaluating the flow.  Microsoft.Ceres.Evaluation.DataModel.EvaluationException: Cannot plan query for index system SPfb9d40f9a806. Index fragment '0' has no available cells. Cell statuses: [Cell I.0.0 on node IndexComponent1: Cell status is set to 'not available' (cell out of sync or seeding)]     at Microsoft.Ceres.Evaluation.Engine.ErrorHandling.HandleExceptionRecordSetSink.DoWithTryCatch(IRecord record)     at Microsoft.Ceres.InteractionEngine.Component.FlowHandleRegistry.SubmitData(FlowExecutionInfo handle, InputData inputData, Stopwatch timer, String correlationId, Guid tenantId, String query, String flowName, Int32 queryTimeoutMillis)     at Microsoft.Ceres.InteractionEngine.Component.FlowHandle...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63523 08/05/2013 16:54:39.55*  NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x4328  Search                          Query Processing                aizag  Unexpected  ...Registry.ExecuteFlow(String flowName, InputData input, Int32 queryTimeoutMillis)  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63524 08/05/2013 16:54:39.55   NodeRunner.exe (0x2094)                   0x4328  SharePoint Server Search        Query                           af9s9  High      ExecuteFlowInternal Flow:Microsoft.SharePointSearchProviderFlow Exception: Microsoft.Ceres.Evaluation.DataModel.EvaluationException: Cannot plan query for index system SPfb9d40f9a806. Index fragment '0' has no available cells. Cell statuses: [Cell I.0.0 on node IndexComponent1: Cell status is set to 'not available' (cell out of sync or seeding)]     at Microsoft.Ceres.Evaluation.Engine.ErrorHandling.HandleExceptionRecordSetSink.DoWithTryCatch(IRecord record)     at Microsoft.Ceres.InteractionEngine.Component.FlowHandleRegistry.SubmitData(FlowExecutionInfo handle, InputData inputData, Stopwatch timer, String correlationId, Guid tenantId, String query, String flowName, Int32 queryTimeoutMillis)     at Microsoft.Ceres.InteractionEngine.Component.FlowHandleRegistry.ExecuteFlow(String flowName,...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63525 08/05/2013 16:54:39.55*  NodeRunner.exe (0x2094)                   0x4328  SharePoint Server Search        Query                           af9s9  High      ... InputData input, Int32 queryTimeoutMillis)  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63528 08/05/2013 16:54:39.55   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x4328  Search                          Query Processing                aiy95  High      Microsoft.Ceres.InteractionEngine.Component.EvaluationResult : The flow handle 7e5459b9-01f5-49c2-822e-74edef5ef172 for the requested flow Microsoft.SharePointSearchProviderFlow is not in Running state. Server clean-up has been done.  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63529 08/05/2013 16:54:39.55   NodeRunner.exe (0x2094)                   0x4328  SharePoint Server Search        Query                           af9ta  High      QueryRouterEvaluator: evaluation failure for query improve -ContentClass=urn:content-class:SPSPeople against source 8413cd39-2156-4e00-b54d-11efd9abdb89  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63530 08/05/2013 16:54:39.55   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x38C4  Search                          Query Processing                aizgm  Medium    Microsoft.Office.Server.Search.Query.Pipeline.Executors.QueryPipelineFlowExecutor : FlowExecutor done: SearchApplication=10a7e483-89aa-4a9f-a6d2-bc80ef80c1e2. ParentFlow=Microsoft.ProductivitySearchFlow SubFlowTimings: QueryRuleConditionMatching=15 QueryTransformer=0  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63531 08/05/2013 16:54:39.55   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x38C4  Search                          Query Processing                aizgn  Medium    Microsoft.Office.Server.Search.Query.Pipeline.Executors.QueryPipelineHardWiredFlowExecutor : (FlowExecutor)eventSearchFlowDone: 10a7e483-89aa-4a9f-a6d2-bc80ef80c1e2, improve, Microsoft.ProductivitySearchFlow, 41, spsrv, Error=Cannot plan query for index system SPfb9d40f9a806. Index fragment '0' has no available cells. Cell statuses: [Cell I.0.0 on node IndexComponent1: Cell status is set to 'not available' (cell out of sync or seeding)] ef0e369c-1d6f-80a3-b6fd-c7ca2505f527  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63532 08/05/2013 16:54:39.55   NodeRunner.exe (0x2094)                   0x38C4  SharePoint Server Search        Query                           aisyt  High      ExecuteFlowInternal FlowExecutor:Microsoft.ProductivitySearchFlow Exception: Microsoft.Ceres.Evaluation.DataModel.EvaluationException: Cannot plan query for index system SPfb9d40f9a806. Index fragment '0' has no available cells. Cell statuses: [Cell I.0.0 on node IndexComponent1: Cell status is set to 'not available' (cell out of sync or seeding)]    Server stack trace:      at Microsoft.Ceres.InteractionEngine.Component.EvaluationResult.ThrowExceptionsInEvaluationEngine()     at Microsoft.Ceres.InteractionEngine.Component.EvaluationResult.d__8.MoveNext()     at Microsoft.Ceres.InteractionEngine.Component.EvaluationResult.ReadToEnd(String output)     at Microsoft.Ceres.InteractionEngine.Component.EvaluationResult.Dispose(Boolean isNotAfterAbortFlow)     at Microsoft.Ceres.Inter...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63533 08/05/2013 16:54:39.55*  NodeRunner.exe (0x2094)                   0x38C4  SharePoint Server Search        Query                           aisyt  High      ...actionEngine.Component.EvaluationResult.Dispose()     at Microsoft.Office.Server.Search.Query.Pipeline.QueryPipelineComponent.ExecuteFlowInternal(String flowName, KeywordQueryProperties keywordProperties, Int32 timeout)     at Microsoft.Office.Server.Search.Query.Pipeline.QueryPipelineComponent.ExecuteFlow(String flowName, KeywordQueryProperties keywordProperties, Int32 timeout)     at Microsoft.Office.Server.Search.Query.Pipeline.Processing.QueryRouterEvaluator.QueryRouterProducer.ExecuteQueryFlow(String flowName, KeywordQueryProperties input)     at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)     at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink rep...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63534 08/05/2013 16:54:39.55*  NodeRunner.exe (0x2094)                   0x38C4  SharePoint Server Search        Query                           aisyt  High      ...lySink)    Exception rethrown at [0]:      at Microsoft.Office.Server.Search.Query.Pipeline.Processing.QueryRouterEvaluator.QueryRouterProducer.ExecuteQueries(IRecord originalQueryRecord, IEnumerable`1 routingRecords, QueryExecutionContext executionContext, IUpdateableDictionaryField`2 resultField)     at Microsoft.Office.Server.Search.Query.Pipeline.Processing.QueryRouterEvaluator.QueryRouterProducer.ProcessRecordCore(IRecord record)     at Microsoft.Ceres.Evaluation.Processing.Executor.ProducerOperatorExecutor`1.ProcessProducerRecord(IRecord inputRecord)     at Microsoft.Office.Server.Search.Query.Pipeline.Executors.ProductivitySearchFlowExecutor.ExecuteCore(KeywordQueryProperties keywordProperties)     at Microsoft.Office.Server.Search.Query.Pipeline.Executors.QueryPipelineFlowExecutor....  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63535 08/05/2013 16:54:39.55*  NodeRunner.exe (0x2094)                   0x38C4  SharePoint Server Search        Query                           aisyt  High      ...Execute(KeywordQueryProperties keywordProperties)     at Microsoft.Office.Server.Search.Query.Pipeline.Executors.QueryPipelineHardWiredFlowExecutor.Execute(KeywordQueryProperties keywordProperties)     at Microsoft.Office.Server.Search.Query.Pipeline.QueryPipelineComponent.ExecuteFlowInternal(IQueryPipelineFlowExecutor executor, KeywordQueryProperties keywordProperties, String flowName, Int32 timeout)  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63536 08/05/2013 16:54:39.55   NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x38C4  Search                          Query Processing                aizc8  Monitorable  Microsoft.Office.Server.Search.Query.Ims.ImsQueryInternal : Unhandled exception Microsoft.Ceres.Evaluation.DataModel.EvaluationException: Cannot plan query for index system SPfb9d40f9a806. Index fragment '0' has no available cells. Cell statuses: [Cell I.0.0 on node IndexComponent1: Cell status is set to 'not available' (cell out of sync or seeding)]    Server stack trace:      at Microsoft.Ceres.InteractionEngine.Component.EvaluationResult.ThrowExceptionsInEvaluationEngine()     at Microsoft.Ceres.InteractionEngine.Component.EvaluationResult.d__8.MoveNext()     at Microsoft.Ceres.InteractionEngine.Component.EvaluationResult.ReadToEnd(String output)     at Microsoft.Ceres.InteractionEngine.Component.EvaluationResult.Dispose(Boolean isNotAfterAbortFlow)     at Microsoft.Ceres.In...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63537 08/05/2013 16:54:39.55*  NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x38C4  Search                          Query Processing                aizc8  Monitorable  ...teractionEngine.Component.EvaluationResult.Dispose()     at Microsoft.Office.Server.Search.Query.Pipeline.QueryPipelineComponent.ExecuteFlowInternal(String flowName, KeywordQueryProperties keywordProperties, Int32 timeout)     at Microsoft.Office.Server.Search.Query.Pipeline.QueryPipelineComponent.ExecuteFlow(String flowName, KeywordQueryProperties keywordProperties, Int32 timeout)     at Microsoft.Office.Server.Search.Query.Pipeline.Processing.QueryRouterEvaluator.QueryRouterProducer.ExecuteQueryFlow(String flowName, KeywordQueryProperties input)     at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)     at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink ...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63538 08/05/2013 16:54:39.55*  NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x38C4  Search                          Query Processing                aizc8  Monitorable  ...replySink)    Exception rethrown at [0]:      at Microsoft.Office.Server.Search.Query.Pipeline.Processing.QueryRouterEvaluator.QueryRouterProducer.ExecuteQueries(IRecord originalQueryRecord, IEnumerable`1 routingRecords, QueryExecutionContext executionContext, IUpdateableDictionaryField`2 resultField)     at Microsoft.Office.Server.Search.Query.Pipeline.Processing.QueryRouterEvaluator.QueryRouterProducer.ProcessRecordCore(IRecord record)     at Microsoft.Ceres.Evaluation.Processing.Executor.ProducerOperatorExecutor`1.ProcessProducerRecord(IRecord inputRecord)     at Microsoft.Office.Server.Search.Query.Pipeline.Executors.ProductivitySearchFlowExecutor.ExecuteCore(KeywordQueryProperties keywordProperties)     at Microsoft.Office.Server.Search.Query.Pipeline.Executors.QueryPipelineFlowExecut...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63539 08/05/2013 16:54:39.55*  NodeRunnerQuery1-10a7e483-89aa- (0x2094)  0x38C4  Search                          Query Processing                aizc8  Monitorable  ...or.Execute(KeywordQueryProperties keywordProperties)     at Microsoft.Office.Server.Search.Query.Pipeline.Executors.QueryPipelineHardWiredFlowExecutor.Execute(KeywordQueryProperties keywordProperties)     at Microsoft.Office.Server.Search.Query.Pipeline.QueryPipelineComponent.ExecuteFlowInternal(IQueryPipelineFlowExecutor executor, KeywordQueryProperties keywordProperties, String flowName, Int32 timeout)     at Microsoft.Office.Server.Search.Query.Pipeline.QueryPipelineComponent.ExecuteFlow(String flowName, KeywordQueryProperties keywordProperties, Int32 timeout)     at Microsoft.Office.Server.Search.Query.Ims.ImsQueryInternal.Execute(QueryProperties properties, Guid ssaId)  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63540 08/05/2013 16:54:39.55   w3wp.exe (0x1A6C)                         0x1A98  SharePoint Server Search        Query                           ac3io  High      Ims::Execute--Error occured: System.ServiceModel.FaultException`1[Microsoft.Office.Server.Search.Administration.SearchServiceApplicationFault]: Cannot plan query for index system SPfb9d40f9a806. Index fragment '0' has no available cells. Cell statuses: [Cell I.0.0 on node IndexComponent1: Cell status is set to 'not available' (cell out of sync or seeding)] (Fault Detail is equal to Microsoft.Office.Server.Search.Administration.SearchServiceApplicationFault).  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63541 08/05/2013 16:54:39.55   w3wp.exe (0x1A6C)                         0x1A98  Search                          Query Processing                225  Warning   w3wp.exe: Query processing component 'net.tcp://spsrv/921B21/QueryProcessingComponent1/ImsQueryInternal' changes its status to 'Failed'.  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63542 08/05/2013 16:54:39.55   w3wp.exe (0x1A6C)                         0x1A98  SharePoint Server Search        Query                           ac3is  High      Ims::All endpoints down, resetting...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63543 08/05/2013 16:54:39.55   w3wp.exe (0x1A6C)                         0x1A98  SharePoint Server Search        Query                           ac3iu  High      Ims::EndPoints: Candidate FewestQueries: net.tcp://spsrv/921B21/QueryProcessingComponent1/ImsQueryInternal, status: Succeeded, queries-in-progress: 0  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63544 08/05/2013 16:54:39.55   w3wp.exe (0x1A6C)                         0x1A98  Search                          Query Processing                223  Critical  w3wp.exe: All query processing components are in 'Failed' status.  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63545 08/05/2013 16:54:39.55   w3wp.exe (0x1A6C)                         0x1A98  SharePoint Server Search        Query                           dk68  High      SearchServiceApplication::Execute--Exception: Microsoft.SharePoint.SPException: Tried IMS endpoints for operation Execute: Cannot plan query for index system SPfb9d40f9a806. Index fragment '0' has no available cells. Cell statuses: [Cell I.0.0 on node IndexComponent1: Cell status is set to 'not available' (cell out of sync or seeding)]     at Microsoft.Office.Server.Search.Query.Ims.LoadBalancer.RoundRobinLoadBalancerContext.NextEndpoint(String operationName, String failMessage)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplication._ImsQueryInternalType.DoSpLoadBalancedImsOp[T](ImsBackedOperation`1 imsCall, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, String operationName)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplication....  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63546 08/05/2013 16:54:39.55*  w3wp.exe (0x1A6C)                         0x1A98  SharePoint Server Search        Query                           dk68  High      ..._ImsQueryInternalType.Execute(QueryProperties properties, Guid ssaId)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Execute(QueryProperties properties)  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63547 08/05/2013 16:54:39.55   w3wp.exe (0x1A6C)                         0x1A98  SharePoint Foundation           Monitoring                      b4ly  Medium    Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=58.3592  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63548 08/05/2013 16:54:39.56   w3wp.exe (0x5604)                         0x4FC4  SharePoint Server Search        Query                           dka5  High      SearchServiceApplicationProxy::Execute--Error occured: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Tried IMS endpoints for operation Execute: Cannot plan query for index system SPfb9d40f9a806. Index fragment '0' has no available cells. Cell statuses: [Cell I.0.0 on node IndexComponent1: Cell status is set to 'not available' (cell out of sync or seeding)] (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: Microsoft.SharePoint.SPException: Tried IMS endpoints for operation Execute: Cannot plan query for index system SPfb9d40f9a806. Index fragment '0' has no available cells. Cell statuses: [Cell I.0.0 on node IndexComponent1: Cell status is set to 'not available' (cell out of sync or seeding)]    ...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63549 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Server Search        Query                           dka5  High      ...at Microsoft.Office.Server.Search.Query.Ims.LoadBalancer.RoundRobinLoadBalancerContext.NextEndpoint(String operationName, String failMessage)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplication._ImsQueryInternalType.DoSpLoadBalancedImsOp[T](ImsBackedOperation`1 imsCall, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, String operationName)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplication._ImsQueryInternalType.Execute(QueryProperties properties, Guid ssaId)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Execute(QueryProperties prope...).  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63550 08/05/2013 16:54:39.56   w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            ahjq1  High      Exception occured in scope Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries. Exception=Microsoft.Office.Server.Search.Query.InternalQueryErrorException: Search has encountered a problem that prevents results from being returned.  If the issue persists, please contact your administrator.     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.ThrowGenericQueryException(String operationName)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoSpLoadBalancedUriWsOp[T](WebServiceBackedOperation`1 webServiceCall, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, String operationName)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoWebServiceBackedOperation[T](String oper...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63551 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            ahjq1  High      ...ationName, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, WebServiceBackedOperation`1 webServiceCall)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.Execute(QueryProperties properties)     at Microsoft.Office.Server.Search.Query.Query.ExecuteQuery()     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueryInternal(Query query)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQuery(Query query)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries(Dictionary`2 queries, Boolean handleExceptions)     at Microsoft.Office.Server.Search.Query.SearchExecutor.<>c__DisplayClass16.b__14()     at Microsoft.Office.Server.Search.Query.SearchExecutor.RunWithRemoteAPIsPermission[T](...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63552 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            ahjq1  High      ...Func`1 f)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries_Client(String[] queryIds, Query[] queries, Boolean handleExceptions)     at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.ExecuteQueries_MethodProxy(SearchExecutor target, XmlNodeList xmlargs, ProxyContext proxyContext)     at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63553 08/05/2013 16:54:39.56   w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            agmjp  High      Original error: Microsoft.Office.Server.Search.Query.InternalQueryErrorException: Search has encountered a problem that prevents results from being returned.  If the issue persists, please contact your administrator.     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.ThrowGenericQueryException(String operationName)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoSpLoadBalancedUriWsOp[T](WebServiceBackedOperation`1 webServiceCall, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, String operationName)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoWebServiceBackedOperation[T](String operationName, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, WebServiceBackedO...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63554 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            agmjp  High      ...peration`1 webServiceCall)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.Execute(QueryProperties properties)     at Microsoft.Office.Server.Search.Query.Query.ExecuteQuery()     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueryInternal(Query query)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQuery(Query query)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries(Dictionary`2 queries, Boolean handleExceptions)     at Microsoft.Office.Server.Search.Query.SearchExecutor.<>c__DisplayClass16.b__14()     at Microsoft.Office.Server.Search.Query.SearchExecutor.RunWithRemoteAPIsPermission[T](Func`1 f)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries_Clien...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63555 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            agmjp  High      ...t(String[] queryIds, Query[] queries, Boolean handleExceptions)     at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.ExecuteQueries_MethodProxy(SearchExecutor target, XmlNodeList xmlargs, ProxyContext proxyContext)     at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63556 08/05/2013 16:54:39.56   w3wp.exe (0x5604)                         0x4FC4  SharePoint Portal Server        Microfeeds                      aizmo  Medium    SocialRESTExceptionProcessingHandler.DoServerExceptionProcessing - SharePoint Server Exception [Microsoft.Office.Server.Search.Query.InternalQueryErrorException: Search has encountered a problem that prevents results from being returned.  If the issue persists, please contact your administrator.     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.ThrowGenericQueryException(String operationName)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoSpLoadBalancedUriWsOp[T](WebServiceBackedOperation`1 webServiceCall, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, String operationName)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoWebServiceBackedOperation[T](String operationName...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63557 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Portal Server        Microfeeds                      aizmo  Medium    ..., Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, WebServiceBackedOperation`1 webServiceCall)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.Execute(QueryProperties properties)     at Microsoft.Office.Server.Search.Query.Query.ExecuteQuery()     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueryInternal(Query query)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQuery(Query query)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries(Dictionary`2 queries, Boolean handleExceptions)     at Microsoft.Office.Server.Search.Query.SearchExecutor.<>c__DisplayClass16.b__14()     at Microsoft.Office.Server.Search.Query.SearchExecutor.RunWithRemoteAPIsPermission[T](Func`1 f)...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63558 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Portal Server        Microfeeds                      aizmo  Medium    ...     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries_Client(String[] queryIds, Query[] queries, Boolean handleExceptions)     at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.ExecuteQueries_MethodProxy(SearchExecutor target, XmlNodeList xmlargs, ProxyContext proxyContext)     at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)]  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63559 08/05/2013 16:54:39.56   w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           Monitoring                      b4ly  High      Leaving Monitored Scope (Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries). Execution Time=74.2895  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63560 08/05/2013 16:54:39.56   w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            2mxe  High      Got exception 'Microsoft.Office.Server.Search.Query.InternalQueryErrorException: Search has encountered a problem that prevents results from being returned.  If the issue persists, please contact your administrator.     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.ThrowGenericQueryException(String operationName)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoSpLoadBalancedUriWsOp[T](WebServiceBackedOperation`1 webServiceCall, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, String operationName)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoWebServiceBackedOperation[T](String operationName, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, WebServiceBackedOp...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63561 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            2mxe  High      ...eration`1 webServiceCall)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.Execute(QueryProperties properties)     at Microsoft.Office.Server.Search.Query.Query.ExecuteQuery()     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueryInternal(Query query)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQuery(Query query)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries(Dictionary`2 queries, Boolean handleExceptions)     at Microsoft.Office.Server.Search.Query.SearchExecutor.<>c__DisplayClass16.b__14()     at Microsoft.Office.Server.Search.Query.SearchExecutor.RunWithRemoteAPIsPermission[T](Func`1 f)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries_Client...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63562 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            2mxe  High      ...(String[] queryIds, Query[] queries, Boolean handleExceptions)     at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.ExecuteQueries_MethodProxy(SearchExecutor target, XmlNodeList xmlargs, ProxyContext proxyContext)     at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeMethod(Object obj, String methodName, XmlNodeList xmlargs, Boolean& isVoid)     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessMethod(XmlE...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63563 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            2mxe  High      ...lement xe)     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessOne(XmlElement xe)     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStatements(XmlNode xe)     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessExceptionHandlingScope(XmlElement xe)' when executing 'true'.  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63564 08/05/2013 16:54:39.56   w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            agmjp  High      Original error: Microsoft.Office.Server.Search.Query.InternalQueryErrorException: Search has encountered a problem that prevents results from being returned.  If the issue persists, please contact your administrator.     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.ThrowGenericQueryException(String operationName)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoSpLoadBalancedUriWsOp[T](WebServiceBackedOperation`1 webServiceCall, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, String operationName)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoWebServiceBackedOperation[T](String operationName, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, WebServiceBackedO...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63565 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            agmjp  High      ...peration`1 webServiceCall)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.Execute(QueryProperties properties)     at Microsoft.Office.Server.Search.Query.Query.ExecuteQuery()     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueryInternal(Query query)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQuery(Query query)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries(Dictionary`2 queries, Boolean handleExceptions)     at Microsoft.Office.Server.Search.Query.SearchExecutor.<>c__DisplayClass16.b__14()     at Microsoft.Office.Server.Search.Query.SearchExecutor.RunWithRemoteAPIsPermission[T](Func`1 f)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries_Clien...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63566 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            agmjp  High      ...t(String[] queryIds, Query[] queries, Boolean handleExceptions)     at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.ExecuteQueries_MethodProxy(SearchExecutor target, XmlNodeList xmlargs, ProxyContext proxyContext)     at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeMethod(Object obj, String methodName, XmlNodeList xmlargs, Boolean& isVoid)     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessMethod(Xml...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63567 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            agmjp  High      ...Element xe)     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessOne(XmlElement xe)     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStatements(XmlNode xe)     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessExceptionHandlingScope(XmlElement xe)  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63568 08/05/2013 16:54:39.56   w3wp.exe (0x5604)                         0x4FC4  SharePoint Portal Server        Microfeeds                      aizmo  Medium    SocialRESTExceptionProcessingHandler.DoServerExceptionProcessing - SharePoint Server Exception [Microsoft.Office.Server.Search.Query.InternalQueryErrorException: Search has encountered a problem that prevents results from being returned.  If the issue persists, please contact your administrator.     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.ThrowGenericQueryException(String operationName)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoSpLoadBalancedUriWsOp[T](WebServiceBackedOperation`1 webServiceCall, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, String operationName)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoWebServiceBackedOperation[T](String operationName...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63569 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Portal Server        Microfeeds                      aizmo  Medium    ..., Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, WebServiceBackedOperation`1 webServiceCall)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.Execute(QueryProperties properties)     at Microsoft.Office.Server.Search.Query.Query.ExecuteQuery()     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueryInternal(Query query)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQuery(Query query)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries(Dictionary`2 queries, Boolean handleExceptions)     at Microsoft.Office.Server.Search.Query.SearchExecutor.<>c__DisplayClass16.b__14()     at Microsoft.Office.Server.Search.Query.SearchExecutor.RunWithRemoteAPIsPermission[T](Func`1 f)...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63570 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Portal Server        Microfeeds                      aizmo  Medium    ...     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries_Client(String[] queryIds, Query[] queries, Boolean handleExceptions)     at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.ExecuteQueries_MethodProxy(SearchExecutor target, XmlNodeList xmlargs, ProxyContext proxyContext)     at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)     at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeMethod(Object obj, String methodName, XmlNodeList xmlargs, Boolean& isV...  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63571 08/05/2013 16:54:39.56*  w3wp.exe (0x5604)                         0x4FC4  SharePoint Portal Server        Microfeeds                      aizmo  Medium    ...oid)     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessMethod(XmlElement xe)     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessOne(XmlElement xe)     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStatements(XmlNode xe)     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessExceptionHandlingScope(XmlElement xe)]  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63572 08/05/2013 16:54:39.56   w3wp.exe (0x5604)                         0x4FC4  SharePoint Portal Server        Microfeeds                      aizmj  High      serviceHost_RequestExecuted  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
 63573 08/05/2013 16:54:39.56   w3wp.exe (0x5604)                         0x4FC4  SharePoint Foundation           CSOM                            agw11  Medium    End CSOM Request. Duration=85 milliseconds.  ef0e369c-1d6f-80a3-b6fd-c7ca2505f527
Get-SPEnterpriseSearchStatus tells me that the Index Component and the Partition is degraded:


PS C:\Windows\system32> $ssa = Get-SPEnterpriseSearchServiceApplication
PS C:\Windows\system32> Get-SPEnterpriseSearchStatus -Text  -SearchApplication $ssa
Name      : IndexComponent1
State     : Degraded
State     : List of degraded cells: Cell:IndexComponent1-SPeb9d40f9a806I.0.0;
Partition : 0
Host      : SPSRV

Name      : Cell:IndexComponent1-SPeb9d40f9a806I.0.0
State     : Degraded
State     : (Secondary index cell)
Primary   : False
Partition : 0

Name  : Partition:0
State : Degraded
State :
Degraded cells: Cell:IndexComponent1-SPeb9d40f9a806I.0.0;

Name  : AdminComponent1
State : Active
Host  : SPSRV

Name  : QueryProcessingComponent1
State : Active
Host  : SPSRV

Name  : ContentProcessingComponent1
State : Active
Host  : SPSRV

Name  : AnalyticsProcessingComponent1
State : Active
Host  : SPSRV

Name  : CrawlComponent0
State : Active
Host  : SPSRV

Solution:


Index reset + full crawl of all my content sources.



Tuesday, March 12, 2013

SharePoint PowerShell Create View Based on Existing View

The following PowerShell script crawls the specified lists, copies the fields from the All Items views and creates a new view named "Created By Me" and sets it as default. Tested with SharePoint 2010 but should work with 2013 as well. Tested with list but not with Document Libraries.

I used this script as a base.


$ver = $host | select version
if ($ver.Version.Major -gt 1) {$host.Runspace.ThreadOptions = "ReuseThread"} 
if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null) 
{
 Add-PSSnapin "Microsoft.SharePoint.PowerShell"
}

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") 

$web = Get-SPWeb -Identity "http://portal/sites/Requests"
$lists=$web.Lists["User Request", "Hardware Request",  "Employee Request"]
$SourceView="All Items"
$NewViewName="Created By Me"
$NewViewDefault=$true


foreach($list in $lists) {

 $view = $list.Views[$SourceView]
 $Viewfields = $list.Views[$SourceView].ViewFields.ToStringCollection()
 $viewRowLimit="100"
 $viewPaged=$true
 $viewDefaultView=$NewViewDefault

# Setting the Query for the View
 $viewQuery = ""
 $viewName = $NewViewName

# Finally – Provisioning the View
 $myListView = $list.Views.Add($viewName, $viewFields, $viewQuery, 100, $True, $False, "HTML", $False)

# You need to Update the View for changes made to the view
# Updating the List is not enough
 $myListView.DefaultView = $True
 $myListView.Update()
 $list.Update()
}

$web.Dispose()

Monday, February 18, 2013

Microsoft.Office.Web.Environment.Sharepoint.CacheCreationJob - Object reference not set to an instance of an object.

Problem


The Event Log of the SharePoint Server is reddish due to events occurring every 5 minutes:


Event Log Error:


Log Name:      Application
Source:        Microsoft-SharePoint Products-SharePoint Foundation
Date:          2/18/2013 7:00:01 PM
Event ID:      6398
Task Category: Timer
Level:         Critical
Keywords:     
Description:
The Execute method of job definition Microsoft.Office.Web.Environment.Sharepoint.CacheCreationJob (ID 8ea0b71c-08c4-4644-a0bc-c361c391bc45) threw an exception. More information is included below.
Object reference not set to an instance of an object.
Event Xml:
 
   
    6398
    14
    1
    12
    0
    0x4000000000000000
   
    355489
   
   
    Application
 
 
    Microsoft.Office.Web.Environment.Sharepoint.CacheCreationJob
    8ea0b71c-08c4-4644-a0bc-c361c391bc45
    Object reference not set to an instance of an object.
 

ULS Log:


3880        02/18/2013 19:05:00.04   OWSTIMER.EXE (0x0AA0)                     0x2C2C  SharePoint Foundation           Monitoring                      nasq  Medium    Entering monitored scope (Timer Job OfficeWebApplicationsCacheCreationJob)  1ad52fe0-5766-4a71-8991-e4aa0cb9b356
3881        02/18/2013 19:05:00.04   OWSTIMER.EXE (0x0AA0)                     0x2C2C  Office Web Apps                 Office Viewing Architecture     cu85  Medium    Cache Creation Job Starting [JobId: 8ea0b71c-08c4-4644-a0bc-c361c391bc45]  1ad52fe0-5766-4a71-8991-e4aa0cb9b356
3882        02/18/2013 19:05:00.04   OWSTIMER.EXE (0x0AA0)                     0x2C2C  Office Web Apps                 Office Viewing Architecture     cu86  Exception  Cache Creation Job encountered an exception [JobId: 8ea0b71c-08c4-4644-a0bc-c361c391bc45] System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request)     at Microsoft.SharePoint.SPSite.GetSPRequest()     at Microsoft.SharePoint.SPSite.get_Request()     at Microsoft.SharePoint.SPSite.get_Usage()     at Microsoft.Office.Web.Environment.Sharepoint.WacSharepointCacheOM.EnsureCacheSiteCollection(SPWebApplication webApp, Boolean elevateReturn, String ownerLogin, String ownerName, String ownerEmail)     at Microsoft.Office.Web.Environment.Sharepoint.WacSharepointCacheOM.EnsureCacheSiteCollection(SPWebApplication webApp)     at Microsoft.Office.Web.Environment.Sharepoint.CacheCreationJob.Execute(SPJo...  1ad52fe0-5766-4a71-8991-e4aa0cb9b356
3883        02/18/2013 19:05:00.04*  OWSTIMER.EXE (0x0AA0)                     0x2C2C  Office Web Apps                 Office Viewing Architecture     cu86  Exception  ...bState jobState)  1ad52fe0-5766-4a71-8991-e4aa0cb9b356
3884        02/18/2013 19:05:00.04   OWSTIMER.EXE (0x0AA0)                     0x2C2C  Office Web Apps                 Unified Logging Service         c91s  Monitorable  Watson bucket parameters: Office Web Apps, ULSException14, 52a97675 "office web apps", 0e00178d "14.0.6029.0", 1f65804a "microsoft.sharepoint", 0e0017ee "14.0.6126.0", 5021a68d "wed aug 08 02:36:45 2012", 000057b1 "000057b1", 01ab21e4 "01ab21e4", 4a6d3421 "nullreferenceexception", 63753836 "cu86"  1ad52fe0-5766-4a71-8991-e4aa0cb9b356
3885        02/18/2013 19:05:00.04   OWSTIMER.EXE (0x0AA0)                     0x2C2C  SharePoint Foundation           Timer                           6398  Critical  The Execute method of job definition Microsoft.Office.Web.Environment.Sharepoint.CacheCreationJob (ID 8ea0b71c-08c4-4644-a0bc-c361c391bc45) threw an exception. More information is included below.  Object reference not set to an instance of an object.  1ad52fe0-5766-4a71-8991-e4aa0cb9b356
3886        02/18/2013 19:05:00.04   OWSTIMER.EXE (0x0AA0)                     0x2C2C  SharePoint Foundation           Timer                           72ae  Unexpected  Exception stack trace:    at Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request)     at Microsoft.SharePoint.SPSite.GetSPRequest()     at Microsoft.SharePoint.SPSite.get_Request()     at Microsoft.SharePoint.SPSite.get_Usage()     at Microsoft.Office.Web.Environment.Sharepoint.WacSharepointCacheOM.EnsureCacheSiteCollection(SPWebApplication webApp, Boolean elevateReturn, String ownerLogin, String ownerName, String ownerEmail)     at Microsoft.Office.Web.Environment.Sharepoint.WacSharepointCacheOM.EnsureCacheSiteCollection(SPWebApplication webApp)     at Microsoft.Office.Web.Environment.Sharepoint.CacheCreationJob.Execute(SPJobState jobState)     at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerSer...  1ad52fe0-5766-4a71-8991-e4aa0cb9b356
3887        02/18/2013 19:05:00.04*  OWSTIMER.EXE (0x0AA0)                     0x2C2C  SharePoint Foundation           Timer                           72ae  Unexpected  ...vice, Int32& result)  1ad52fe0-5766-4a71-8991-e4aa0cb9b356
3891        02/18/2013 19:05:00.05   OWSTIMER.EXE (0x0AA0)                     0x2C2C  SharePoint Foundation           Monitoring                      b4ly  Medium    Leaving Monitored Scope (Timer Job OfficeWebApplicationsCacheCreationJob). Execution Time=14.8229  1ad52fe0-5766-4a71-8991-e4aa0cb9b356
3892        02/18/2013 19:05:00.05   OWSTIMER.EXE (0x0AA0)                     0x2C2C  SharePoint Foundation           Performance                     nask  Monitorable  An SPRequest object was not disposed before the end of this thread.  To avoid wasting system resources, dispose of this object or its parent (such as an SPSite or SPWeb) as soon as you are done using it.  This object will now be disposed.  Allocation Id: {ADFDB253-11D8-4E24-806E-DF9C81239608}  To determine where this object was allocated, set Microsoft.SharePoint.Administration.SPWebService.ContentService.CollectSPRequestAllocationCallStacks = true.  1ad52fe0-5766-4a71-8991-e4aa0cb9b356

The problem is the "Office Web Apps Cache Creation" SP Job tries to run every 5 minutes but fails for some reason. The Cleanup job also fails that is scheduled to run daily.


Solution


I tried without luck:
  • modifying the Cache DB's settings with Set-SPOfficeWebAppsCache
  • moving the Cache Db onto a different Content Database
  • removing the Word Viewing Service Application
  • stopping Excel Calculation Services, PowerPoint Service, Word Viewing Service
  • disabling and re-enabling the Office Web Apps Site Collection Feature

Then, I mounted the Office Web Apps ISO, and started a repair. Rebooted the server and good to go! No more errors.



UPDATE: Don't forget to run the SharePoint 2010 Products Configuration Wizard after the installation if your search doesn't work.