Powershell: Reactivating feature Across All SharePoint Sites

This script may save the day if you have a feature that is activated across many site collections and there happens to be an update to the feature requiring re-activation to have updates occur. The below script will loop through all sites within a web application and will reactivate (feature must already be turned on) the feature with matching ID. Credit for feature activation check goes to Raevean Note: Code...

SharePoint 2013: Server Error in ‘/’ Application. Value does not fall within the expected range.

This is just a dump of some notes I took during a typical SharePoint escapade. In this situation I was deploying a web template or feature related to page layouts. If the below seems similar to your case, this may help. Errors Server Error in ‘/’ Application. Value does not fall within the expected range. Exception Details: System.ArgumentException: Value does not fall within the expected range. [ArgumentException: Value does not...

Solved: Issue Activating Feature through Powershell Enable-SPFeature

I needed to get a site collection feature activated through Powershell. Using Enable-SPFeature allows this to happen. I gave it a go: Enable-SPFeature -identity “My Feature Name” -URL http://www.mysite.com/ Enable-SPFeature : The Feature is not a Farm Level Feature and is not found in a Site level defined by the Url http://www.mysite.com/. At line:1 char:1 + Enable-SPFeature -identity “My Feature Name” -URL http://www.mys … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~     + CategoryInfo         ...

SharePoint: 403 Forbidden on Feature Activation & Forms Based Authentication

This is only a temporary workaround solution. I recently had a problem with activating a very large feature in a project. I was being greeted with a 403 Response – Forbidden when trying to activate a site collection feature. I noticed that this only occurred when I had used a Forms Based Authentication (FBA) User. Seeing as how this was the only login at the time the quick thing that...

SharePoint Fix: The breakpoint will not currently be hit. No symbols have been loaded for this document.

A frequent problem that occurs to me while developing within SharePoint is the fact that my debugger refuses to catch events, often indicated by empty circles on the breakpoints pane. Usually the cause is always different, so I’ve started logging fixes and have a checklist for quick reference if this occurs. The SharePoint Debugger Fix List: Verify VS project site URL. You ARE deploying to where you think you are,...

February 22, 2015 | No Comments

Figuring Out Your Current TFSA Contribution Limit the Easy Way

I have had time to catch up with getting the most out of my savings, it had been over a year since I had touched my Tax Free Savings Account (TFSA). Thankfully I found a quick and easy way to find out your contribution limit from the beginning of the current year. To find out what my contribution room was I simply used Quick Access, an online tool provided by...

October 5, 2014 | No Comments

Why SharePoint Thinks your WebPart Could Not be Found Or Not Registered as Safe

I have been getting back into SharePoint 2010/2013 development, and already I had flashbacks to when I had worked with 2003 and 2007 when I received errors about my ‘unsafe webpart’. This actually seemed to be a regular occurrence, particularly when changing namespaces or assembly details. I set out to get to the bottom of this, and remembered some old tricks from before that helped in creating this troubleshooting guide....