有关在SharePoint Server中Infopath表单无法呈现的问题及解决方案

本文介绍了解决SharePoint2010中表单服务配置问题的过程,通过安装并配置StateService应用程序和服务代理解决了表单无法呈现的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天在我的笔记本电脑上配置基于SharePoint 2010的Forms Service,但是遇到一些问题,就是表单模板上传之后,点击创建后却无法呈现。错误消息如下:

image

关于这个问题,大致的意思是,可能没有启用状态服务。

 

为了解决这个问题,我参考了下面的文章

http://www.nanmu.net/sharepoint2010/sharepoint-2010-english/Lists/Posts/Post.aspx?ID=20

 

按照下面的红色标出的命令,依次执行之后,问题已经解决。摘录如下,给有同样问题的朋友参考

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

You may receive this error when trying to publish a page in SharePoint 2010

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.

Solution:
You would need to install the ‘State Service’ via the Configuration wizard in Central Administration or via PowerShell.

To configure the State Service by using Windows PowerShell:
1. Click Start, Administrative Tools, Windows PowerShell Modules.
2. In Windows PowerShell, type $serviceApp = New-SPStateServiceApplication -Name “State Service”
3. Create a State Service database and associate it with a service application, by typing New-SPStateServiceDatabase -Name “StateServiceDatabase” -ServiceApplication $serviceApp
4. Create a State Service Application Proxy and associate it with the service application by typing New-SPStateServiceApplicationProxy -Name “State Service” -ServiceApplication $serviceApp -DefaultProxyGroup
(You can use another proxy group if necessary by changing the DefaultProxyGroup parameter)

 

 

启动之后的State Service

image

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值