Windows Live Authentication in MOSS 2007 - Configuration and Integration Live Authentication in SharePoint 2007

Windows Live Authentication in MOSS 2007 - Configuration and Integration Live Authentication in SharePoint 2007

Windows Live Authentication 1.0 which is available in CodePlex. Download and install the .wsp file to SharePoint server 2007. Download Link
While installing these are the three main initial steps to follow.
Step1:

Step2:

Step3:

These three steps as to success, then only the installation completes.
Next is live ID registration in https://msm.live.com/app/default.aspx

Now the registration page appears.

After click submit, you will redirect to a page displaying the important information to be noted.
Now click on the manage the application to do the maintain the application.
Next the important configuration using the command window.


Finally you need to add the defaultProvider for the Web Application that will authenticate Live ID users, you will replace the following in the web.config for the Web Application: with You can find an example portion of the complete web.config herePerform an IISRESET and you are done

Finally the configuration file changes for your web application

Now when you try to login to your site using Windows Live ID, you may face this error "Operation is not valid due to the current state of the object. "
To solve this first try this operation
stsadm -o upgrade -inplace
If not solved, try out this option Try installing the Service Pack for SharePoint Click Here
When i logged in using my Windows Live ID it says that
Error: Access Denied
Current User
You are currently signed in as: ac592e0e0b189909163bccfeff41cace
This means the feature WindowsLiveAuthenticationSettings is not actived in your site, we need to active this feature. Lets see how.

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\WindowsLiveAuthenticationSettings
After activating the feature using stsadm.exe (for more ref:)
After activated

Other reference:

Comments

Kiran banda said…
Hi,

This is an informative post :-)

Can you tell me how to get to the screen where you see a list of features active/inactive ?

I followed the steps in this post but I am still facing the issue : "Error : Access Denied, you are currently signed in XXXX"
Bearry said…
Hi,
I like you post !.
It seems you used 64bit machine. I had no problems with WLID on 32 bit.Everything works fine. However, on both Win2003 and Win2008 64bit machines Sharepoint site (MOSS and WSS)returns "Unknown error"
Have you seen such error? I suspect it might be .NET problem. Any help where to dig will be greatly appreciated.
Thanks,
Bearry
Disable custom error and check the exact error message.
http://vivekthangaswamy.blogspot.com/2007/04/disable-custom-error-message-in.html

It will help you to find th exact problem.
Bearry said…
Vivek,
Thanks for prompt responce. Here is the error:
"Object reference not set to an instance of an object. at CKS.WindowsLiveAuthentication.liveauthhandler.Render(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Popular posts from this blog

ASP.NET website "Cannot read configuration file due to insufficient permissions" in IIS 7 and Windows Server 2008

Error occurred in deployment step 'Install app for SharePoint': The System Account cannot perform this action.

Embrassing screen sharing interview : SharePoint