Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » SPS 2003   (RSS)

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())

GetWebTemplate web method does not return & AddList web method does not recognize my custom list templates!

When you use the “GetWebTemplate” web method provided through webs.asmx web service, you’ll notice that the custom list templates you might have created is not available in the collection returned. This is because the OM call that happens behind-the-wires,
Posted by sridhara | 2 Comments
Attachment(s): CustomLists.zip

"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

Starting note on Content Editor Web Part

Recently, I worked a tricky and interesting case where a customer wanted to “silently” put a file in user’s computer. My buddy, Sowmyan bet me by blogging about it here . A job superbly done!! Watch out for enabling Initialize and script ActiveX controls

Correct usage of SPFileCollection.Add() overloaded method in SPS 2003

I was recently involved in a case involving SPFileCollection.Add() method. When we use one of the overloads of Add() method the “Created” & “Modified” dates weren’t correct (+5:30 hrs at my end & -7 hrs at the customer’s end – not exactly sure
Posted by sridhara | 2 Comments
Filed under:

Make the "Overwrite existing file(s)" check box to be unselected by default in SPS 2003

Following the post from Make the "Overwrite existing file" check box to be unselected by default in MOSS 2007 , this post is to show how to do the same trick in SPS 2003. Due to the structural change between SPS 2003 and MOSS 2007, it takes a bit more
Posted by sridhara | 0 Comments
Filed under:

Getting Event Handlers developed in VS.NET 2005 to work with SharePoint V2

Note: Just don’t bother to read further if you have a SharePoint server running on IIS that has ASP.NET 2.0 installed on it already. Ok, so you have your SharePoint server running on IIS that has ASP.NET 1.1.xxxx installed on it and you have developed
Posted by sridhara | 0 Comments
Filed under:

Changing Quota Template Names in SharePoint V2

Quota Template is a nice feature that's very helpful for SharePoint administrators. It helps in managing your SharePoint server and having total control over how much your site grows. There was a request to figure-out a way to change the Quota Template
Posted by sridhara | 1 Comments
Filed under:

Getting portal context

In WebPart developement, many a times, we'd want to retrieve the context of the current site and do some operations based on it. A simple and most common scenario is retrieving the user information from the site context. There are different ways to do
Posted by sridhara | 0 Comments
Filed under:
 
Page view tracker