In SharePoint 2019, I have created a SharePoint Publishing Site with Workflow that created successfuly, but when submiting a page for approval I get this 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."
How I can solve this error to allow Publishing Workflow Form to be redndered?
To solve this error, you have first to configure the SharePoint State Service using PowerShell as the following:
Run the below cmdlet to create a new SharePoint State Service.
$serviceApp = New-SPStateServiceApplication -Name "State Service Application"
Again, run the below cmdlet to create the SharePoint State Service Database.
New-SPStateServiceDatabase -Name "SharePoint_Service_StateDB" -ServiceApplication $serviceApp
Finally, run the below cmdlet to create a new SharePoint State Service Proxy and attach it with the newly created SharePoint State Service.
New-SPStateServiceApplicationProxy -Name "State Service Application Proxy" -ServiceApplication $serviceApp -DefaultProxyGroup
SharePoint Central Administration
Manage Service Application
Most popular tags