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 application
New-SPStateServiceDatabase -Name “StateServiceDatabase” -ServiceApplication $serviceApp

#Create a State Service Application Proxy and associate it with the service application
New-SPStateServiceApplicationProxy -Name “State Service” -ServiceApplication $serviceApp -DefaultProxyGroup

 

查阅所有的State Service

gcm *spstate*

 

posted @ 2014-11-14 12:46  batter152  阅读(232)  评论(0编辑  收藏  举报