Error: The form cannot be displayed, possibly due to a misconfigured Microsoft SharePoint Server State Service. Contact your server administrator for more information

Problem scenario:
1. Workflow in SharePoint 2013 requires State Service. If State Service is not configured correctly, you will encounter an error when adding workflow to lists and document libraries: " The form cannot be displayed, possibly due to Microsoft SharePoint Server. The State Service is misconfigured. Contact your server administrator for more information. ".
2. After InfoPath 2013 is published to the form library, it cannot be accessed normally.
The following describes how to create a state service.
Use the SharePoint 2010 Management Shell to create a State Service as an administrator:
1. Click Start, Administrative Tools, Windows PowerShell Modules
2. Enter $serviceApp = New-SPStateServiceApplication -Name “State Service”
3. Next, create a State Service database, then connect to the service application, enter New-SPStateServiceDatabase - Name "StateServiceDatabase" -ServiceApplication $serviceApp
4. Also create a State Service application proxy, then connect the service application, enter New-SPStateServiceApplicationProxy -Name "State Service" -ServiceApplication $serviceApp -DefaultProxyGroup
 
The execution process is shown in the following figure:

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325990504&siteId=291194637