Lot of components like InfoPath Form services, Visio, Search Service, workflows, etc relies in State Service Application of SharePoint to store the application sessions. If its not configured already, you'd probably see error messages such as:
"The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator."
How to Create State Service application in SharePoint 2016?
State service application can't be created through new service application page. If you go to New dialog of Central Administration >> Manage Service Application page, you won't find it! here is how to create state service application in SharePoint 2016.
- Go to Central Administration site >> Click on "Configuration Wizards" link from the bottom
- In Configuration Wizards page >> click Launch the Farm Configuration Wizard link >> and then click "Start the Wizard".
- On the services configuration page, under Services applications section, select the State Service check box (select any other service applications you may require) and click Next.
- Click on Skip button if you set-up a top-level site collection. If not, go ahead and create it now by clicking OK.
Disadvantage: Configuration wizard creates state service database with GUIDs! E.g. StateService_2349fb4359fb45c9a5255562cb0eab0b. So, to avoid GUIDs in database, Create State service application using PowerShell:
SharePoint 2016: Create State Service Application using PowerShell
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue #Configuration variables $ServiceAppName = "State Service Application" $ServiceAppProxyName ="State Service Application" $DatabaseName ="SP16_State_Service" #Create New State Service application $StateServiceApp = New-SPStateServiceApplication -Name $ServiceAppName #Create Database for State Service App $Database = New-SPStateServiceDatabase -Name $DatabaseName -ServiceApplication $StateServiceApp #Create Proxy for State Service New-SPStateServiceApplicationProxy -Name $ServiceAppProxyName -ServiceApplication $StateServiceApp -DefaultProxyGroup Initialize-SPStateServiceDatabase -Identity $Database Write-host "State Service Application Created Successfully!"
You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.