Category Archives: SharePoint

Can’t retract SharePoint timer job because the job "cannot be deserialized because it does not have a public default constructor"

If you forgot to include a default constructor in your timer job class, you will get the error below when activating the feature that installs the job: SharePointProject1.TimerJobs.TrackingTimerJob cannot be deserialized because it does not have a public default constructor. … Continue reading

Posted in SharePoint | Leave a comment

Properties missing from Visual Studio 2010 Intellisense..

Today I ran into a problem that made me think I was either blind, crazy.. or both. I created a new SharePoint 2010 project in Visual Studio 2010 and was trying to code against the SPSite.WebApplication property but it was … Continue reading

Posted in SharePoint, Visual Studio 2010 | Leave a comment

Intermittent "Object reference not set to an instance of an object" error when looping through SPListItemCollection

Today I ran into an issue where I intermitently get the following error when attempting to loop through a SPListItemCollection in a foreach loop: Object reference not set to an instance of an object. at Microsoft.SharePoint.Library.SPRequest.SetVar(String bstrUrl, String bstrName, String bstrValue) … Continue reading

Posted in SharePoint | Leave a comment

Can’t see Site Settings even if you are a Farm and Site Collection Administrator?

So today I needed to investigate certain settings of a site collection in our dev environment. I went to the web site but cannot see Site Settings in the Site Actions menu at all. I checked Central Admin and I am a … Continue reading

Posted in SharePoint | Leave a comment

Problem with Document Information Panel and SharePoint Lookup Columns

I have been troubleshooting an issue where Word 2007 could not open/load the Document Information Panel when a new document is created from SharePoint (MOSS 2007). The error message you’d get from Word is Document Information Panel cannot create a new, blank … Continue reading

Posted in Document Information Panel, Lookup Columns, SharePoint, Word 2007 | Leave a comment

Using Enterprise Library in SharePoint for Logging and Exception Management – Part 1

In this post I will detail how to make the Enterprise Library (EntLib) reads from config files other than the web.config so you can use the EntLib in your SharePoint application without having to modify the web.config of the SharePoint … Continue reading

Posted in Config, Enterprise Library, Exception Management, Logging, SharePoint | 1 Comment