如果你的SharePoint出现了,状态服务问题,InfoPath无法正常使用
2016-04-14 22:18
399 查看
Create a new ‘State Service’ Service Application using Powershell
February 14, 2012Leave a commentGo to commentsI encountered this issue and had some trouble finding the correct info on it, so I thought that I’s share a good guide with all of you.
If you have made the correct choice to not run the configuration wizard to install all of the Service Applications…then you may encounter that you are missing the State Service Application. It can also be from deleting it after it was created by the wizard…
This Service Application is not available for creation in the New dialog in Central Administration, Manage Service Application, so it requires some special treatment.
An example of how it can look when this service Application is missing can look like this (in Health analyzer):
Title : InfoPath Forms Services forms cannot be filled out in a Web browser because no State Service connection is configured.
Severity : 2 – Warning
Category : Configuration
Explanation : InfoPath Forms Services is not functional on the following Web applications because there is no service connection configured for the State Service: SharePoint – 80
Remedy : If a State Service application doesn’t exist, create one by using the new-SPStateServiceApplication Powershell commandlet. For more information on configuring the State Service, see Help. For more information about this rule, see “http://go.microsoft.com/fwlink/?LinkID=142645“.
Failing Servers: XXXXXXXX
Failing Services: SPTimerService (SPTimerV4)
The obvious command new-SPStateServiceApplication gives you this:
PS C:\Media\ConfigScript> New-SPStateServiceApplication -Name “State Service Application” -Database “SharePoint_Service _State” New-SPStateServiceApplication : The pipeline has been stopped. At line:1 char:30 + New-SPStateServiceApplication <<<< -Name “State Service Application” -Database “SharePoint_Service_State” + CategoryInfo : InvalidData: (Microsoft.Offic…plicationCmdlet:NewStateServiceApplicationCmdlet) [New-S PStateServiceApplication], PipelineStoppedException + FullyQualifiedErrorId : Microsoft.Office.Server.Administration.NewStateServiceApplicationCmdlet
New-SPStateServiceApplication : The specified object was not found. Parameter name: Database At line:1 char:30 + New-SPStateServiceApplication <<<< -Name “State Service Application” -Database “SharePoint_Service_State” + CategoryInfo : InvalidArgument: (Microsoft.Offic…plicationCmdlet:NewStateServiceApplicationCmdlet) [N ew-SPStateServiceApplication], ArgumentException + FullyQualifiedErrorId : Microsoft.Office.Server.Administration.NewStateServiceApplicationCmdlet
Do not let this put you down, the correct way to create a new State Service Application is a bit different, no thanks to the get-help command…the syntaxt to use is as follows:
1. $serviceApp = New-SPStateServiceApplication -Name “State Service Application”
2. New-SPStateServiceDatabase -Name “SharePoint_Service_State” -ServiceApplication $serviceApp
3. New-SPStateServiceApplicationProxy -Name “State Service Application Proxy” -ServiceApplication $serviceApp -DefaultProxyGroup
Thats it!
相关文章推荐
- 怎样利用Linux记录查询找出黑客
- centos7火狐插件安装flash插件;
- 设置xx-net,访问youtube等国外网站
- Centos 7.0 忘记密码,如何重置
- Linux下进程间通信之共享内存
- 1.2.6 Linux distributions
- 创建 Image - 每天5分钟玩转 OpenStack(21)
- Linux下常用的C/C++开源Socket库
- Linux下的Autoconf和AutoMake
- 在tomcat下部署工程
- 网站导航固定头部
- 1.2.5 Linux的内核版本
- 1.2.4 Linux的开发:虚拟团队的产生
- maven实战(08)_自动部署war到tomcat8
- Linux进程调度——schedule()函数分析
- 1.2.3 初次释出Linux 0.02
- 最新Hadoop-2.7.2+hbase-1.2.0+zookeeper-3.4.8 HA高可用集群配置安装
- 小谈业务应用架构
- Linux---centos搭建SVN服务器
- OpenCV学习笔记(五十六)——InputArray和OutputArray的那些事core OpenCV学习笔记(五十七)——在同一窗口显示多幅图片 OpenCV学习笔记(五十八)——读《Mast