In this post i am going to explain how to resolve this warning message.

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

This error occurs when there is no service connection for state service is configured.

SharePoint Configuration

SharePoint Configuration

If you click on this hyper link, you will get this description of warning message.

 

Infopath form serverices Shapoint Review Problems and Solutions

Shapoint Review Problems and Solutions

 

This window gives us detail of warning, severity, category, explanation and remedy.

If you click on remedy it will take you at technet page http://technet.microsoft.com/library/ff805082.aspx

It shows you, cause and resolutions

It is showing two causes:

  1. The Render form templates that are browser-enabled by users check box in Central Administration is unticked.
  2.  The following Windows PowerShell command has been run: Set-SPInfoPathFormsService -AllowUserFormBrowserRendering $false.

Before to enable option ticked for allow user form browser rendering, we need to check either state service application is created or not? Because when you install SharePoint server and don’t run auto configuration wizard, installation wizard does not create state service application.

Create new State Service Application using Power Shall commands

1. Create a new state service application:

New-SPStateServiceApplication -Name “VmServer State Service Application”

2. Create new database for state service application

              New-SPStateServiceDatabase -Name “VM_StateServiceDB” -ServiceApplication “VmServer State Service Application”

    3. Create proxy for new state service application and add it to default proxy group

          New-SPStateServiceApplicationProxy -Name “VM State Service Application Proxy” -ServiceApplication “VM State Service Application” –DefaultProxyGroup

State Service Application

State Service Application

If you don’t want to add application proxy into default proxy group, you can omit this parameter.

Final two steps

  1. Go to Central Admin  click on  Application Management  then click on Manage Web Applications, highlight the web application, which you want to choose, then choose “Service Connections” and check the “State Service”
Configure Service Application Associations

Configure Service Application Associations

2. Make sure to Enable browser rendering of user forms by using Central Administration

Click on General Application Settings in central

 

SP 2010 Central Admin General Application settings

SP 2010 Central Administration

Click on configure InfoPath forms services; make sure first two check boxes are ticked.

Usre Browser enabled form template

Usre Browser enabled form template

Now if you reanalyze, warning message you received earlier, it should resolve thanks!

Be Sociable, Share!

Tags: , ,

Leave a Reply


*