SharePoint Resource

The latest insights from the SharePoint Experts

Archive for the ‘SharePoint 2010’ Category

Exporting the Search Crawl Logs

Posted by Gary Powell-Jones on July 21, 2011

The SharePoint search logs can be powerful, highlighting issues either in the search configuration or content. These are displayed within the browser, but sometimes you need to run deeper analysis on the SharePoint search crawl logs.
There is no built-in way (that I know of) to export the crawl log, but PowerShell can help us.

Below is a simple script to do this. The script will obtain all of the error codes, itterate them, gather the logs for the error code & then finally export everything to a csv file.
Note that this script excludes error codes 0 & 1 ( success and deletes) as I only wanted to look at errors.


# Change the name of the Search Service to that in use on the server
$ssa = Get-SPEnterpriseSearchServiceApplication | Where-Object {$_.Name -eq "Search Service"}
$logViewer = New-Object Microsoft.Office.Server.Search.Administration.Logviewer $ssa
$ErrorList = $logViewer.GetAllStatusMessages() | Select ErrorId
Foreach ($errorId in $ErrorList)
{
If ($errorId.errorId -eq 0 -or $errorId.errorId -eq 1)
{
}
else
{
$crawlLogFilters = New-Object Microsoft.Office.Server.Search.Administration.CrawlLogFilters
$crawlLogFilters.AddFilter(“MessageId”, $errorId.errorId)
"Processing Error Code : " + $errorId.errorId
$startNum = 0
$errorItems += $logViewer.GetCurrentCrawlLogData($crawlLogFilters, ([ref] $startNum))
Write-Host "Processing $startNum"
WHILE($startNum -ne -1){$crawlLogFilters.AddFilter(“StartAt”, $startNum);$startNum = 0;$errorItems += $logViewer.GetCurrentCrawlLogData($crawlLogFilters, ([ref] $startNum));Write-Host "Processing $startNum";
}
}
}
$errorItems | Export-CSV crawllog.csv

Posted in Powershell, SharePoint 2010, SharePoint Deployment, SharePoint Search | Leave a Comment »

Novotronix Selected for Development of Authority Parent Portal

Posted by Steve Jones on June 9, 2011

We are pleased to announce that Novotronix have been awarded a project to develop parental portals for schools as part of a local authority project.  The Sharepoint based portals will enable schools to improve communications with their parents and allow students to demonstrate examples of their work.

More details to follow shortly…

Posted in General, SharePoint 2010, SharePoint Customisation, SharePoint Development | Leave a Comment »

Configuring the User Profile Service in Central Administration

Posted by Gary Powell-Jones on May 11, 2011

Details on how to configure the User Profile service using Central Administration. Ordinarily we would advocate congifuring this as part of an automated installation process, or at least using using PowerShell. However, we have been requested about details on how to do it using Central Administration.

Read the rest of this entry »

Posted in SharePoint 2010, SharePoint Deployment | Leave a Comment »

Automating the installation of SharePoint

Posted by Gary Powell-Jones on April 8, 2011

We strongly subscribe to the principal of automating the installation of SharePoint within any environment. We quite often get asked as to why this is so important to us, so this article aims to give some reasons behind this.
Read the rest of this entry »

Posted in SharePoint, SharePoint 2010, SharePoint Deployment | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 48 other followers