Rename a Service Application’s database using PowerShell
While setting up a SharePoint 2013 DR environment I needed to script the renaming of databases used by service applications. Utilising the Get-SPServiceApplication cmdlet I was able to achieve this with just three lines: $sa = Get-SPServiceApplication -Name “Managed Metadata…
SharePoint 2013 logs growing by several GB per day
I have received an alert from our monitoring system for one of the Web Front End servers in my SharePoint 2013 farm running low on disk space. A quick check revealed that the log folder was fast filling up (in fact…
The search service is not able to connect to the machine that hosts the administration component
I have discovered a problem with the Search Service Application in my DR farm. Any query in the Enterprise Search Centre produces an error: Search has encountered a problem that prevents results from being returned. If the issue persists, please…
SharePoint 2013 – hide the suite links box using CSS
I have been asked if it is possible to hide the Yammer, OneDrive and Sites links at the top of a particular site (without disabling them completely): An easy way to achieve this is by placing a Script Editor web…
SharePoint 2013 – hide the page name
Sometimes I find that the page name at the top of a page in SharePoint gets in the way, especially on wiki pages: This can be hidden using some custom CSS in a Script Editor web part: <style>#DeltaPlaceHolderPageTitleInTitleArea{ display: none;…
Installing prerequisites for SharePoint 2016
As with all previous versions of SharePoint one must install a variety of software before SharePoint itself can be installed. I’ve created the following list for my own reference but hopefully others will benefit from it too: Microsoft .NET Framework 4.6.2…
SharePoint 2013 – create a new eDiscovery Centre
An eDiscovery site can be used to search for, preserve and export content in SharePoint, Exchange or Skype for Business (formerly known as Lync). To create a new site collection for eDiscovery just follow these simple steps: Log in to…
Create a new site template
Creating new sites from a template can be a real time saver, especially if you want them all to have the same layout or include specific content (such as folder structure, document templates, etc). Creating a new template takes only…
Excel Services is not currently able to load workbooks
If you find that Excel Services is not able to load workbooks in your SharePoint site then this may be due to insufficient permissions. You may also see the following error in your logs: System.Data.SqlClient.SqlException: Cannot open database “SP2013_Content_Portal” required…
Recreate the sitemap in the configuration database
I have just installed the latest cumulative update on the servers in my SharePoint 2013 DR farm. Unfortunately, after installing the binaries, running the products configuration wizard failed. After looking through the logs it became evident that the site map…