How to Create Session State Service Application

The Session State Service Application cannot be created from the Central Administration. For doing so, we have to do it through powershell. Here are the commands to create the database, the proxy service application and the service application.

Open powershell with administrator rights and type:

$serviceApp = New-SPStateServiceApplication -Name "StateServiceApplication"

New-SPStateServiceDatabase -Name "StateService_DB" -ServiceApplication $serviceApp

New-SPStateServiceApplicationProxy -Name "StateServiceApplicationProxy" -ServiceApplication $serviceApp –DefaultProxyGroup

s1

After that you should see the service application and its application proxy in the Central Admin UI.

s2

Hope it helps!

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s