All State Service databases are paused for a State Service Application (SharePoint Server)
Rule Name: All State Service databases are paused for a State Service Application
Summary: All of the databases associated with a State Service service application are paused. This may result in errors when using some SharePoint Server 2016 and SharePoint 2013 components such as InfoPath Web browser forms and the Microsoft SharePoint Chart Web Part.
Cause: This might be caused by the administrator pausing all databases for the service application.
Resolution: Resume the State Service service application databases by using Microsoft PowerShell
- Verify that you have the following memberships:
securityadmin fixed server role on the SQL Server instance.
db_owner fixed database role on all databases that are to be updated.
Administrators group on the server on which you are running the PowerShell cmdlets.
An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint Server cmdlets.
If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about PowerShell permissions, see Add-SPShellAdmin.
Start the SharePoint Management Shell.
For more information about how to interact with Windows Server 2012 R2, see Common Management Tasks and Navigation in Windows.
To identify the paused database, type the following command at the PowerShell command prompt:
- If you want to resume a paused database, type the following command at the Windows PowerShell command prompt:
Resume-SPStateServiceDatabase -Identity <DatabaseID>
- <DatabaseID> is the identifier for the State Service service application database as a GUID.
- If you want to create a new database instead of using an existing database, type the following command at the Windows PowerShell command prompt:
New-SPStateServiceDatabase -Name <DatabaseName> -ServiceApplication <ID> -DatabaseServer <ServerName> [-DatabaseCredentials <Credential>]
<DatabaseName> is name of the database as a string.
<ID> is the identifier for the affected State Service service application as a string or a GUID. If there is only one State Service service application, you do not have to specify this parameter.
<ServerName> is name of the database server.
<Credential> is SQL Server authentication credentials for the database server. If this parameter is not specified, Windows authentication will be used.
Send feedback about: