Wednesday, December 17, 2014

Error: The Form Cannot be Rendered. This May be Due to a Misconfiguration of the Microsoft SharePoint Server State Service

Introduction

I created a SharePoint 2010 workflow using SharePoint Designer 2013 and published the workflow. When I tried to start the workflow in the site I was getting the following error:

Share1.jpg

Error Message

"The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information contact your administrator."

Reason

This is because the State Service Application is not configured in the server. State Service is a shared service that is used by some Microsoft SharePoint Server 2010 components to store temporary data information for InfoPath form services that includes both out of the box and custom workflow forms so state service is required for both out of the box and custom workflow forms.

Solution

You need to configure State Service Application in the server. Open a Powershell window and run the following command:

New-SPStateServiceDatabase -Name "State Service Database" | New-SPStateServiceApplication -Name "State ServiceApplication" | New-SPStateServiceApplicationProxy -DefaultProxyGroup

Share2.jpg

Open Central Administration. Click on "Application Management". Click on "Manage Service Applications" that is available under the Service Applications section. You will be able to see the State Service application created successfully.

Share3.jpg

Now the workflow starts without any issues.

Summary

Thus in this article you have seen how to resolve "The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information contact your administrator" in SharePoint 2013.

No comments:

Post a Comment