.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

SharePoint forms authentication and web services

Posted By:      Posted Date: October 25, 2010    Points: 0   Category :SharePoint


We have a WSS 3.0 site that uses forms authentication using a custom SQL Server 2000 database. My goal is to log into the site with a Blackberry phone and display list items in small aspx pages formatted for the Blackberry browser.

I'm in that prototyping phase, learning what I can and cannot do with each approach. Initially I wanted to use the SP web services to authenticate and use the resulting cookie in subsequent web service calls. I have not been able to get the authentication web service working yet. My other idea was to use the native mobile login page to authenticate. Then I should be able to use the SP object model to fetch and display lists on other pages.

I saw postings that the SP web services don't work with forms authentication but also saw posts indicating success.

What's the final answer on that one? I'd just as soon avoid unnecessary paths.

Has anyone actually done something like this?

Thanks for the help!


View Complete Post

More Related Resource Links

It's possible to using sharepoint services 3.0 hosted site without authentication login ?

It's that any way to able user read / write by without login authentication for sharepoint services 3.0. because i'm having problem when external user need to access to our sharepoint pages, but their can login to it.

Supporting forms authentication SharePoint sites

Hello, I am changing the type of authentication in SharePoint to Form authentication.I create a document Library and I choose as a Document Model (Microsoft Office Word 2007). The problem is : "I can't create a new Item Document Word". It disappear.   I am using this article (http://blogs.msdn.com/b/sharepoint/archive/2009/05/13/update-on-sharepoint-forms-based-authentication-fba-and-office-client.aspx ) to solve my problem. The problem is I don't find the registry key HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\Internet\FormsBasedAuthSettings

Cannot Login with Forms Based Authentication to SharePoint 2010 - Issue with the SecurityTokenServic

Please be advised I have followed the steps on http://donalconlon.wordpress.com/2010/02/23/configuring-forms-base-authentication-for-sharepoint-2010-using-iis7/. I have tried to fix the following issue for a week using different farms and SharePoint 2010 installations, however I am getting the following error when trying to authenticate using Forms Based into a Claims site: Cannot get Membership Provider with name FBARoleProvider The membership provider for this process was not properly configured. You must configure the membership provider in the .config file for every SharePoint process. 1. I am certain the membership provider is configured in the SecurityTokenServiceApplication webservice as I can manage users and roles in IIS7 using the SecurityTokenServiceApplication website. 2. I am certain that membership provider is configured in the both the Claims Web Application and Central Admin as I can manage users and roles in IIS7 using their websites. 3. I know the issue is the SecurityTokenServiceApplication service as I had to set <serviceDebug includeExceptionDetailInFaults="true" /> to get the error above. 4. I can log into the Claims Based Application using windows authentication, however I am unable to see the users on the people picker despite that I can see them from the application's site on IIS

Forms Based Authentication in SharePoint 2010



I'm trying to figure out how to setup FBA in SharePoint 2010.  I know that FBA is now just a subset of Claims Based Authentication, but I'm confused by some of the different approaches that I've seen on some technet blogs:



Having seen the two, one doesn't setup a SQL while one does.  Both are vague in the user account that is used to manage the FBA users.  I'd like to get some clarification if that's possible.  Thanks in advance!

Dynamiq publishing in SharePoint and Deployment of InfoPath Forms Services


Actually, i am working in InfoPath Forms services under MOSS2007. I am publishing Infopath in a specific site (http://<serverName>:<serverport>), and after i upload the administrator form in sharePoint and activate it in a site collection.

I want to ask if there is a solution to publish infopath  with code

I have found how to activate infopath in a site collection with code .

thanks for advance.

cascading drop down list in infopath forms services Using SharePoint Look up list from multiple Sh



Some one can help me, if possible screen shots.
Environment : MOSS 2007, InfoPath 2007

Reporting Services Forms Authentication and group permissions


Hello all,

I have spent some time getting Forms Authentication working with 2008 (R2) I have one final problem left that is causing intense frustration...

The working bits:

a) Built and tested the required extension - thanks to a combination of old Microsoft example supplemented by the one from chapter 19 of Teo Lachev's book, supplemented by Brian Lawson's book.

b) used existing user/group structures in the db to implement role level permissions

c) Can now grant rights to usernames and the usernames validated against our db, they can log in fine and run reports.

d) Nice customised login screens that login across the application and Reporting Services with a single login - which was the primary aim after all!

e) can grant rights to folders at group level and granting/revoking those rights adds or removes the folders in ReportManager - all looking wonderful

The last hurdle:

If I grant permissions to a specific username (we use email address as the username) then that user can log in to ReportManager fine and see what they should see, so it seems like the bulk of the authentication and authorisation extension logic is OK.

If I grant the exact same permission to a role, and make a login a member of that role (removing the specific username permission) then they

WCF over SSL with Forms Authentication on a Sharepoint Server


I want create web services in SP over SSL via Forms Authentication so I can consume them in a WPF app. The services seem fine as I can navigate to them via the browser and they don't throw an error. The SSL is done by a self certificate so I get a warning in my WPF when I create my service reference. However I added some code to override certificate checking as this is a learning exercise and I want to tackle one thing at a time. The web config for the web service is below but when I use this code in my client I get an error :

An error occurred when verifying security for the message.

Here is the stack trace: googling seems to point to resyncing my machines clock but the client and server are on the same machine.


Server stack trace: 

 at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)

 at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)

 at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout)

 at System.ServiceModel.Security.SecuritySessionSecurit

Logged in Username in Sharepoint 2010 Forms Based Authentication



When using forms based authentication in Sharepoint 2010, suppose user is logged in with username "admin" and our custom membership provider name is "FBAProvider"... After logging in with this account, logged in user name is displayed like "i:0#.|FBAProvider|admin". How can make it display as it should be like just "admin"?

Thanks in advance,


Building InfoPath forms against Sharepoint 2010 Data Connection Library and Form Services...


Hi Sharepoint Experrts,

I'm trying to develop InfoPath 2010 forms that use External Lists that have been created in Sharepoint Server 2010.  I have problems when testing the forms because access is denied to the external lists.

When I try deploying the forms to the sharepoint site, I cannot upload the form template because it says I have to be a member of the local administrators group.  However, I'm running the administrator account used to install and setup sharepoint on the Windows 7 development machine I'm using.

I also tried loading the InfoPath Data Connections to a data connection library on my Sharepoint site... I can see the files when I login to the site but when I try creating a New form from a Data Connection File, I get an error message "This location does not contain any data connection files with the appropriate settings".  What ARE the appropriate settings?

I'm just really confused about this because I cannot seem to be able to build forms that use data connection files loaded onto a Sharepoint site or central server....

I appreciate any help I can get!




Thanks, KBW

Sample: Creating Claims Providers for Forms-Based Authentication Web Applications for SharePoint 201

Explore the code as you learn how to create a claims provider for a Microsoft SharePoint 2010 forms-based authentication web application.

SharePoint 2007, Forms Based Authentication and Microsoft Office Protocol Discovery

On a SharePoint 2007 extranet site using FBA the Microsoft Office Protocol Discovery Options request is causing multiple authentication requests that must be closed. The best proposed "solution" I've found is to disable client integration for that zone. Has any other solution been found?

Getting Started with Windows SharePoint Services

Of all of the capabilities of SharePoint, I thought I would start with the most basic installation - as a corporate intranet. It is likely that we will need to discuss some of the elements of SharePoint as we go along, so this also gives us the opportunity to review these elements for future reference.

Before going into too much detail, I would like to point out that you can try the core SharePoint framework (known as Windows SharePoint Services or WSS) for free. On Microsoft's Web site you can download a trial version of Virtual PC 2004 (VPC). Using VPC, you can install the Windows 2003 Evaluation Kit and the WSS add-on. This combination will give you 45 days to evaluate the setup.

Building a Searchable Phone Directory with Windows SharePoint Services

I want to continue to build out the intranet site we've started in our previous articles. A standard item in every intranet is a staff/employee list. Most companies implementing Windows SharePoint Services (WSS) are large enough to have a database that contains all employees. We will use the aggregation features of SharePoint to include data from this database into our intranet.

New Features in Windows SharePoint Services 3.0

Windows SharePoint Services 3.0 (WSS 3.0) is the next version of WSS 2.0, released on 2007, and Microsoft Office SharePoint Server 2007 (MOSS 2007) is built on top of this. Windows SharePoint Services 3.0 takes full advantage of Microsoft ASP.NET 2.0 and the core Microsoft .NET 2.0 runtime. WSS 3.0 offers a lot of new features and programmability support. I have consolidated a list of new features and enhancements in the below section:

Explained: Forms Authentication in ASP.NET

This module explains how forms authentication works in ASP.NET version 2.0. It explains how IIS and ASP.NET authentication work together, and it explains the role and operation of the FormsAuthenticationModule class.

Using Forms Authentication in ASP.NET - Part 1

Classic ASP developers often had to "roll their own" authentication scheme, however, in ASP.NET much of the grunt work has been taken out. This article outlines how things have changed and how FormsAuthentication can be used to secure a Web site with a minimal amount of code.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend