I am getting the below error if I try to open an InfoPath form designed using InfoPath designer


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. HIDE ERROR DETAILS The database returns an error. An entry has been added to the Windows event log of the server. Log ID:5566

What could cause this?

  • are you using any Data Connection? If yes, remove unwanted data connections.
    – soccer7
    Commented Oct 12, 2015 at 6:52
  • no i have proper data connections .
    – kats
    Commented Oct 12, 2015 at 11:18
  • 1
    Go through the Rules that run on form load. Make sure they are proper and querying data sources properly.
    – soccer7
    Commented Oct 12, 2015 at 11:34

1 Answer 1


Check if you have used GetUserProfileByName service and if SharePoint is in Claims based authentication. If so, you have to convert the GetUserProfileByName to .udcx file, edit it according to the Central Admin changes, upload it in Data connection library.

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.