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


Post New Web Links

Sharepoint Claim Based Authentication Web Service issue

Posted By:      Posted Date: September 20, 2010    Points: 0   Category :SharePoint
 

Hi all,

I have Configured sharepoint 2010 foundation to use claim based authentication with sqlmembership provider.

When i try to consume the webservice i get access denied error. The service i wish to consume is http://<server>:25757/_vti_bin/usergroup.asmx.

I tried to find out the issue i cannot consume the service as it redirects me to the login page. I also tried to pass the network credentials but same error. (Server was unable to process request. ---> Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

When i try to consume the same service of another web application (sharepoint 2010 foundation) it works. Only difference between the two web application is classic authentication with NTLM and other is CLAIM based authentication windows (with NTLM) / forms.

 

Best Regards,

VM




View Complete Post


More Related Resource Links

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

SharePoint 2010 AD/Claim-based authentication URL.

  

Hi,

I have setup my SharePoint 2010 web application to support both Windows AD and ADFS 2.0 authentication, the top site URL is: https://myserver.contoso.com

Every time I access the URL, it asks me to choose which credentials I want to use: AD or Claim, then get access to the SharePoint site - it works fine.

My question is about: can I tell which credentials to use in the URL request? i.e.: https://myserver.contoso.com&credential=Windows to use Windows AD authentication;

or https://myserver.contoso.com&credential=ADFS to use ADFS authentication?

Thanks!

 


Jim Wang - MVP Dynamics CRM - http://jianwang.blogspot.com, http://www.mscrm.cn

Claims Tips: Learning About Claims-Based Authentication in SharePoint 2010

  
Use these five tips for guidance in solving problems related to using and configuring claims.

Sample: SharePoint Claims-Based Authentication

  
Explore the code as you learn how to create a custom security token service (STS) and set up a trust relationship between a SharePoint 2010 farm and the custom STS.

AutoLogin for authenticated user via LiveID in Sharepoint 2010 (Claims Based Authentication)

  
Hi,     Im working in integrating LiveID authentication in my Sharepoint site. Live id gives back a token of the user with which i created a dummy profile using MembershipProvider.CreateUser. Now i have to auto login the user with the profile i created, i mean i have to force login to my sharepoint site using the created dummy user details without asking the user to give username n password.Any suggestion will be a great help for me to proceed.   Thanks Saravanan Michael

Form based authentication Sharepoint 2007 gets redirected to login page

  
Hi We have sharepoint 2007 site deployed on Windows server 2008, IIS 7.0.  We extended the web application to enable forms based authentication referring to link http://msdn.microsoft.com/en-us/library/bb975136(office.12).aspx#MOSS2007FBAPart1_Intro, we selected Kerberos instead of NTLM, behavior is like, when user tries to login into the site using OOB login.aspx, user again gets redirected to the login page. We tried to extend the web application again but this time we selected NTLM, but this time farm account (also is application pool identity) is not able login and exhibits same behavior as above, but for other users we are able to login. Has anyone come across this behavior? can anyone please guide me in correct the behavior? Regards, RK  Radhakrishna

SharePoint 2010 Claims Based Authentication - anonymous site is prompting for CBA auth when opening

  
Hi, I have CBA setup successfully on my sites.  One site is setup for anonymous access and I have disabled "client integration" on that web application. I have a list of MS Office documents on a wiki.  When I click on one I am asked to either save or open or cancel.  Saving works fine but when I choose open, it launches the associated MS Office app.  I am then prompted for a login from CBA.  I can click cancel and the logon screen appears again.  After clicking cancel the 2nd time the document appears in the MS Office app, Word in this case. My question is how do I prevent my users from being prompted for a CBA login when clicking on these files and opening them in the native app on their machine?      --TR

How to install Claim Based AUthentication

  
I have installed SharePoint 2010 as Standalone on My laptop. Now I want to extend the site as Claim Based Authentication. Let me know how can I do this?  

Forms Based Authentication in SharePoint 2010

  

Hello

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:

http://blogs.technet.com/b/mahesm/archive/2010/04/07/configure-forms-based-authentication-fba-with-sharepoint-2010.aspx

http://blogs.technet.com/b/speschka/archive/2009/11/05/configuring-forms-based-authentication-in-sharepoint-2010.aspx

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!


How to get SharePoint file conent by URL from web applications with claims based authentication conf

  

Hello,

I am using next code to get SharePoint document content:

using (System.Net.WebClient objWebClient = new System.Net.WebClient())
                {                   
                    objWebClient.Credentials = new System.Net.NetworkCredential("username", "password", "domain");
                   
                    using (System.IO.BinaryReader file = new System.IO.BinaryReader(objWebClient.OpenRead("http://machine_name:10000/Shared%20Documents/some_file.txt")))
                    {
                        //Read file stream
                &nb

SharePoint Farm - Claims Based Authentication Problems

  

Hello guys,

I have a SharePoint farm with 2 WFE servers(SH01 and SH02) and 1 Application server(SH03) where there's the Central Admin. When I create a WebApplication with Windows Authentication I can access it normally in both address http://SH01:10000 and http://SH02:10000. When I create a WebApplication with Claims Based Authentication enabling FBA when I try to access it with the address above occurs an error:

The WebApplication at http://SH01:10000/  could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

I have noticed that the difference between authentication is that FBA redirect to "_login/" when I can choose what type of authentication I want to login(In this case Windows or Forms).

Are there some extra configuration that I have to do to solve this problem?

Thanks


André Rentes

password recovery in claim based authentication

  

guys, i need your help...

i setup web application using claim based + sqlmembership..

in  a form, i got password recovery control..

so, how can i retrieve the user password ???

currently, when i click submit button, i got an error as follow :

[NotImplementedException: The method or operation is not implemented.] Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider.GetUser(String name, Boolean userIsOnline) +62 System.Web.Security.MembershipProvider.GetUser(String username, Boolean userIsOnline, Boolean throwOnError) +35 System.Web.UI.WebControls.PasswordRecovery.AttemptSendPasswordUserNameView() +120 System.Web.UI.WebControls.PasswordRecovery.OnBubbleEvent(Object source, EventArgs e) +127 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +70 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981

p/s: note that i'm using sharepoint 2010 RTM and successfully configure smtp in server...

thanks in advance....


sharepoint designer for claims based authentication

  

Hi friends,

              Is it true the the share point designer wont support for claims based authentication with FBA?.If it so what should i do to design the share point site  without share point designer.

Here I am facing a problem for designing my site .My site has the following configuration

1)Forms Based authentication with sql server provider

when try to open with url its saying forbidden..!

2)No windows authentication is enabled 

                                                    Any help is highly Appreciated .

 


sharepoint designer for claims based authentication

  

Hi friends,

              Is it true the the share point designer wont support for claims based authentication with FBA?.If it so what should i do to design the share point site  without share point designer.

Here I am facing a problem for designing my site .My site has the following configuration

1)Forms Based authentication with sql server provider

when try to open with url its saying forbidden..!

2)No windows authentication is enabled 

                                                    Any help is highly Appreciated .


Form based authentication on current web application SharePoint 2010

  

Hi,

I have question about creating form based authentication. I want to have different authentication in the same web application in the same time. For now I have windows authentication and I want to extend it to Form base authentication. I follow procedure on link http://blog.summitcloud.com/2009/11/forms-based-authentication-sharepoint-2010-fb/ step by step but it doesn't work. Also when I try to change authentication in Central administration to Forms it is not possible because that option is disable. Is there any setup for overcome this issue.

Thank in advice.

Alex


How to get SharePoint file content from web applications with claims based authentication configured

  

Hello,

I have custom web service developed (it is running out of sharepoint context but on the machine where sharepoint server 2010 is installed). This web service should get SharePoint file content using file URL and some specific user credentials. So in case user doesn't have access to the file some exception should be thrown. Otherwise content should be returned.

I am able to use next code:

using (System.Net.WebClient objWebClient = new System.Net.WebClient())
                {                   
                    objWebClient.Credentials = new System.Net.NetworkCredential("username", "password", "domain");
                   
                    using (System.IO.BinaryReader file = new System.IO.BinaryReader(objWebClient.OpenRead("http://machine_name:10000/Shared%20Documents/some_file.txt")))
       

Sharepoint Crawler and Basic Authentication issue

  

Hi,

We have a MOSS site which have basic authentication enabled, everything is working fine except sharepoint search.

We have investigated and found that if basic authentication is implemented then sharepoint crawler cannot access the site and wont work.

is there any way to resolve this issue.

Our MOSS environment :

MOSS 2007 SP1.

Windows 2008 server.

 

Regards,

Jasjeet Singh


Categories: 
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