使用infopath 2013 dataconnection在Sharepoint 2016上进行Web服务时出现错误5566 [英] Error 5566 on web service with Sharepoint 2016 using infopath 2013 dataconnection

查看:77
本文介绍了使用infopath 2013 dataconnection在Sharepoint 2016上进行Web服务时出现错误5566的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有,我正在努力了解我的错误,因为我的数据连接网络服务无效。 这是我的步骤


我创建了与UserProfileService的数据连接并选择了GetUserProfilebyName然后保存了连接


接下来我将连接保存到数据连接网站集网站上的doclibrary并进行了以下修改dc:身份验证>< udc:SSO AppId ='TargetAppID'CredentialType ='NTLM'/>< / udc:身份验证>通过下载文件
并重新上传它。


我尝试了它并得到了这个错误:查询数据源时出错。单击"确定"以继续填写表单。您可能需要检查表单数据是否有错误。 找不到目标应用程序(应用程序ID:TargetAppID)。


我读到我需要在安全存储中注册它,所以我做了名字: SP-Target-ProfileService


我试过了,得到了这个误差:&NBSP;查询数据源时发生错误。单击"确定"以继续填写表单。您可能需要检查表单数据是否有错误。 找不到目标应用程序(应用程序ID:
SP-Target-ProfileService
)&NBSP;&NBSP;任何人都可以告诉我我做错了什么。



解决方案


在将以下代码添加到UDCX文件之前,请创建一个新的Secure Store Service目标应用程序,然后添加帐户信息。为此,请按照下列步骤操作:


1.打开SharePoint 2016 Central Administrator。


2.单击"应用程序管理",然后单击"管理服务应用程序"。 。


3.单击Secure Store Service。


4.单击New。按照"创建新的安全存储目标应用程序"页面上的说明配置目标应用程序设置。请注意您在"目标应用程序ID"框中输入的字符串。


注意确保在创建新的Secure Store Service目标应用程序之前生成新密钥。


5.指向刚刚创建的目标应用程序的名称,然后从下拉列表中选择"设置凭据"。


6.输入Secure Store Service目标应用程序的帐户信息,然后单击"确定"。

 < UDC:认证> 
< udc:SSO AppId ='TargetAppID'CredentialType ='NTLM'/>
< / udc:身份验证>

 转到 管理中心>一般应用程序设置>配置InfoPath Forms Services Web服务代理,检查是否已启用这两个选项。


并确保在SharePoint服务器上设置了DisableLoopbackCheck。


更多信息:


http://www.decimadefense。 com / it / sharepoint-2013-log-id5566 /


最好的问候,


Dennis


All, I am trying to understand what I am doing wrong as my data connection web service is not working.  Here is my steps

I created a data connection to the UserProfileService and selected GetUserProfilebyName then saved the connection

Next I saved the connection to a data connection doclibrary on the site collection site and made the following modification dc:Authentication><udc:SSO AppId='TargetAppID' CredentialType='NTLM' /></udc:Authentication> by downloading the file and reuploading it.

I tried it and got this error: An error occurred querying a data source. Click OK to resume filling out the form. You may want to check your form data for errors.  Target application not found (application id: TargetAppID).

I read that I needed to register this in the secure store so I did under the name:SP-Target-ProfileService

I tried it and got this error:  An error occurred querying a data source. Click OK to resume filling out the form. You may want to check your form data for errors.  Target application not found (application id: SP-Target-ProfileService ).   Can anyone please advise me what I am doing wrong.

解决方案

Hi,

Before you add the code below into UDCX file, please create a new Secure Store Service target application, and then add the account information. To do this, follow these steps:

1.Open SharePoint 2016 Central Administrator.

2.Click Application Management, and then click Manage service applications.

3.Click Secure Store Service.

4.Click New. Follow the instructions on the Create New Secure Store Target Application page to configure the target application settings. Note the string that you enter into the Target Application ID box.

Note Make sure that a new key is generated before you create a new Secure Store Service target application.

5.Point to the name of target application that you just created, and then select Set Credentials from the drop-down list.

6.Enter the account information for the Secure Store Service target application, and then click OK.

<udc:Authentication>
<udc:SSO AppId='TargetAppID' CredentialType='NTLM' />
</udc:Authentication>

And go to Central Administration > General Application Settings > Configure InfoPath Forms Services Web Service Proxy, check if both options are enabled.

And be sure that DisableLoopbackCheck is set on the SharePoint servers.

More information:

http://www.decimadefense.com/it/sharepoint-2013-log-id5566/

Best Regards,

Dennis


这篇关于使用infopath 2013 dataconnection在Sharepoint 2016上进行Web服务时出现错误5566的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆