How to: Turn on the State Service Application

When publishing a page in SharePoint or wanting to start a workflow you may receive the following error.

“The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator.”

This is likely caused because the State Service Application is not turned on. You can check this in the Central Administration » Application Management » Manage Service Applications. If the State Service Application is not listed you know why the message is showing.

There are two ways for activating the State Service Application. One is using the Farm Configuration Wizard (FCW). But I prefer via PowerShell, below the script for creating the new service application and add to default proxy group. If you like you can choose your own name parameters.

$serviceApp = New-SPStateServiceApplication -Name "State Service Application"
New-SPStateServiceDatabase -Name "StateService_DB" -ServiceApplication $serviceApp
New-SPStateServiceApplicationProxy -Name "State Service Application Proxy" -ServiceApplication $serviceApp –DefaultProxyGroup

More on TechNet on State Service: