Archive for October, 2010

Error after publishing form with infopath in Sharepoint 2010

October 7, 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