I have a browser enabled InfoPath form loading in a Form web Part in a webpart page with another connecting web part. When users try to open the form they get:
"An error occurred querying a data source"
Sympton-1: Occasional error when opening an InfoPath form
Sympton-2: InfoPath timeout random error first time form is loaded
Sympton-3: An error occurred querying a data source
Sympton-4: There was an error retrieving data from a datasource.
Click OK if you want to resume filling in the form. Possibly you might want to check the form for errors.
Sympton-5: There was an error retrieving data from a datasource. An entry has been added to the Windows event log of the server.
Log ID: 7893
Best suggestion / recommended one is check the SharePoint ULS logs and find out the exact root cause behind this error message. I also did the same and found out that it is happening because of data connection time outs.
The Maximum data connection timeout value you modified is used to override all data connection time out values that specified within form template code. If you are not specified the time out value within form template code, please increase the default data connection timeout in Central Administration.
-General Application Settings
-Configure InfoPath Forms Services
-Increase the time out value and try again.
If you have any queries/questions based on the above mentioned information then please let me know. I would be more than happy to help you as well as resolves your issues, thank you.
Product Applies To:
-SharePoint Server 2010
-SharePoint foundation 2010