Error after publishing form with infopath in Sharepoint 2010

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.
1. Create the service application. Start powershell from sharepoint menu:
$srvap=New-SPSStateserviceApplication -name "State Service" – this is the creation of the service application.
New-SPStateServiceDatabase -name "StateServiceDb"-ServiceApplication $srvAp – the creation of the database for the application
New-SPStateServiceApplicationProxy -Name "State Service" -ServiceApplication $srvap -DefaultProxyGroup
After that you could verify from Sharepoint central administration console: Central Administration – > Application Management ->Manage Service Applicatios

Leave a Reply

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

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

Google+ photo

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

Twitter picture

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

Facebook photo

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


Connecting to %s

%d bloggers like this: