Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
2.8k views
in SharePoint Server by

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."

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?


1 Answer

0 like 0 dislike
by 159 198 381
selected by anonymous
 
Best answer

Solving: 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.

To solve this error, you have first to configure the SharePoint State Service using PowerShell as the following:

  1. Open SharePoint 2019 PowerShell as Administrator.
  2. Run the below cmdlet to create a new SharePoint State Service.

     $serviceApp = New-SPStateServiceApplication -Name "State Service Application"
    
  3. Again, run the below cmdlet to create the SharePoint State Service Database.

     New-SPStateServiceDatabase -Name "SharePoint_Service_StateDB" -ServiceApplication $serviceApp
    
  4. 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
    
  5. Open SharePoint Central Administration > Application Management > Manage Service Application, Make sure that the SharePoint State Service is listed with its proxy and started properly.
    Create a State Service in SharePoint 2019
  6. Go back to submit your page workflow form that should be working properly now.
    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.

See Also

If you don’t ask, the answer is always NO!
...