zoukankan      html  css  js  c++  java
  • Infopath链接REST Web Service出错

    在Infopath中使用REST Web Service出现如下错误:

    XML data that is required for this form to function correctly cannot be found.

    解决方案:

    Specify host names (Preferred method if NTLM authentication is desired)

    To specify the host names that are mapped to the loopback address and can connect to Web sites on your computer, follow these steps:

    1. Set the
      DisableStrictNameChecking
      registry entry to 1. For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
      281308 Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name
    2. Click Start, click Run, type regedit, and then click OK.
    3. In Registry Editor, locate and then click the following registry key:
      HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsaMSV1_0
    4. Right-click MSV1_0, point to New, and then click Multi-String Value.
    5. Type BackConnectionHostNames, and then press ENTER.
    6. Right-click BackConnectionHostNames, and then click Modify.
    7. In the Value data box, type the host name or the host names for the sites that are on the local computer, and then clickOK.
    8. Quit Registry Editor, and then restart the IISAdmin service.

    MSDN解释说需要:

    Set-SPInfoPathFormsService -AllowUdcAuthenticationForDataConnections $true -AllowUserFormCrossDomainDataConnections $true

    Set-SPInfoPathFormsService -AllowUdcAuthenticationForDataConnections $true -AllowUserFormCrossDomainDataConnections $true

    其中:

    • <BrowserEnablingSetting> 是一个指定是否允许用户发布启用浏览器功能的表单模板的布尔值。如果为 True,则允许用户发布启用浏览器功能的表单模板;否则为 False

    • <BrowserRenderingSetting> 是一个指定是否允许在 Web 浏览器中呈现启用浏览器功能的用户表单模板的布尔值。如果为 True,则允许呈现启用浏览器功能的用户表单模板;否则为False

    参考链接:http://technet.microsoft.com/zh-cn/library/cc262263.aspx



  • 相关阅读:
    微信JS SDK Demo
    微信jssdk常见错误及解决方法
    多机定时任务处理
    python zip压缩文件 并移动到指定目录
    Nginx + Uswgi + Django的部署
    pycharm 安装第三方库报错:AttributeError: 'module' object has no attribute 'main'
    zabbix监控
    转:老张喝茶 教你同步异步 阻塞与非阻塞
    odoo开发笔记 -- 多对多字段追加数据
    xml文件对比工具推荐:Altova XMLSpy 2013
  • 原文地址:https://www.cnblogs.com/batter152/p/4113092.html
Copyright © 2011-2022 走看看