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

In Health analyzer in SharePoint 2013 Central Administration, I found out the below warning under Configuration Category.

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

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


Cause:

This warning might raise because of

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

Solution

State Service service application is configured but not connected to the SharePoint web application.

  • 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).

Reconfigure State Service Application.

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 with the web application as above mentioned in Cause (1).
  • Go to check the Health Analyzer, Click on the warning, Analyze it now,  the warning should now be disappeared in the issue list.

Configure State Service Application

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

  • Make sure the service is already associated with the web application.
  • Go to check the Health Analyzer, Click on the warning, Analyze it now,  the warning should now be disappeared in the issue list.

Applies To
  • SharePoint 2016.
  • Sharepoint 2013.
  • SharePoint 2010.
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 )

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