SharePoint 2010 – 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.

You may receive this error when trying to publish a page in SharePoint 2010

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.

Solution:
You would need to install the ‘State Service’ via the Configuration wizard in Central Administration or via PowerShell.

To configure the State Service by using Windows PowerShell:
1. Click Start, Administrative Tools, Windows PowerShell Modules.
2. In Windows PowerShell, type $serviceApp = New-SPStateServiceApplication -Name “State Service”
3. Create a State Service database and associate it with a service application, by typing New-SPStateServiceDatabase -Name “StateServiceDatabase” -ServiceApplication $serviceApp
4. Create a State Service Application Proxy and associate it with the service application by typing New-SPStateServiceApplicationProxy -Name “State Service” -ServiceApplication $serviceApp -DefaultProxyGroup
(You can use another proxy group if necessary by changing the DefaultProxyGroup parameter)

Tip:

You can view a list of all State Service cmdlets in Windows PowerShell by typing gcm *spstate*

Share
Leave a comment ?

23 Comments.

  1. Excellent! Works like a charm.

    Thanks very much.

  2. Excellent… thanks for posting this!

  3. Thank you very much! Actually You saved my life (or so!)
    I spent a whole day trying many things to manage this issue. Then I had the idea to transalte the french message I had in english (thanks to google translation), and found your post…

    Great job! Thanks

  4. Thank you so much. You have no idea how much trouble you saved me on this!!!

  5. Thank you, this solved my problem.
    I am very grateful for this description!
    -John

  6. Awesome , worked perfectly

  7. Thanks alot, I’m following some videos and I saw how the trainer edit the form directly in the Browser, and I said I want to do the same, but was hard to find the answer also in Microsoft MSDN….

    Again THANKS ALOT

  8. The PowerShell script worked perfectly. Thank you!

  9. Wonder full, it’s a magic. it’s work fine.
    Thank you for posting this article.

  10. This work great..

    Thanks

  11. Genius, Thanks!

  12. Amazing JOB Boss Great thank you ,,, really u save lot of time by posting this

  13. 10x God for ppl like u – posting quality stuff… !

  14. It seems it worked for all but not for me :( I have sharepoint 2010 installed on windows 7 and the state service is running, but I get this error every time I try to create a workflow.
    please help

  15. Thanks a ton. Really works like a charm!! :)

  16. Funziona! Grazie :lol:

  17. Excellent

  18. oh my god you are perfect boy thank you this is very excellent answer

  19. Maruti Hattarkal

    :lol: Good one

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>