SharePoint 2013: How to Fix Central Administration Taking Forever to Load

For quite some time now it would take several minutes for our Central Admin to load up once opened, I decided to spend a bit of time and see what I could find to improve it.

Turned out the fix was very simple if a tad confusing as it was supposedly fixed during a cumulative update to SharePoint in August of 2012 (not that it should matter in this case)

Continue reading “SharePoint 2013: How to Fix Central Administration Taking Forever to Load”
Advertisement

SharePoint 2013 – PowerShell Script to Move all Documents Between Libraries

I recently had a requirement to move all the contents of a document library to another library and anybody that has had the displeasure of having to move files in SharePoint knows what a pain that can be.

To make matters worse, due to the specific setup I was dealing with the ‘Content & Structure’ tool was a non-option as it wasn’t functioning correctly and there were a large number of nested folders in the source library. Luckily this gave me the chance to use one of my favourite power tools – PowerShell.

This article contains a script which will copy all contents of a single library to another library,  by using the built-in MoveTo command where possible so no data is lost or by copying if the source and target libraries are in different site collections.

Continue reading “SharePoint 2013 – PowerShell Script to Move all Documents Between Libraries”

SharePoint 2007/2010/2013 – Workflows Failing with ‘Failed to Start’ Error

We recently updated our SharePoint instance with the latest update and realised that suddenly all of our workflows were starting to throw a ‘Failed to Start’ status, which upon further investigation, it was found that we were seeing the following error in the SharePoint ULS Logs –

Type System.CodeDom.CodeBinaryOperatorExpression is not marked as authorized in the application configuration file.

Continue reading “SharePoint 2007/2010/2013 – Workflows Failing with ‘Failed to Start’ Error”

SharePoint/Project Server 2013 – How to Archive Completed Projects

This article will cover segregating projects by status so that it is easy to only see active projects or completed projects etc, although I will cover creating fields and views which will be useful to some. I would like to thank Andre’s Microsoft ECM Blog and specifically, the ‘Archiving completed projects in Project Server 2010 or 2013’ post which covered these steps.

If you’ve found this article then you will likely need to follow the first three sections below to get everything set up as required. Once that’s done though you may use the last section – “Archiving Projects” to archive future projects.

Continue reading “SharePoint/Project Server 2013 – How to Archive Completed Projects”

SharePoint – Update-SPProfilePhotoStore UserProfileApplicationNotAvailableException Error

SharePoint’s method for updating user profile pictures can’t exactly be classed as the most straightforward process and I’ve seen a few issues with it over time.

In this article, I will cover the UserProfileApplicationNotAvailableException error and how to resolve it.

Continue reading “SharePoint – Update-SPProfilePhotoStore UserProfileApplicationNotAvailableException Error”

SharePoint 2013 – Contributor Doesn’t have Access to Add Scriptable Web parts

You would normally expect a user with Contribute access to be able to add web parts to pages and the likes in SharePoint but this isn’t always the case depending on your current security settings in the SharePoint Central Admin.

This is a problem I came across recently and here’s how I fixed it. Continue reading “SharePoint 2013 – Contributor Doesn’t have Access to Add Scriptable Web parts”

SharePoint 2013 – How to Automatically Remove Disabled Active Directory Users

I’ve recently had a requirement to remove disabled Active Directory users from our SharePoint deployment so that organograms and the likes are correct. As part of this, I’ve been looking at the options available in SharePoint and stumbled upon a method that should automatically maintain our SharePoint deployment.

Continue reading “SharePoint 2013 – How to Automatically Remove Disabled Active Directory Users”

SharePoint: “HTTP 400 Bad Request (Request header too long)” Error Fix

I recently came across this issue on our internal SharePoint deployment and tried a few things to fix it without success. Initially, I thought it may be to do with the sheer quantity of Active Directory groups I was a member of, however after reducing the number of groups I was a part of there didn’t appear to be any change in the issue.

After looking around and attempting a few fixes I finally came across why the issue occurs and how to fix it. I’ll cover all of this in this article.

Continue reading “SharePoint: “HTTP 400 Bad Request (Request header too long)” Error Fix”

SharePoint – Enabling Versioning and Version History in all Document Libraries using PowerShell

The script below can be used in order to enable versioning in all SharePoint document libraries and also to set how many major versions to retain and how many minor versions to maintain.

it’s important to keep in mind when choosing how many minor versions to retain that the setting actually specifies how many ‘Major Versions’ drafts’ should be retained and not a hard limit on how many ‘draft versions’ will be kept.

Continue reading “SharePoint – Enabling Versioning and Version History in all Document Libraries using PowerShell”