State Service Configuration in Microsoft SharePoint Server 2013

Overview

After installing SharePoint Server 2013 I created a site collection, when I tried to do a simple approval workflow I got 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."

Default SharePoint Page

I checked the database and there was no State Service db which means that we need to enable the “State Service” in the farm.

Object Explorer in SQL Server

From Central Administration on the left click on Configuration Wizards then Launch Farm Configuration Wizard.

Configuration Wizard in SharePoint

Click Start the Wizard.

Welcome Wizard in SharePoint

When you start the wizard scroll down and check the State Service check box as in the following:

State Service in SharePoint

Click Next then wait for the wizard to finish. Check the SQL db after its done and you will find that State Service database is now added

StateService in Object Explorer

Re-run the approval workflow now and it will work just fine.

Page Approval in SharePoint