Posted May 11th, 2011 by Eric Webb
Here’s a nice Powershell script to disable all notification emails in SharePoint 2010: http://vallery.net/2011/01/13/disable-email-notifications-in-sharepoint-2010/ As an added bonus, you can also disable all notifications from Newsgator as well.
Posted April 7th, 2011 by Eric Webb
Here’s a good series of articles about a really cool new feature of SharePoint 2010: http://www.harbar.net/articles/sp2010mt1.aspx
Posted March 30th, 2011 by Eric Webb
Something that should be built into .Net to begin with: http://jake.ginnivan.net/c-sharp-argument-parser
Posted March 28th, 2011 by Eric Webb
This is epic. Check out this exception handling base class for SharePoint webparts: http://andreascode.blogspot.com/2007/12/general-exception-handling-in-web-parts.html. No more wrapping try/catch blocks in every single webpart in your project. I love it!
Posted February 11th, 2011 by Eric Webb
I was having major issues getting the people picker to work in a one way trust scenario. Here is what helped me get it working: 1. Ensure that the AD trust is working correctly. This can be done in Active Directory Domains and Trust on the Domain Controller. 2. The Farm Account should be a [...]
Posted January 18th, 2011 by Eric Webb
Ran into an issue where a page layout that was being deployed as a feature was throwing an error when trying to create a new page: “Only Content controls are allowed directly in a content page that contains Content controls.” I looked at the layout in the solution file and it there was nothing but [...]
Posted November 12th, 2010 by Eric Webb
Here’s an easy way to get the server and instance name of the database server your SharePoint server is using. It’s very useful for constructing connection strings on the fly (hint, hint). public string FindSPSQLServerName() { String sServerName = “”; SPWebService service = SPFarm.Local.Services.GetValue<SPWebService>(); SPDatabaseServiceInstance s = service.DefaultDatabaseInstance; sServerName = s.Server.DisplayName + “\\” + s.Instance; [...]