SharePoint 2007

Debugging SharePoint 2007 Customer Timer Jobs–The easy way

When debugging your custom SharePoint 2007 Timer Jobs you don’t necessarily need to attach to the OWSTimer process. All the blogs and information I have found out there on the interwebs suggest two options Attach your Timer Job code to the OWSTimer process and then wait for the job to…

Opening InfoPath Browser Forms as Anonymous Users -UnauthorizedAccessException

I came across this issue yesterday when trying to work out why an InfoPath form that I had published wasn’t working. The Site Collection that I deployed the form to had been configured for Anonymous access. When trying to open the form in the browser it failed to load –…

SharePoint Doc Lib ‘Open with Windows Explorer’ not working in Server 2008 R2

  I had this problem today in my dev VM, when clicking the ‘Open with Windows Explorer’ link on a doc lib nothing happened. It seems to get it working in Server 2008 R2 you need to install the ‘Desktop Experience’ feature – once installed and rebooted it works like…

Accessing a SharePoint site by IP Address – Alternate Access Mappings!

  If you want to access a SharePoint site remotely be it WSS, 2007 or 2010 by using the IP address then you will need to configure the Alternate Access Mappings correctly. This caught me out today when trying to access a SharePoint 2010 site remotely, each time I went…

SharePoint 2007 ‘Task’ Managed Properties not appearing in Search Results

I am currently working on a web part which uses the SharePoint Search API and a FullTextSqlQuery to retrieve a list of the current user’s tasks rolled up across Site Collections. The web part was working great until I noticed that the Status, Start Date & Due Date were not…

What are Web Application Scoped resources in SharePoint?

I’ve just been working with some colleagues to fix a WSP which was failing when deployed time with the following error message: ‘The solution does not contain any resources scoped to a particular web application’ Whilst looking at the solution we could not see any features that were scoped to…

Themes Gallery missing in SharePoint 2010 Site after Visual Upgrade

Recently while working with one of my colleagues (Renzo) to migrate a SharePoint 2007 content database to SharePoint 2010 we came across this issue. After migrating the content database we could successfully access the site in SharePoint 2007 mode (UI version 3) and it was using the custom theme. I…

Ajax Control Toolkit Accordion not behaving in SharePoint 2007

  If like me you have tried to get the the Ajax Accordion control from the AJAX Control Toolkit (http://www.asp.net/(S(fu2l2uzphr2u3u45q2dnez55))/ajax/AjaxControlToolkit/Samples/) to work in SharePoint you may have failed or gave up. I could get the accordion to display in my web part but clicking on another accordion pane would not…

BeforeProperties/AfterProperties in Event Receivers – I always forget this

  I always forget this and when I come to create a new SharePoint Event Receiver I wonder why the BeforeProperties or AfterProperties are sometimes not populated. The Synergy MOSS blog has a really good post describing exactly what properties will contain a hash table and which will be empty…

SharePoint Feature Receiver Error ‘The EXECUTE permission was denied…’

I got this error this morning when trying to activate a web feature in a site collection. It turns out that this is because the application pool running the web application (in my case ‘Network Service’) does not have the required permissions to run some SharePoint SQL stored procedures within…