The state service is a shared service for SharePoint to store temporary data.
Also the state services cannot be installed from the GUI.
Note, Run as Administrator opening the SharePoint Management Shell
The following Powershell commands will set up the state services with your own database name.
New-SPStateServiceApplication -Name "State Service Application"
Get-SPStateServiceApplication| New-SPStateServiceApplicationProxy –defaultproxygroup
Get-SPStateServiceApplication| New-SPStateServiceDatabase -Name "State_Service_DB"
Get-spdatabase | where-object {$_.type -eq "Microsoft.Office.Server.Administration.StateDatabase"} | initialize-spstateservicedatabase
No comments:
Post a Comment