4

I can't make "Site Feed" activated from Managed Site Features. It says

An unexpected error has occurred.

I get logs with

get-splogevent -starttime (get-date).addminutes(-1) | fl message > c:\errors.txt

Here is the error:

viewstatelog: Failed to write to the velocity cache

Edited:

I think I found the solution for this error. I write these commands at Powershell:

$instanceName ="SPDistributedCacheService Name=AppFabricCachingService"
$serviceInstance = Get-SPServiceInstance | ? {($_.service.tostring()) -eq $instanceName -and ($_.server.name) -eq $env:computername}
$serviceInstance.Provision()

But It says there is no available memory for Provision().

How can I clear cache?

2
  • What version of SharePoint are you using? Jan 16, 2013 at 16:00
  • Sharepoint 2013
    – e.ozmen
    Jan 17, 2013 at 6:12

2 Answers 2

1

Check out this post which will help you in fixing the error which I have faced before configuring the News Feeds in SharePoint 2013.

Site Feeds Error in SharePoint 2013

1
  • 2
    Hi @Maruthu and welcome to our site. When you post answers please remember to mention when you promote your own blog. The community tends to vote down overt self-promotion and flag it as spam. Post good, relevant answers, and if some (but not all) happen to be about your product or website, that’s okay. However, you must disclose your affiliation in your answers. Read about expected behaviour. Also remember that "link only answers" is of less use for our site, since links tend to die. Add a good summary of your answer and then link. Aug 20, 2013 at 8:28
1

You can use the PowerShell cmdlet Clear-SPDistributedCacheItem to clear your cache.

Clear-SPDistributedCacheItem -ContainerType DistributedLogonTokenCache

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.