当打开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*
时间: 2024-10-10 09:34:16