InfoPath Forms Services forms cannot be filled out in a Web browser because no State Service connection is configured

During checking the Health analyzer in SharePoint 2013 Central Administration I found out the following warning below Configuration Category.

InfoPath Forms Services forms cannot be filled out in a Web browser because no State Service connection is configured

infopath form error because no state service is configuredCause:

This warning might raise because of

  1. State Service service application was configured but not connected to the SharePoint web application.
  2. State Service service application was configured and connected to the SharePoint web application but it needs to reconfigure again.
  3. State Service service application was not configured.

Solution:

With respect to Cause (1)

  • Open Central Administration as farm account.
  •  Application Management > Application Management > Web Application > Manage Web Application.

Manage Web Application

  • Select Web Application > Click on Service Connection.
  • Service ConnectionMake sure that the State Service Proxy was checked.

state service connection

  • Go back to the Central Administration > Monitoring > Review problems and solutions.

Review problem and solutions

  • Click on the Warning > From the ribbon, select Reanalyze Now.

Reanalyze now

  • Wait a moment then go back to review problems and solutions again, where the warning should be now disappeared.
  • If the warning still persists, go to Cause (2).

With respect to Cause (2)

If the State Service was configured and connected to the web application and the warning still persists, so you should delete the current State Service and reconfigure it again by following:

  • Open Central administration as farm account.
  • Application Management –> Service Application –> Manage Service Application.
  • manage service application.PNGSelect State Service Application.

state service.png

  • Click Delete from the above ribbon.

delete service application

  • Delete Service Application > Check Delete data associated with the service application.

delete service application and all related

  • Open SharePoint Management Shell as administrator.

Run SharePoint Management Shell as Administrator

  • Create a New State Service Application with its proxy by typing the following cmdlets one by one.

$serviceApp = New-SPStateServiceApplication -Name "State Service Application"
New-SPStateServiceDatabase -Name "SharePoint_Service_StateDB" -ServiceApplication $serviceApp
New-SPStateServiceApplicationProxy -Name "State Service Application Proxy" -ServiceApplication $serviceApp -DefaultProxyGroup

  • Go back again to check if it’s associated to web application as above mentioned in Cause (1).
  • Go to check the Health Analyzer, the warning should now be disappeared in the issue list.

With respect to Cause (3)

To configure the State Service, you should follow the mentioned steps below.

  • Open SharePoint Management Shell as administrator.

Run SharePoint Management Shell as Administrator

  • Create a New State Service Application with its proxy by typing the following cmdlets one by one.

$serviceApp = New-SPStateServiceApplication -Name "State Service Application"
New-SPStateServiceDatabase -Name "SharePoint_Service_StateDB" -ServiceApplication $serviceApp
New-SPStateServiceApplicationProxy -Name "State Service Application Proxy" -ServiceApplication $serviceApp -DefaultProxyGroup

  • Go back again to check if it’s associated to web application as above mentioned in Cause (1).
  • Go to check the Health Analyzer, the warning should now be disappeared in the issue list.

Enjoy 🙂

Advertisements

2 thoughts on “InfoPath Forms Services forms cannot be filled out in a Web browser because no State Service connection is configured

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s