This Wiki article will guide you through the steps of creating an import Service Application called State Service. A lot of SharePoint Components required this Service Application to store the status.


There are two ways to create the State Service Application:
  • Central Admin (using Farm Configuration Wizard)
  • Use Powershell

Farm Configuration Wizard

  1. Log in on Central Admin with a farm admin account with Local admin on the server
  2. On the Central Administration Web site, click Configuration Wizards.
  3. On the Configuration Wizards page, click the Launch the Farm Configuration Wizard.
  4. On the first page of the Farm Configuration Wizard, click Start the Wizard.14
  5. On the services configuration page:
    • In Service Accounts, either select the one from the list or use the new one.
    • In the Services section, select the State Service check box.1516
  6. Click Next.
    17
  7. Once it completes it will ask you create a new Site collection. Skip this and you are all set.

Create Via Powershell

  1. Launch the SharePoint Powershell console.
  2. Please login with your farm admin account
  3. Run the following command:
$serviceApp = New-SPStateServiceApplication -Name "StateService-App"
New-SPStateServiceDatabase -Name "SS-Database" -ServiceApplication $serviceApp
New-SPStateServiceApplicationProxy -Name "StateService-App" -ServiceApplication $serviceApp -DefaultProxyGroup