SharePoint Keeps Asking for Password Every time?

Yeah, It’s a classic issue! SharePoint prompts for user name and password, every time when a user tries to access SharePoint sites. Every time SharePoint 2010 (or MOSS 2007) keeps asking password is annoying, Isn’t it? Here’s is the solution to disable and stop the prompt for username and password:     In…

Read more

Disable Alerts from a SharePoint List or Library

The end-user came up with a requirement: Disable alerts from a particular SharePoint list, where 100’s of people subscribed already. Its apparent that we can disable alerts for web application either from Central Administration or executing the stsadm: stsadm -o setproperty -url http://server_name -pn alerts-enabled -pv false But here the requirement is…

Read more

How to Create User Control in SharePoint – Step-by-Step Walk through

User controls are a rapid way to develop custom functionality. There are three steps involved in creating user controls. This article walks through step by step on creating user controls in SharePoint 2010 which displays currently logged-in user. Create and deploy user control Register user control in the target Insert the user…

Read more

SharePoint Offline Synchronization with Colligo Reader

With this free tool, You can connect to a SharePoint site and download the documents and lists to your local machine and access them offline. There is another product from the same vendor, Colligo Contributor, which allows two-way sync with SharePoint and which is not free. By the way, we have SharePoint…

Read more

FileNotFoundException on new SPSite Call in SharePoint 2010

Today, I tried writing a console application to fetch some data from SharePoint for report generation. Started with simple code, Ran it, Boom! Error: “FileNotFoundException was unhandled” in spsite constructor!Verified that the URL is valid and able to access. In fact, my code was quite simple. SPSite site = new SPSite(“http://sharepoint”);Console.WriteLine(site.RootWeb.Title); Solution…

Read more

Using People Picker in Custom Web Parts

People Picker in web parts:To get people picker inside web parts, you can use the People Editor class inside Microsoft.Sharepoint.WebControls namespace. People Picker in User control based web parts: For user control based web parts, you can simply use the SharePoint’s user control. Here is how: <%@ Register TagPrefix=”spuc” Namespace=”Microsoft.SharePoint.WebControls” Assembly=”Microsoft.SharePoint, Version=14.0.0.0,…

Read more

Build a Feature based Solution to Deploy Site columns in SharePoint

I have got a bunch of site columns created in development environment and want to port them to Production environment with out manually creating em again. Let see step by step: creating feature based solution for SharePoint 2010 site columns using Visual Studio 2010. 1. Lets start by creating a new Visual…

Read more