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:

http://technet.microsoft.com/en-us/library/ee704548.aspx

Advertisements
Leave a comment

1 Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: