Got the following InfoPath Forms Services error after submitting a form:
"An error occurred accessing a data source"
Also, open the InfoPath form in design mode, modify one of the Data Connections, e.g. Submit Workflow Service, and got warning:
"The Internet address "http://<your server name>/K2 BlackPearl Data Connections/InfoPath Web Service/Submit Workflow.udcx?noredirect=true' is not valid."
Furthermore, check root site collection level, e.g. http://<your server name>, there is no K2 BlackPearl Data Connections library.
However, there is K2 BlackPearl Data Connections library under the subsite location where the form was published to, for instance, http://<your server name>/<your site>/<your form library>/K2 BlackPearl Data Connections/
Resolution:
- Delete the K2 BlackPearl Data Connections library under subsite
- Via K2 Designer --> InfoPath Integration Wizard, open the InfoPath form in design mode, Tools --> Data Connections, delete all data connections
- In InfoPath Integration Wizard --> InfoPath Form Deployment Location, make sure SharePoint Site URL = http://<your server name>/<your site> and Form Library = <your form library>
- Click Next ... Finish
- Deploy the project
A new K2 BlackPearl Data Connections library should be creatd under the subsite, which contains UDCX files such as "can I Submit.udcx", "Get Actions.udcx", "Execute Smart Object Method.udcx", and "Submit Workflow.udcx".
Try to submit the form.
HTH,
Frank
The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.