N/APosted on - 07/10/2019
I’ve been fighting for two weeks, and I’m doing research everywhere. I have a web form with some views, one of which is reserved for specific users. When I try to query the data with SOAP, I get Error 5566 infopath SharePoint 2013. How can I fix this error?
Solved: Error 5566 Infopath Sharepoint 2013
The problem is authentication. However, disabling anonymous access directly to IIS will corrupt SharePoint if necessary. The credentials are passed when the process identity is changed. All you have to do is change AllowAnonymousImpersonation from true to false. Navigate to IIS where your SP is running. Find the address and right-click -> explore, open the web.config file in your text editor and look for AllowAnonymousImpersonation change from true to false. Restart IIS. This now stops the occurrence of error 5566.