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."

Error "The form cannot be rendered. This may be due to a misconfiguration......"的解决方案_第1张图片

 

Error "The form cannot be rendered. This may be due to a misconfiguration......"的解决方案_第2张图片

 

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

 

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

Error "The form cannot be rendered. This may be due to a misconfiguration......"的解决方案_第3张图片

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

Error "The form cannot be rendered. This may be due to a misconfiguration......"的解决方案_第4张图片

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

 

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

New-SPStateServiceApplication-Name "State Service ApplicationName"

Error "The form cannot be rendered. This may be due to a misconfiguration......"的解决方案_第5张图片

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

Error "The form cannot be rendered. This may be due to a misconfiguration......"的解决方案_第6张图片

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

Error "The form cannot be rendered. This may be due to a misconfiguration......"的解决方案_第7张图片

 

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

你可能感兴趣的:(解决方案,SharePoint,infopath)