当前位置:网站首页 > 更多 > 玩电脑 > 正文

[玩转系统] 如何在SharePoint 2013中创建状态服务应用程序?

作者:精品下载站 日期:2024-12-14 13:41:28 浏览:11 分类:玩电脑

如何在SharePoint 2013中创建状态服务应用程序?


当尝试使用基于浏览器的表单时,InfoPath 服务器场服务向我提供了以下错误消息:

“表格无法呈现。这可能是由于 Microsoft SharePoint Server 状态服务配置错误造成的。有关详细信息,请联系您的服务器管理员。”

如何在 SharePoint 2013 中创建状态服务应用程序?

状态服务存储请求之间的临时状态数据。当您使用 SharePoint 场配置向导时,它会自动创建状态服务应用程序。状态服务可以通过 PowerShell 创建,因为中央管理中没有提供。有 SharePoint 功能,例如 InfoPath Forms Services、工作流依赖于状态服务。

使用 PowerShell 配置状态服务


Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

#Create New State Service application
$StateServiceApp = New-SPStateServiceApplication -Name "State Service Application"  

#Create Database for State Service App
New-SPStateServiceDatabase -Name "SP13_State_Service" -ServiceApplication $StateServiceApp  

#Create Proxy for State Service
New-SPStateServiceApplicationProxy -Name "State Service" -ServiceApplication $StateServiceApp -DefaultProxyGroup  

配置状态服务应用程序 SharePoint 2016
上述脚本适用于 SharePoint 2016,还可以创建新的会话状态服务应用程序。

[玩转系统] 如何在SharePoint 2013中创建状态服务应用程序?

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯