Error "The form cannot be rendered. This may be due to a misconfiguration......"的解决方案

今天在自己的SharePoint 2013环境中,使用InfoPath发布FormSharePoint Library成功后,打开Site Collection-> Document Library使用Form Template新建Document时弹出下面Error"

The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePointServer State Service. For more information, contact your server administrator."

Machine generated alternative text:SharePoint LIBRARY N 已 BROWSE Document · FILES u , 03d 01e 〔 k Out 01e 〔 k In d 〔 h Out & 01e 〔 k Out View Properties 。 Manage 91zre Popularty Trends Share & Track Document Folder ment Create a new document in 区 library. Documents new docu ment or d rag files here Find a file All Documents My Documents

 

Machine generated alternative text:e http://sp2013/sites/Policy." 丨 吖 。 」 t 15/FormSE , 0 · 0 : 201 」 会 司 D004vE5 Governmance Automation C Compliance G uard n The form cannot be rendered- This may be due a misconfiguration ofthe Microsoft SharePoint Ser..-e State Service. For more information, contact your server administrator. *

 

经过Research验证,发现是SharePoint Farm中没有State ServiceApplication所致,下面我们来看下如何创State Service Application

 

  • 方法一:SharePoint Center Administration Configuration
    1. 登录SharePoint Center Administration-> Configuration Wizards,点击Start the Wizard

Machine generated alternative text:SharePoint Central Administration Application Management System Settlngs Momtonng Backup and Restore Security Upgrade and Migration General Application Settlngs Apps Office 3b5 Watermark Management Configuration Wizards Welcome How do you want № configure your SharePoint farm? This wizard will help With the initial configuration ofyour ShareP01nt farm. You can 回 e 〔 t the se 忙 e to use in this fa rm 引 create your first t 已 You can launch this , d again from the Configuration Wizards page In the Central Administration 点 t 巳 Newsfeed OneDrlve Sltes System ACCOU nt · SHARE St the ` , rd Cancel Yes walk me through the configuration of my fa rm using this wizard. No, WI configure everything myself.

  1. Service Application List中找到State Service,勾选点击Next Button创建,等待成功;

Machine generated alternative text:= http://sp2013 . 0 会 司 D004vE5 Governmance Automation C Compliance Guardian ShareP01nt , ' I n Ital Farm Configuration " Newsfeed OneDrlve Sltes System ACCOU nt · SHARE 囗 Secure Store Service Provides capability to store data . credential set) securely and associate 1 a specific identity or group of identities. StateService Provides temporary storage Of user session data for SharePoint Server components. usage and Health data collection This service collects farm wide usage and health data and provides the ability to view various usage and health reports.

  1. 此时重新在SharePoint中打开Library使用Form新建document成功,问题解决。

Machine generated alternative text:5 5 Commit Close 〔 , 1 靈 e 0 巾 、 rd Print Name dd , Born DO Com脅an, Home Address Born place

 

  • 方法二:命令行创建State Service Application
    1. Administrator方式打开SharePoint2013 Management Shell
    2. 输入命令创建新的State Service Application,命令如下:

New-SPStateServiceApplication-Name "State Service ApplicationName"

Machine generated alternative text:Share oint Newsfeed OneDrlve Sltes System ACCOU nt · SHARE BROWSE SERVICE APPLICATIONS New X Delete _ Mar.ge Ad 〔 0 , 亡 Security Admlnlstrator SharePoint 2013 Management Shell S C : XU s e rs Xadm in is t rat 0 ' . . DEMO > New—SPStateSeruiceRpp1ication —Name t at e S e i e Application 1 ' isplayName t at e S e iC e Rpp. T ypeName S t at e S e e Started Started Started Started Started Started Started Started Started Started Started Started n Web Service Application n Web Service Application Ice ConnectlOn Nice Application Nice Application Proxy eb Service Application n Proxy pplication plication 9 8 49 5 bl 8 —f 78 c 一 4h41 一 9 øøI —f 8 f 464bc c e a9 State Serv.ce User Profile Service Ap Upgrade and Migration General Application Settlngs Apps Office 3b5 Watermark Management Configuration Wizards S C : XU s e rs Xadm in is t rat 0 , . . DEMO > State Service Application 1 user Proflle Servlce Application

  1. 输入命令创建State Service ApplicationDatabaseProxy,命令如下:
  2. New-SPStateServiceDatabase -Name"State Service Database" | New-SPStateServiceApplication -Name"StateServiceApp1" | New-SPStateServiceApplicationProxy -DefaultProxyGroup

Machine generated alternative text:S C : XU s e rs Xadm in is t rat 0 , . . DEMO > Ne "—S PS t at e S e ru ic e Dat abas e —Name as e ' New—SPStateSeruiceRppIication —Name ceRppIicationProxy —DefaultPFOXYGroup t at e S e e Ne "—S PS t at e —c ø?f 9 ø21 f a84 —ba63 —4a5f —bdø3 T ypeName S t at e S e iC e Proxy 3 a3 f øe e 9 isplayName tateSeruiceRppI S C : XU s e rs Xadm in is t rat 0 , . . DEMO >

  1. 此时重新在SharePoint中打开Library使用Form新建document成功,问题解决。

Machine generated alternative text:5 5 Commit Close 〔 , 1 靈 e 0 巾 、 rd Print Name dd , Born DO Com脅an, Home Address Born place

 

以上就是两种解决此Error的方法,希望能帮助到大家,感谢阅读!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值