Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

InfoPath – State Service Application is required

When using InfoPath in your Sharepoint 2013 environment, if you don’t have the State Service configured in the farm you’ll see the error below, “The form cannot be rendered.  This may be due to a misconfiguration of the Microsoft SharePoint Server State Service”.

infopathstateserviceerror

Resolution:

  1.  See if the state service has been configured by running this PowerShell command:

Get-SPStateServiceApplication

If the State Service is configured you’ll receive the following information back from SharePoint.

stateserviceconfigured

2.  If the State Service has not been configured, execute the following PowerShell command to create and start it.

#Provision the state service
New-SPStateServiceApplication -Name “State Service Application”
Get-SPStateServiceApplication | New-SPStateServiceApplicationProxy -DefaultProxyGroup
Get-SPStateServiceApplication | New-SPStateServiceDatabase -Name “State_Service_DB”
Get-spdatabase | Where-Object {$_.type -eq “Microsoft.Office.Server.Administration.StateDatabase”} | initialize-spstateservicedatabase

Resources:   InfoPath Forms Services not working due to invalid State Service configuration – Event 7898 (SharePoint Server 2010)

Share the post

InfoPath – State Service Application is required

×

Subscribe to Msdn Blogs | Get The Latest Information, Insights, Announcements, And News From Microsoft Experts And Developers In The Msdn Blogs.

Get updates delivered right to your inbox!

Thank you for your subscription

×