Configuration Failed – Failed to connect to the configuration database: Error during decryption. Ensure the passphrase is correct.

Problem: Trying to add a server to SharePoint 2013 farm, after a passphrase reset. Got this error message.Configuration Failed Failed to connect to the configuration database:  An exception of type System.ArgumentException was thrown. Additional exception information: Error during decryption. Ensure the passphrase is correct. Troubleshooting: Double-checked my passphrase is correct. If my…

Read more

Change Page Layout in SharePoint 2013 using PowerShell

In a public internet SharePoint web site based on publishing site template, We got a requirement to update existing page layouts and create new ones. So, the development team created new page layouts, Updated existing Page layouts with required changes. Any page going to be created with these updated page layouts will…

Read more

Archive SharePoint Library Files into Sub-Folders using PowerShell

Requirement: We’ve a very large library with more than 20,000 files stored in the root of the document library without any sub-folders. Got to move files into Sub-folders to improve performance. Solution: We analyzed the library content and decided to move files into sub-folders based on file’s created date. Archive Files into…

Read more

Get SharePoint Documents Inventory Report with PowerShell

This PowerShell script generates detailed report on the given SharePoint library’s inventory in addition with its storage data. The output report contains: File Name File Size(KB) Versions Size(KB) Total File Size(KB) Created on Last Modified Created by Parent Folder URL SharePoint Document Library Inventory using PowerShell If you want to generate an…

Read more

Some Farm Products and patches were not detected on this or other servers – Fix

After patching a SharePoint 2013 Farm, attempted running the SharePoint Products configuration wizard and receive this error message: “Error: Some farm products and patches were not detected on this or other servers.  If products or patches are missing locally, you must quit this program and install the required products and patches on…

Read more

SharePoint Active Directory Group Membership Sync Problem and Solution

Problem: SharePoint AD group membership permission changes are not reflecting immediately. Active directory group users get access denied in SharePoint! In a SharePoint site where users are managed from AD security groups, newly added members to Active Directory security groups couldn’t access SharePoint sites immediately. But the next day, they are able…

Read more

Set SharePoint Application Pool Recycle Time

By design application pools in IIS are restarted once per every 29 hours to provide best performance and stability. The very first user access SharePoint after app pool recycle will experience considerable delay, as .net assemblies needs to be recompiled to the memory. So, we use Warm-up scripts for SharePoint 2013 to…

Read more

Expand Collapse SharePoint Web Parts using jQuery

Requirement: Expand Collapse SharePoint list view web parts in Home page. Solution: We can implement Expand collapse functionality in SharePoint 2013 using jQuery. Here is how to expand/collapse web parts in SharePoint using jQuery. Just grab the IDS of List view web part (WebPartWPQ3) and Web part header (in my case: WebPartTitleWPQ3)…

Read more