..:: I like SharePoint ::.. Rotating Header Image

Administration

What to do if SharePoint Database is in compatibility range and upgrade is recommended

If you see the message “Database is in compatibility range and upgrade is recommended” in the central administration (Upgrade and migration part) then you might have done an update of the SharePoint version. Often it is the BDC Database.  See also: http://daniecsp.blogspot.de/2013/10/sp2013-database-is-in-compatibility.html

Run the powershellscript:



(Get-SPDatabase | ?{$_.type -eq "Microsoft.SharePoint.BusinessData.SharedService.BdcServiceDatabase"}).Provision()


Hope it helps you.

SharePoint Event-ID 8321 How to fix

The error comes about every 5 minutes. It is a topology error which says:

A certificate validation operation took 15011,3324 milliseconds and has exceeded the execution time threshold.  If this continues to occur, it may represent a configuration issue.  Please see http://go.microsoft.com/fwlink/?LinkId=246987 for more details.

The solution i found in a KB article of microsoft:

http://support.microsoft.com/kb/2545744



$rootCert = (Get-SPCertificateAuthority).RootCertificate
New-SPTrustedRootAuthority <i>-Name</i> "localNew" <i>-Certificate</i> $rootCert


Hope it helps you.

SharePoint Event-ID 2137 and 6398 How to fix

The error is the following one with Event ID 2137 Health:

The SharePoint Health Analyzer detected an error.  Distributed cache service is not enabled in this deployment.
Distributed cache service is not running in this deployment.
Turn on the Distributed cache service. For more information about this rule, see “http://go.microsoft.com/fwlink/?LinkID=262656“.

I found a solution here: http://technet.microsoft.com/en-us/library/jj891121.aspx

But i did some more steps cause my CacheHost was null. You can check it by using Powershell with Get-CacheHost.

So i ran this powershell which i found here:



Remove-SPDistributedCacheServiceInstance

#first Delete
$SPFarm = Get-SPFarm
$cacheClusterName = "SPDistributedCacheCluster_" + $SPFarm.Id.ToString()
$cacheClusterManager = [Microsoft.SharePoint.DistributedCaching.Utilities.SPDistributedCacheClusterInfoManager]::Local
$cacheClusterInfo = $cacheClusterManager.GetSPDistributedCacheClusterInfo($cacheClusterName);
$instanceName ="SPDistributedCacheService Name=AppFabricCachingService"
$serviceInstance = Get-SPServiceInstance | ? {($_.Service.Tostring()) -eq $instanceName -and ($_.Server.Name) -eq $env:computername}
if([System.String]::IsNullOrEmpty($cacheClusterInfo.CacheHostsInfoCollection))
{
$serviceInstance.Delete()
}

#then create new

$SPFarm = Get-SPFarm
$cacheClusterName = "SPDistributedCacheCluster_" + $SPFarm.Id.ToString()
$cacheClusterManager = [Microsoft.SharePoint.DistributedCaching.Utilities.SPDistributedCacheClusterInfoManager]::Local
$cacheClusterInfo = $cacheClusterManager.GetSPDistributedCacheClusterInfo($cacheClusterName);
$instanceName ="SPDistributedCacheService Name=AppFabricCachingService"
$serviceInstance = Get-SPServiceInstance | ? {($_.Service.Tostring()) -eq $instanceName -and ($_.Server.Name) -eq $env:computername}
if([System.String]::IsNullOrEmpty($cacheClusterInfo.CacheHostsInfoCollection))
{

Add-SPDistributedCacheServiceInstance
$cacheClusterInfo.CacheHostsInfoCollection
}


It often has also to do with the Event ID 6398:

The Execute method of job definition Microsoft.Office.Server.UserProfiles.LMTRepopulationJob (ID 1fcb7a10-9764-45e2-b9bf-c00760c52081) threw an exception. More information is included below.
Unexpected exception in FeedCacheService.IsRepopulationNeeded: Unable to create a DataCache. SPDistributedCache is probably down.

I found also the same situation here.

After that the errors disappeared. Hope it helps you.

SharePoint 2013 Service Pack 1 – uncovered an issue

Microsoft published this message:

Notice

We have recently uncovered an issue with this Service Pack 1 package that may prevent customers who have Service Pack 1 from deploying future public or cumulative updates. As a precautionary measure, we have deactivated the download page until a new package is published.

http://support.microsoft.com/kb/2817429/en-us

Tobias Zimmergren has some more infos on that topic written down.

An Update will come sooner or later. So it might be better to wait for the update before installing it.

SharePoint 2013 Service Pack 1 is released

Yesterday the SharePoint 2013 SP1 (Service Pack) is released. You’ll find the downloads in this KB-Article.

The description is here. It includes the following:

  • Previously unreleased fixes that are included in this service pack. In addition to general product fixes, these fixes include improvements in stability, performance, and security.
  • All the monthly security updates that were released through January 2014, and all the Cumulative Updates that were released through December 2013.