最近发现一个列表数据过大,每次发布infopath表单提示如下错误:
后来发现一个infopath表单通过list.asmx and Formsservice.asmx来进行发布的。
This error message generally occurs while publishing the InfoPath form to the SharePoint server. When there are more data connections and lot of customization done on the form, then it takes lot of time for the SOAP message to be parsed. The list.asmx and Formsservice.asmx will take more time.
数量大,需要执行这2个的web services的时间长,因此只需要修改该站点的web.config参数, timeou,如下图
<httpRuntime maxRequestLength="51200" executionTimeout="600" />
提示:修改前请备份好web.config
修改后再发布infopath表单成功。如下图:
、