Thursday, September 2, 2010

sharepoint-claims-based-authentication-series

http://www.sharepointsecurity.com/sharepoint/sharepoint-security/ten-part-sharepoint-claims-based-authentication-series/

So here are some links that I have found incredibly useful:

Writing a custom claims provider for SharePoint 2010: Great 4 part series all about developing your own provider. Found this incredibly useful in understanding some of the lower level development components needed to implement Claims
Ten Part SharePoint Claims Based Authentication Series: Whoever took the time to do this should be knighted. Terrific set of articles that covers not only what claims are from a .NET perspective but also how they apply to SharePoint 2010.
Introduction to Claims Based Authentication in SharePoint 2010 in plain English: Great one page summary of claims and SharePoint.
Configuring Claims Based Authentication for SharePoint 2010: Tech Net article for how configure claims authentication
SharePoint SPIdentity Team Blog: Office blog of the SPIdentity team that will keep adding articles about all identity related stuff
Plan for Claims Based Authentication: Another Tech Net article detailing the planning necessary for claims authentication
Claims Based Identity and Access Control Guide: From the Patterns and Practices team from Microsoft comes
Federated Authentication and Authorization with Sharepoint 2010 and ADFS: Great video overview

Sharepoint 2010 Install Guide

http://andreasglaser.net/post/2009/11/17/Installing-SharePoint-Server-2010-on-Windows-Server-2008-R2-and-SQL-Server-2008-R2-Part-4-Active-Directory-installation-and-configuration.aspx

Tuesday, August 24, 2010

The Managed Metadata Service or Connection is currently not available…

Issue:
The Managed Metadata Service or Connection is currently not available…
While configuring the Managed Metadata Service I got the below error...
The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started, Contact your Administrator.

Resolution:
After installing this the problem is resolved.

You can get the hot fix ‘KB976462 – SharePoint Shared Services Roll-ip’ at

http://code.msdn.microsoft.com/KB976462/Release/ProjectReleases.aspx?ReleaseId=3571

Friday, August 13, 2010

SpUtility Mail Truncate issue

Issue:
SP Utility - Mail truncated after 2048 characters.
Solution:
Use \r\n
Example:
_mailContents.Append("");
_mailContents.Append("If you have any questions, please click here to contact us.");
_mailContents.Append("\r\n");
_mailContents.Append("");

Enjoi!!

Fix for : The List cannot be displayed in Datasheet view (WSS 3.0 and MOSS 2007).

The List cannot be displayed in Datasheet view (WSS 3.0 and MOSS 2007).

Issue:
I also had the same problems on a Windows 7 64 bit Ultimate machine, running Office 2010 64 bit. I installed the 2007 Office System Driver: Data Connectivity Components as instructed on the local machine and did indeed fixed the Datasheet funcitionality.

Solution:
http://www.microsoft.com/downloads/details.aspx?familyid=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en
2007 Office System Driver: Data Connectivity Components

Thursday, July 22, 2010

recurrence-not-showing-on-calendar-list

http://www.sharepointdev.net/sharepoint--development-programming/recurrence-not-showing-on-calendar-list-43190.shtml

Add new item in Sharepoint Calendar Programmatically.

I used the below code to add new item in sharepoint calendar. Initially the item used to come in AllEvents view ONLY. It was not getting displayed in Calendar view. I just changed Event Type =0 and it worked....Below is the working code which will show item in calendar view too.
SPWeb site = new SPSite("http://moss-ocs:8096/doccenters/IS").OpenWeb();
SPList cal = site.Lists["Calendar"];
SPListItem calEvent = cal.Items.Add();
calEvent["Title"] = "Training19";
//string recurrence = "" +
//"su" +
//"" +
//"2010-09-20T09:00:00Z" +
//"
";
//calEvent["RecurrenceData"] = recurrence;
calEvent["EventType"] = 0;
calEvent["EventDate"] = new DateTime(2010, 7, 29, 8, 0, 0);
calEvent["EndDate"] = new DateTime(2010, 7, 30, 9, 0, 0);
calEvent["UID"] = System.Guid.NewGuid();
calEvent["TimeZone"] = 13;
calEvent["Description"] = "
";
calEvent["fAllDayEvent"] = 0;
calEvent["fRecurrence"] = 0;
calEvent.Update();
cal.Update();