Activar State Service Application en SharePoint 2013

Es posible que al intentar iniciar un workflow (o también al intentar publicar una página) os aparezca el siguiente 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.

Esto es porque falta por activar el servicio State Service Application. Podemos activarlo desde la consola de SharePoint (SharePoint 2013 Management Shell) con los siguientes tres scripts:

$serviceApp = New-SPStateServiceApplication -Name "<StateServiceName>"
New-SPStateServiceDatabase -Name "<StateServiceDatabase>" -ServiceApplication $serviceApp
New-SPStateServiceApplicationProxy -Name "<ApplicationProxyName>" -ServiceApplication $serviceApp -DefaultProxyGroup

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.