1

I've been struggling with this for past couple of weeks researching all over.

I have a webform with couple of views with one being restricted to certain users. When I try and query the data using SOAP, I'll get

5566 error

. I found out that it's because of the authentication - it tries to receive the data using anonymous user (IUSR) rather then the logged in user.

So my question is, how can I go around it or change it so it queries it correctly?

I used this method and even go through their suggestions but their answers applied to load balancing and random errors, not continuous or SP2013

PS I'm new here but this place rock!

1 Answer 1

0

I found an answer by asking Google differently on SharePoint Rocks blog

So yes, the problem is the authentication however when you disable anonymous access directly on IIS it'll break SharePoint as it needs it. The credentials are passed via process impersonation and all you need is to change AllowAnonymousImpersonation from true to false

  1. go to IIS that runs your SP
  2. find its address and right click -> explore
  3. open web.config in your text editor and locate AllowAnonymousImpersonation
  4. change it from true to false
  5. restart IIS

This will now stop the 5566 error from occuring.

Then to get the actual data values I followed this post as you need to create a rule to read the actual value but that was not my original question so I won't be going into details.

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.