The State service is one of the easiest to instantiate and requires just a few lines of PowerShell - you can even do it in one line if you want. This service application stores temporary data in the State database for use by other service applications and components, such as the Chart web part, some Search service crawl reports, and others.
Executing these commandlets obtains the results shown in the figure below$sa = New-SPStateServiceApplication -Name "State Service Application" New-SPStateServiceDatabase -Name "State" -ServiceApplication $sa New-SPStateServiceApplicationProxy -Name "State Service Application Proxy" -ServiceApplication $sa -DefaultProxyGroup
References
- New-SPStateServiceApplicationProxy
- New-SPStateServiceApplication
- Manage the State Service (SharePoint Server 2010)
Notes
- "The chart cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service." You'll see this error if you try to view the Search Service Crawl Rate crawl report and don't have a State service deployed yet to your farm. Just create a new State service application and this problem goes away immediately.
- tbd
No comments:
Post a Comment