SharePoint Views

Month: January 2015

PowerShell script to perform IISRESET on all servers in SharePoint Farm

This is a handy PowerShell script to have for every SharePoint admin. I’m sure, most of you have already had something like this. This script is used to Reset all the Servers in SharePoint farm one after other without logging into each and every server. This comes handy during maintenance or in your Development environment…

PSConfig error at step 3 of 4. Cannot upgrade SharePoint database

PSConfig is failing at step 3 of 4, Cannot upgrade SharePoint database. It is failing to upgrade SharePointSearchAdmin database, throwing an Exception: User does not have permission to perform this action Here is the complete error description found in logs at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)…

SharePoint Configuration Wizard – Error: Some farm products and patches were not detected on this or other servers

Faced this issue after updating SharePoint 2013 farm with December CU 2014. Tried running psconfig and several other things. SharePoint keeps on thinking that some of the binaries are not installed on some of the servers in the farm. Gives you a list of updates missing on servers. “Error: Some farm products and patches were…

SharePoint 2013 Search components & topology info

If you are looking to find details about already configured SharePoint 2013 Search components like information about what component is running in what server, topology id, log file location etc., we can use the following PowerShell script to find that. $ssa = Get-SPServiceApplication –Name “Search Service Application” $active = Get-SPEnterpriseSearchTopology -SearchApplication $ssa -Active Get-SPEnterpriseSearchComponent -SearchTopology…

An update conflict has occurred, and you must re-try this action. PSConfig error – SharePoint 2010/2013

This is one of the many errors I ran into while upgrading SharePoint 2013 farm. 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 was updated by Domain\FarmAccount, in the PSCONFIG (7732) process, on machine Server01. View the tracing…