A Practical Guide to SharePoint 2013

A Practical Guide to SharePoint 2013
A Practical Guide to SharePoint 2013 - Book by Saifullah Shafiq

Tuesday, November 22, 2011

The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service

Error: The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service.

You get this error when you try to access an InfoPath form in 2010.
State Service Error
Figure 1: Form error
Usually this happens after you have migrated an existing application from SharePoint 2007 to SharePoint 2010. If you have used “Attach Database” approach to migrate your application, then you would have created a new application in 2010 corresponding to the original application in 2007. Follow steps below to resolve this error.
1.       Run Central Administration
2.       Click on Configuration Wizard in right hand side navigation links and then Launch the Farm Configuration Wizard.
3.       Start the Wizard
4.       Make sure checkbox along with State Service is checked.
5.       Click Next.

This will resolve the issue and the form will start opening. Also note that the service account you provide should be different from the farm service account. The process will take a few minutes to complete. It will ask you to create a new site. Create a new site and click ok. It will show you following screen:
Farm Configuration
Figure 2: Farm Configuration
Now try to open the form again, it should open fine.