N/APosted on - 07/04/2019
We have a webform with multiple views, but one is restricted only to certain users. When we try to query data from this form view using SOAP, it throws infopath error 5566. Can you tell me how to solve this error?
How To Remove Infopath Error 5566 Error
The InfoPath error 5566 as you might or might not know an authentication error. This error is occurring when you query data from this form because it tries to access data as an anonymous user (IUSR) and not the logged in user.
Now if you disable anonymous access directly, it will break some important elements too. What you should do is change AllowAnonymousImpersonation from true to false. You can do this from your IIS that runs your SP. These are the small things that are ignored early on but can cause a lot of fuss afterward. It is advised to take special care for these things.