首页 > 代码库 > Sharepoint安装Infopath Service

Sharepoint安装Infopath Service

当打开Infopath表单,出现如下错误信息的时候,表明Server State Service未安装:

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.

 

运行Powershell

Add-PSSnapin "Microsoft.SharePoint.Powershell" $serviceApp = New-SPStateServiceApplication -Name “State Service”#Create a State Service database and associate it with a service applicationNew-SPStateServiceDatabase -Name “StateServiceDatabase” -ServiceApplication $serviceApp#Create a State Service Application Proxy and associate it with the service applicationNew-SPStateServiceApplicationProxy -Name “State Service” -ServiceApplication $serviceApp -DefaultProxyGroup

 

查阅所有的State Service

gcm *spstate*

 

Sharepoint安装Infopath Service