Saturday, 18 June 2016

may be due to a misconfiguration of the Microsoft SharePoint Server State Service

Error:- When you start a workflow and get the below 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


Cause:- Because State Service is not working or not configured 


Solution:- Create New State Service Application
If you have already created remove them and reconfigure the state service application it will not harm the existing workflow configuration or InfoPath configuration

Create State Machine Service Application


$stateName ="State Service"
$stateDBName = "SP2013_State_Service"
$stateDB = New-SPStateServiceDatabase -Name $stateDBName
$state = New-SPStateServiceApplication -Name $stateName -Database $stateDB
New-SPStateServiceApplicationProxy -Name "State Service Application Proxy" -ServiceApplication $state –DefaultProxyGroup


No comments:

Post a Comment