When trying to add new item error related to state service

sns 9,226 Reputation points

When trying to add new item error related to state service as below

It is SharePoint 2016

User's image

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,294 questions
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,236 questions
0 comments No comments
{count} votes

Accepted answer
  1. Emily Du-MSFT 43,996 Reputation points Microsoft Vendor

    This issue is caused by the State Service Application is not configured in the server.

    You need to configure State Service Application in the server. Please run following PowerShell by using farm account.

    Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
    #Create New State Service application
    $StateServiceApp = New-SPStateServiceApplication -Name "State Service Application" 
    #Create Database for State Service App
    New-SPStateServiceDatabase -Name "SP16_State_Service" -ServiceApplication $StateServiceApp 
    #Create Proxy for State Service
    New-SPStateServiceApplicationProxy -Name "State Service" -ServiceApplication $StateServiceApp -DefaultProxyGroup 

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 additional answers

Sort by: Most helpful