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?

  • 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) Commented Aug 4, 2010 at 20:54
  • I thought about that, but I'm not sure how you can tell it which one to use. Commented Aug 6, 2010 at 13:52

1 Answer 1


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.

  • Sounds pretty logical to me +1 Commented Aug 5, 2010 at 6:02
  • Does anyone have an example of using the Identity Framwework to authenticate to the SharePoint services? Commented Aug 6, 2010 at 13:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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