Troubleshooting

Find and remove missing features, the PowerShell way

I do SharePoint updates and migrations since a long time and one of the most annoying error I often get is the "Missing feature". Searching the web you will find a lot of posts that show how to find the missing feature details by querying the content database. Most of them warn about the fact that querying SharePoint database is non supported by Microsoft (ref. https://support.microsoft.com/en-us/help/841057/support-for-changes-to-the-databases-that-are-used-by-office-server-pr). You could create a database snapshot and query against it or you could use 3rd party tools, but if none of these fit your needs you could try the PowerShell way.

Read More

Posted by Riccardo in PowerShell, Troubleshooting, updates
Avoid common mistakes updating SharePoint Distributed Cache Service

Avoid common mistakes updating SharePoint Distributed Cache Service

A few months ago Wictor Wilen (@wictor) wrote a great blog post about how to properly patch the Distribute Cache Service. Even if I did it so many times I still look at Wictor’s post for reference every time I have to install software updates for DC.

In the past weeks I get into some issue that I think it could be useful to share. First, encoding. coping and pasting the following three line of configuration from the web page to the DistributedCacheService.exe.config file something went wrong with the encoding. Continue reading →

Posted by Riccardo in SharePoint 2013, Troubleshooting, updates, 0 comments

An update conflict has occurred

Nei giorni scorsi Trevor Seward (@NaupliusTrevor) ha pubblicato un articolo molto interessante che consiglio a tutti: What is the SharePoint Configuration Cache. Questo post mi ha dato lo spunto per parlare di un errore che ultimamente ho riscontrato di frequente.

L’errore in questione è il seguente e, come si intuisce anche dal messaggio, è il risultato di una delle possibili cause di fallimento del Configuration Wizard.

An exception of type Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException was thrown. Additional exception information: An update conflict has occurred, and you must re-try this action. The object SPUpgradeSession Name=Upgrade-20120310-130057-953 was updated by XXXX\svcSP_Farm, in the PSCONFIG (5168) process, on machine APP01. View the tracing log for more information about the conflict.

Continue reading →

Posted by Riccardo in SharePoint 2013, stsadm, Troubleshooting, 0 comments

Configuration Cache e Managed Property

Oggi mi sono scontrato con un problema fastidioso che ad un certo punto mi ha fatto dubitare di tutte le mie certezze in tema di Enterprise Search.

In una farm SharePoint 2013 ho creato “n” managed properties che avrei dovuto utilizzare unicamente come filtri espliciti (property restriction), ad esempio SPContentType:Documento.

Una volta definite le managed properties come queryable ed eseguito il Full Crawl del sito mi aspettavo di non aver alcun problema nell’esecuzione di una ricerca, ma così non è stato. Le ricerche non restituivano alcun risultato. Ho confrontato le impostazioni delle mie managed property con una analoga Out-Of-The-Box; tutto preciso. Peccato solo che le ricerche a fronte di  quella OOTB funzionasse e utilizzando le mie no, 0 results. Continue reading →

Posted by Riccardo in search, SharePoint 2013, Troubleshooting, 0 comments