SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to pull data from the list.asmx web service from a console application. I am using clams based authentication, and whenever only integrated Windows Authentiation is checked everything works fine. Whenever I also check Enable Forms Based Authentication I start getting an Acccess is denied error when I try to connect to the service. I can login successfully using FBA so I don't think the problem is caused by the FBA configuration. Does anyone have any ideas to what might be causing this?

share|improve this question
Could be to do with the the selection page you get for mixed mode authentication web-apps. If SP doesn't know which method to use I guess you would get an access denied, not sure though (hence comment not answer) – Charles Lee Aug 4 '10 at 20:54
I thought about that, but I'm not sure how you can tell it which one to use. – Eric Maurer Aug 6 '10 at 13:52

Your client (the program consuming the service) needs to pass a NetworkCredential object. With integrated auth, this just happens. For FBA, you need to create a new object and put in the credentials. For claims auth, you need to leverage the Identity Framework.

share|improve this answer
Sounds pretty logical to me +1 – Charles Lee Aug 5 '10 at 6:02
Does anyone have an example of using the Identity Framwework to authenticate to the SharePoint services? – Eric Maurer Aug 6 '10 at 13:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.