Search This Blog

Thursday, December 19, 2013

Solution to authentication error while opening browser enabled Infopath forms with data connections

Recently I was working on creating a browser enabled InfoPath Form in SharePoint 2013. I created some data connections in the form and published it in Forms library. But at the very first step it started giving me authentication error-

"An error occurred querying a data source. 
Click OK to resume filling out the form. You may want to check your form data for errors. "

I also checked the Logs folder inside 15 hive and found this:

"Data adapter failed during OnLoad: Authentication information in the UDC file could not be used for this connection because user forms are not allowed to use UDC authentication."

To resolve this Issue go to your IIS and click on the web application in which you want to publish your InfoPath form and then click on the "Authentication" tab (as shown in below screen shot)

Under Authentication tab, double click on the "ASP.Net Impersonation" and set it to "Disable".
Now re-open your InfoPath form and see it working.

No comments:

Post a Comment