Search This Blog

Monday, November 18, 2013

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

Title:  InfoPath Forms Services forms cannot be filled out in a Web browser because no State Service connection is configured. 
Severity:  2 - Warning 
Category:Configuration 
Explanation:
InfoPath Forms Services is not functional on the following Web applications because there is no service connection configured for the State Service: SharePoint - 80  

Resolution
If a State Service application doesn't exist, create one by using the new-SPStateServiceApplication Powershell commandlet.

$stateName = "State Service Application"
$stateDBName = "SP_DB_State_Service"
$stateDB = New-SPStateServiceDatabase -Name $stateDBName
$state = New-SPStateServiceApplication -Name $stateName -Database $stateDB
New-SPStateServiceApplicationProxy -Name "$stateName Proxy" -ServiceApplication $state
-DefaultProxyGroup

DisplayName                 TypeName                                Id
-----------                     --------                                      --
State Service App...        State Service Proxy                    3c******-****-****-a8c4-5****008****

No comments:

Post a Comment

Propellerads