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
I was beginig the integration in the production plateform. But i found an error when i had to display a customized infopath form :
After googling it seems that the state service is not configured correctly. But when i look into the services in the central administration, the state service is configured and selected for my sharepoint application. So, i created a new one using the Sharepoint PowerShell tool :
$serviceApp = New-SPStateServiceApplication -Name "<StateServiceName>"
New-SPStateServiceDatabase -Name "<StateServiceDatabase>"
-ServiceApplication $serviceApp
New-SPStateServiceApplicationProxy -Name "<ApplicationProxyName>"
-ServiceApplication $serviceApp -DefaultProxyGroup
Where :<StateServiceName> is the name for the service application.
<StateServiceDatabase> is the name of the State Service database to create
and associate with the service application.
<ApplicationProxyName> is the name of the application proxy.
After that, i attached my new State sevice to my sharepoint application in the central administration (Application Mangement -> Configure Service application Associations ) And every thing works correctly :)


Comments
Post a Comment