Saturday, May 18, 2013

"The form cannot be rendered. This may be due to a mis configuration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator," error while configuring legacy workflows in SharePoint 2013

I had a requirement to show the approval workflow form SharePoint 2010 in SharePoint 2013. By default in SharePoint document library we will have two workflows, Three state and expiry workflow.

When I try to create a workflow service without state service setup 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.

Generally a state service will automatically create at the time of SharePoint wizard creating our farm creation. If it is not created we can configure it by using the following power shell script.

$stateServiceApp = New-SPStateServiceApplication -Name "State Service"
New-SPStateServiceDatabase -Name "StateServiceDatabase" -ServiceApplication $stateServiceApp
New-SPStateServiceApplicationProxy -Name "State Service Proxy" -ServiceApplication $stateServiceApp -DefaultProxyGroup

After creating the state service, enable the site collection feature  (Site Settings > Site Collection Administration > Site Collection Features Enable SharePoint 2007 Workflows)



   

Share this

1 Response to ""The form cannot be rendered. This may be due to a mis configuration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator," error while configuring legacy workflows in SharePoint 2013"

  1. Suresh, I am still getting the 'Form cannot be rendered..." message even after creating a new State Service and enabling the 2007 Workflow feature in the Site Collection. Any suggestions?

    ReplyDelete