Pages

Wednesday, September 26, 2012

SharePoint 2010 InfoPath Configuration Errors

After restoring a SharePoint 2010 farm from farm backup, the InfoPath forms that I have on the server were not working. The error messages that appeared on the log included:

  • The FormServer is not configured properly: The StateService cannot issue a new session, either because no StateServiceApplicationProxy is bound to the current webapp, or because no online and unpaused databases could be found.
  • Microsoft SharePoint State Service is not configured correctly and cannot respond to requests. InfoPath Forms Services relies on Microsoft SharePoint State Service to function correctly. Check the SharePoint Maintenance Engine rules in SharePoint Central Administration for issues with Microsoft SharePoint State Service configuration.

I had provision the State Service in the farm and everything appeared to be configured but the error message didn’t go away. The steps that I took to resolve the issues are listed below:

  1. Confirm that the SPTimer service is working properly. In my case it was stopped because of some unknown reason. I had to update the login information before it got started. If this service is not started, the Initial Farm Configuration Wizard will stay processing and will display “Page cannot be displayed” message.
  2. Delete the State Service service application from the farm restore and recreate it using the Initial Farm Configuration Wizard.
  3. Configure the Service Application Association for the newly configured state service with the web application that is rendering the form (Application Management –> Configure Service Application Association).
  4. Configure InfoPath Forms Services at General Application Settings –> Configure InfoPath Forms Service.
    • Make sure to uncheck “Require SSL for HTTP authentication to data sources” if you don’t have SSL.
    • Check “Allow cross domain data access for user form templates that use connection settings in data connection file”
  5. Update your web application settings for InfoPath Forms services web service proxy by going to General Application Settings –> Configure InfoPath Forms Services Web Services Proxy.
    • Make sure the correct web application is selected on this page.
    • If “Enable InfoPath Forms Services Web service proxy ” and “Enable InfoPath Forms Services Web service proxy for user forms” settings are already enabled on this page, uncheck the checkboxes, select OK, and enable these settings again.

No comments:

Post a Comment