SharePoint Patchify – Apply CU patch to entire farm from one PowerShell console

Description SharePoint Patchify – Apply CU patch to entire farm from one PowerShell console. SWEET!! NOTE May need to run Enable-PSRemoting and Enable-WSManCredSSP -Role Server on all farm servers to allow PowerShell remoting before running this script. Business Challenge Long downtime Late staff hours Inconsistent procedures Technical Solution Supports SharePoint 2010, 2013, and 2016 Auto detect farm Copy EXE… Continue reading SharePoint Patchify – Apply CU patch to entire farm from one PowerShell console

SharePoint Server 2016 : Loading this assembly would produce a different grant set from other instances

Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileLoadException: Loading this assembly would produce a different… Continue reading SharePoint Server 2016 : Loading this assembly would produce a different grant set from other instances

Restore-SPSite : 0x80070003

I got this error when trying to do Restore-SPSite on a SharePoint Farm that did not match the schema version of the backed-up Site Collection. After installing the correct CU to my target environment the Restore-SPSite worked without issues. Found this in the ULS log to pinpoint the issue : Microsoft.SharePoint.SPException: Schema version of backup 15.0.4617.1000 does… Continue reading Restore-SPSite : 0x80070003

Unexpected error occurred in method ‘GetObject’ , usage ‘SPViewStateCache’

Sometimes working on a DEV server runs into some unexpected features.  Like bad performance.  Sometimes the bad performance leads to bonus features in the error logs. This one started popping up in the ULS viewer: Unexpected error occurred in method ‘GetObject’ , usage ‘SPViewStateCache’ – Exception ‘Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0018>:SubStatus<ES0001>:The request timed out.. However, it’s a simple… Continue reading Unexpected error occurred in method ‘GetObject’ , usage ‘SPViewStateCache’

Disable Loop Back Check in Windows Server

Microsoft has introduced a security feature in 2003 Server to prevent attacks on Windows servers. This feature will prevent a web application access from the host server with a fully qualified domain name. During the SharePoint installation this is one of the issues that needs to be addressed. There are two approaches to disable loop… Continue reading Disable Loop Back Check in Windows Server

The program w3wp.exe, with the assigned process ID, could not authenticate locally by using the target name HTTP/WEBSITENAME

You may face this error when you are running your development environment on virtual server where you have also configured alternate access URL-s.The full message is something like this: “The program w3wp.exe, with the assigned process ID, could not authenticate locally by using the target name HTTP/WEBSITENAME. The target name used is not valid. A target… Continue reading The program w3wp.exe, with the assigned process ID, could not authenticate locally by using the target name HTTP/WEBSITENAME

Configure AD FS 3.0 with SharePoint 2013

First you need to install ADFS server 3.0, if don’t know how, follow this tutorial http://blogit.create.pt/miguelmoreno/2014/11/14/installing-adfs-on-windows-server-2012-r2/ Configure relay party on ADFS Start server manager, click on tools, AD FS Management. On the right pane select Add Relying Party Trust. Have the welcome to the wizard, click start button. Select the option “Enter data about the relying party… Continue reading Configure AD FS 3.0 with SharePoint 2013