Thursday, May 23, 2013

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

Hi there,

I was having a requirement to create SharePoint 2013 approval workflow using 2010 template. workflow was attached to content type.
Issue I was facing, while going to start the workflow it gives error of "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"

After some research came to find the solution,  this is related to state service as mentioned in error above.

Paste following commands in SharePoint management shell:

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


And now again I tried to start the workflow, and it started successfully!

No comments:

Post a Comment