State service error message

SharePoint makes it easy to modify your list input forms using the new design the form page in InfoPath 2010 option

You can just open your list and click Customize form button in ribbon.

But sometimes while publishing the form you may see the error message as

“The form cannot be rendered. This may be due to Misconfiguration of the Microsoft SharePoint state service. For more information contact your server administrator” 

one possible cause of this error could be that the SharePoint 2010 farm was created manually without running the PS configuration wizard.

To configure the SharePoint 2010 state service using the PowerShell try the following:

1. open your Central Administration in the Browser.
2. On task bar, click Start, select Administrative tools and then windows PowerShell modules, this will launch PowerShell and load all required modules.
3. In windows PowerShell window create an application by typing this command.
   $serviceapp =New-SPStateServiceApplication -Name “State Service”

4. Associate a Database with this application

New- SPStateServiceDatabase -Name “StateServiceDatabase” -ServiceApplication $serviceapp

5. Create a State Service Application Proxy and associate it with service application by typing the Following command

New-SPStateServiceApplicationProxy -Name “State Service” -ServiceApplication $serviceApp -DefaultProxyGroup.

This will create the State service Application in CA

next you need to check is that you application is associated with this state service application.

just go ahead and publish your InfoPath form, it should work now 🙂


About Pratik Vyas

Hi Readers, Welcome to Pratik’s SharePoint Blog. First of all Thank you very much for taking interest and spending time to tour my Blog I am in the ocean of SharePoint since January 2008 (almost 4 years), and still I feel I have to go more deep. I am working with a well known MNC as a SharePoint Consultant. Here I used consultant because I do a little development and customization with administration. I am very much interested in Microsoft products. I have started blogging since 2008 but I can say in real manner I have started it in 2011 (as I have posted only 4-5 blogs from 2008 to 2011 J) I believe there isn’t anything impossible in SharePoint, the only thing is sometimes we have to think something off track. I have posted couple of blogs which was discovered by going some off track, we can simply say it TRICKS. Feel free to reach me in case of any issues or queries I will be more than happy to help you. Good bye and Happy Reading, Cheers !!
This entry was posted in new state service, The form cannot be rendered. This may be due to Misconfiguration of the Microsoft SharePoint state service. For more information contact your server administrator. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s