Single SignOn Error codes and what they mean

Error Code Meaning When Thrown Bubbled Behavior How To Overcome -2140993974 SSO is not configured Failure when SSO has not been setup via Central Administration Critical error logged in ULS with error code. If SSO is not configured then configure from Central Admin. -2140993973 SSO Wrong Version SSO config setting or master secret has changed…

2

Musings…

Its been quite some time since I consciously dug out time to write something here. The past couple of months have been a helluva time. I started with getting the feelers on office 12 and then the whole bunch of technological challenges that throws up. Most of my time has been spent just getting to know the “stuff…

2

Its here! Its here!

After months and months of anticipation the word is out on the streets regarding the WSS SP2. Yoooohoooo! Check out more stuff here at: http://www.microsoft.com/downloads/details.aspx?familyid=abba20f2-3625-4c9c-a412-ab9bbebdb5e8&displaylang=en. 

1

Listless

This is something really silly. Any list that is a part of a site can be accessed by using a small snippet that looks more or less like this:SPSite site = new SPSite(http://localhost”);SPWeb web = site.OpenWeb();SPList list = web.Lists[index];Now lets say you want to add an item to an ordinary list. The snippet would go…


Trustworthy!!

The other day I landed on a very interesting issue. Before I break in the solution, let me just try and explain the problem the way it came in. Well, there was this guy who had created a custom web part to fetch a report from some database. He was supposed to be using a SQL…

1

Area 51

This started of as another one of those weird things. Well, so here goes. Problem: Accessing the news listing through the Object Model.Solution:          // get the reference           SPSite site = new SPSite(“http://localhost”); // this will point to the portal URL           SPWeb web = site.OpenWeb();           // get the context           PortalContext context = PortalApplication.GetContext(site.ID);  // context…


Digging the content index

The content index is one of the most sought after parts of Sharepoint. Search is one of the most popular and also one of the most mystical of Sharepoint features. So it goes without saying that accessing the content index is like chasing a dream. But before you start jumping with glee, there is absolutly…


Programmatically adding a List with custom fields

When a list is created programmatically using a custom template, the custom fields do not get displayed in the UI. These fields do not become a part of the displayed fields of the default view.   The Problem – A common task like uploading a file to a list that was created programmatically using a custom…

9

SPListItem.Update()

Now thats a funny title. This is something I worked on quite recently. Consider a scenario where you are trying to access a number of lists programmatically. The issue I dealt with was concerned with lists in a recurring event of a metting workspace. But subsequent research revealed that this is a generic issue.So, you…

1