Monthly Archives: May 2010

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