Problem
You find the following entry in the SharePoint 2010 Central Administration Review problems and solutions All Reports listing:
Solution
Create the State Service application and proxy using the following PowerShell script:
Summary
This posting has presented a PowerShell method for resolving the SharePoint 2010 Health Analyzer warning. Using the PowerShell method avoids creating a database having a long name that includes a GUID string. For additional detail on the topics discussed in this posting, see the references below.
References
You find the following entry in the SharePoint 2010 Central Administration Review problems and solutions All Reports listing:
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: [servicename] |
Remedy | If a State Service application doesn't exist, create one by using the new-SPStateServiceApplication Powershell commandlet. For more information on configuring the State Service, see Help. For more information about this rule, see "http://go.microsoft.com/fwlink/?LinkID=142645". |
Failing Servers | [servername] |
Failing Services | SPTimerService (SPTimerV4) |
Rule Settings | View |
Solution
Create the State Service application and proxy using the following PowerShell script:
$mysa = New-SPStateServiceApplication -Name "State Service" New-SPStateServiceDatabase -Name "DB_StateService" –ServiceApplication $mysa New-SPStateServiceApplicationProxy -Name "State Service Proxy" -ServiceApplication $mysa –DefaultProxyGroup
Summary
This posting has presented a PowerShell method for resolving the SharePoint 2010 Health Analyzer warning. Using the PowerShell method avoids creating a database having a long name that includes a GUID string. For additional detail on the topics discussed in this posting, see the references below.
References
- SharePoint Health Analyzer rules reference (SharePoint Server 2010)
- InfoPath Forms Services forms cannot be filled out in a Web browser (SharePoint Server 2010)
- InfoPath Forms Services forms cannot be filled out in a Web browser because no State Service connection is configured (SharePoint Server 2010)
- SharePoint Health Analyzer rules reference (SharePoint Foundation 2010)
- State service and session state cmdlets (SharePoint Server 2010)
- Warning: InfoPath Forms Services forms cannot be filled out in a Web browser
No comments:
Post a Comment