Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » WSS 2.0 » Coding tips   (RSS)

HowTo: Create a quizzing application with SharePoint 2007

With SharePoint 2007 "Survey" list template, I recently created a quizzing application. The thing with survey list is that it stack ranks the questions taking into account how many of the respondents favored each options within that question. But for

What permissions are behind the permission levels (roles) in SharePoint

Recently, I was involved in a support request where I had to find out what SPBasePermissions are assigned behind permission level in SharePoint using SharePoint OM code. First some basics about permission level and base permissions. If you are in your

"The security validation for this page is invalid" error when updating objects through SharePoint object model

This error is often encountered when SharePoint OM is used to update site/web/list objects from within a web context. Some thing so basic as the code below could fail: using ( SPSite site = new SPSite ( "http://moss" )) { using ( SPWeb web = site.OpenWeb())

"Out of Memory" exception - when adding item to a list using SharePoint OM

Here’s the scenario: A tool that’s designed to add log messages from an application to a SharePoint list. The log messages are themselves “strings”, which when put in a text file may vary anywhere between 1kb to 10mb in size. At a single time, this logging
 
Page view tracker