Powershell: Adding Forms Based Authentication (FBA) Users in Bulk Format To Sites

Posted Thursday, 26 March, 2015 by Administrator in Uncategorized

Adding users to SharePoint sites that are Active Directory users is a common task, however I couldn’t find much when I needed to get claims based FBA users added. I found out that the trick is to prefix users with the membership provider name. i.e. corporate/admin may become i:0#.f|myMembership|admin Putting Powershell to use I was […]

Powershell: Reactivating feature Across All SharePoint Sites

Posted Thursday, 26 March, 2015 by Administrator in Uncategorized

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) […]

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

Posted Friday, 20 March, 2015 by Administrator in Microsoft, SharePoint, Software

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. […]

SharePoint 2013 Iterating Through WebParts On Separate Page

Posted Friday, 20 March, 2015 by Administrator in Applications, Microsoft, SharePoint, Software

Some code I found from awhile back that may help others if they need to get the web part from a page that is not the current page. This will need to be adjusted however right now it shows how to open the Page in a way to get the web part manager, then test […]

SharePoint: Writing text to file (Quick Snippet)

Posted Friday, 20 March, 2015 by Administrator in Microsoft, SharePoint, Software

Anyone looking to do a quick write to file from a web part or another piece of SharePoint code is not much different than in regular C# application programming. Be sure to include System.IO as well or you will have compile errors.

Powershell: Updating Files Within Lists Accross All Sites

Posted Friday, 20 March, 2015 by Administrator in Applications, Microsoft, Scripting and Automation, SharePoint

A frequent issue with updates to code post deployment is handling updates to files across many sites. Below is code I devised to recurse all sites and update _catalogs folder on each root web. Adjust according to your needs!   Hope this helps anyone in the same bind

Solved: Issue Activating Feature through Powershell Enable-SPFeature

Posted Thursday, 19 March, 2015 by Administrator in Microsoft, Scripting and Automation, SharePoint, Software

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 […]

SharePoint: 403 Forbidden on Feature Activation & Forms Based Authentication

Posted Thursday, 19 March, 2015 by Administrator in Microsoft, Scripting and Automation, SharePoint, Software

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. […]

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

Posted Sunday, 22 February, 2015 by Administrator in Microsoft, SharePoint

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 […]

Figuring Out Your Current TFSA Contribution Limit the Easy Way

Posted Sunday, 5 October, 2014 by Administrator in Uncategorized

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 […]

Copyright © 2002-2015
Tech Bloggings