将UserProfileService.asmx和UserGroup.asmx与Infopath表单一起使用

编程入门 行业动态 更新时间:2024-10-26 02:35:16
本文介绍了将UserProfileService.asmx和UserGroup.asmx与Infopath表单一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

当我使用Web服务获取一些用户信息时,出现两个 5566 错误.

I am getting two5566errors when I use web services to get some user information.

我需要知道已登录用户的组,以防止显示部分...

I need to know the group of the logged user in order to prevent a section to be showed...

让我描述一下我的客户 Sharepoint 2010 服务器场环境

Let me describe my client Sharepoint 2010 farm environment

两个fron终端服务器

Two fron End Server

中央管理服务器

SQL服务器

网站集使用Claims身份验证类型用于两个区域(默认和Internet),并且身份验证提供程序具有启用Windows身份验证".选中集成的Windows身份验证"检查并"NTLM"选择.

The Site collection uses Claims authentication types for two zones (Deafult and Internet) and the authentication provider has "Enable Windows Authentication" checked, "Integrated windows Authentication" checked and "NTLM" selected.

对于Web应用程序使用的两个区域,中央管理都将禁用匿名访问

The anonymous access is disable from Central admin for both zones that the webapp uses

该表单位于网站集级别(无子网站)

The form is located at site collection level (No Subsites)

该表单后面没有代码.

表单将信息隐藏到共享点列表中.

The form submist info to a Sharepoint List.

始终使用Internet Explorer

Using Internet Explorer allways

这是SharePoint日志

This is the SharePoint log

2011/07/15 10:47:51.65 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 监视 nasq 中等 输入受监视的范围(请求(POST(MyTestDomain:80/_vti_bin/UserProfileService.asmx)))

07/15/2011 10:47:51.65 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (POST:MyTestDomain:80/_vti_bin/UserProfileService.asmx))

2011/07/15 10:47:51.65 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 记录相关数据 xmnv 中等 名称=请求(POST:MyTestDomain:80/_vti_bin/UserProfileService.asmx) 2b401d92-bd9b-4fcc-8713-6f89d8d9720e

07/15/2011 10:47:51.65 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:MyTestDomain:80/_vti_bin/UserProfileService.asmx) 2b401d92-bd9b-4fcc-8713-6f89d8d9720e

2011/07/15 10:47:51.65 w3wp.exe(0x1358) 0x0CF0 SharePoint Portal Server 用户个人资料 fvg3 中等 SoapAction:"microsoft/webservices/SharePointPortalServer/UserProfileService/GetUserProfileByName" 2b401d92-bd9b-4fcc-8713-6f89d8d9720e

07/15/2011 10:47:51.65 w3wp.exe (0x1358) 0x0CF0 SharePoint Portal Server User Profiles fvg3 Medium SoapAction: "microsoft/webservices/SharePointPortalServer/UserProfileService/GetUserProfileByName" 2b401d92-bd9b-4fcc-8713-6f89d8d9720e

2011/07/15 10:47:51.65 w3wp.exe(0x1358) 0x0CF0 SharePoint Portal Server 用户个人资料 fvg4 中等 <?xml version ="1.0" encoding ="utf-8"?< SOAP-ENV:Envelope xmlns:SOAPSDK1 ="www.w3/2001/XMLSchema"; xmlns:SOAPSDK2 ="www.w3/2001/XMLSchema-instance"; xmlns:SOAPSDK3 ="schemas.xmlsoap/soap/encoding/" xmlns:SOAP-ENV ="schemas.xmlsoap/soap/envelope/"< SOAP-ENV:Body>< tns:GetUserProfileByName xmlns:tns ="microsoft/webservices/SharePointPortalServer/UserProfileService">< tns:AccountName></tns:AccountName></tns:GetUserProfileByName></SOAP-ENV:Body> ;</SOAP-ENV:Envelope> 2b401d92-bd9b-4fcc-8713-6f89d8d9720e

07/15/2011 10:47:51.65 w3wp.exe (0x1358) 0x0CF0 SharePoint Portal Server User Profiles fvg4 Medium <?xml version="1.0" encoding="utf-8"?><SOAP-ENV:Envelope xmlns:SOAPSDK1="www.w3/2001/XMLSchema" xmlns:SOAPSDK2="www.w3/2001/XMLSchema-instance" xmlns:SOAPSDK3="schemas.xmlsoap/soap/encoding/" xmlns:SOAP-ENV="schemas.xmlsoap/soap/envelope/"><SOAP-ENV:Body><tns:GetUserProfileByName xmlns:tns="microsoft/webservices/SharePointPortalServer/UserProfileService"><tns:AccountName></tns:AccountName></tns:GetUserProfileByName></SOAP-ENV:Body></SOAP-ENV:Envelope> 2b401d92-bd9b-4fcc-8713-6f89d8d9720e

2011/07/15 10:47:51.65 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 记录相关数据 xmnv 中等 Site =/ 2b401d92-bd9b-4fcc-8713-6f89d8d9720e

07/15/2011 10:47:51.65 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 2b401d92-bd9b-4fcc-8713-6f89d8d9720e

07/15/2011 10:47:51.66 w3wp.exe(0x1358) 0x0CF0 SharePoint Portal Server 用户个人资料 olhl 中等 访问被拒绝调用用户0#.w | nt权限\ iusr的Web服务. 2b401d92-bd9b-4fcc-8713-6f89d8d9720e

07/15/2011 10:47:51.66 w3wp.exe (0x1358) 0x0CF0 SharePoint Portal Server User Profiles olhl Medium Access denied calling web service for user 0#.w|nt authority\iusr. 2b401d92-bd9b-4fcc-8713-6f89d8d9720e

07/15/2011 10:47:51.66 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 监视 b4ly 中等 离开受监视的范围(请求(POST(MyTestDomain:80/_vti_bin/UserProfileService.asmx)).执行时间= 13.3408016940701 2b401d92-bd9b-4fcc-8713-6f89d8d9720e

07/15/2011 10:47:51.66 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:MyTestDomain:80/_vti_bin/UserProfileService.asmx)). Execution Time=13.3408016940701 2b401d92-bd9b-4fcc-8713-6f89d8d9720e

07/15/2011 10:47:51.66 w3wp.exe(0x1358) 0x0CEC InfoPath Forms Services 运行时-数据连接 7tfk 中等 在OnLoad期间数据适配器失败:远程服务器返回错误:(500)Internal Server Error.服务器无法处理请求. --->尝试执行未经授权的操作. 0f508bad-b1f4-486b-9368-b17f72a19757

07/15/2011 10:47:51.66 w3wp.exe (0x1358) 0x0CEC InfoPath Forms Services Runtime - Data Connections 7tfk Medium Data adapter failed during OnLoad: The remote server returned an error: (500) Internal Server Error. Server was unable to process request. ---> Attempted to perform an unauthorized operation. 0f508bad-b1f4-486b-9368-b17f72a19757

07/15/2011 10:47:51.66 w3wp.exe(0x1358) 0x0CEC InfoPath Forms Services 运行时-数据连接 eq8l 警告 以下查询失败:GetUserProfileByName(用户:0#.w | steinertest \ david.cano,表单名称:UserChangeRequestUsingListTemplate,IP:,连接目标:,请求:MyTestDomain/Lists/User Change Request/AllItems.aspx,表单ID:urn:schemas-microsoft-com:office:infopath:UserChangeRequestUsingListTemplate:-dataFormSolution 类型:DataAdapterException,异常消息:远程服务器返回错误:(500)Internal Server Error.服务器无法处理请求. --->试图执行未经授权的操作.远程服务器返回错误:(500) 内部服务器错误.) 0f508bad-b1f4-486b-9368-b17f72a19757

07/15/2011 10:47:51.66 w3wp.exe (0x1358) 0x0CEC InfoPath Forms Services Runtime - Data Connections eq8l Warning The following query failed: GetUserProfileByName (User: 0#.w|steinertest\david.cano, Form Name: UserChangeRequestUsingListTemplate, IP: , Connection Target: , Request: MyTestDomain/Lists/User Change Request/AllItems.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:UserChangeRequestUsingListTemplate:-dataFormSolution Type: DataAdapterException, Exception Message: The remote server returned an error: (500) Internal Server Error. Server was unable to process request. ---> Attempted to perform an unauthorized operation. The remote server returned an error: (500) Internal Server Error.) 0f508bad-b1f4-486b-9368-b17f72a19757

07/15/2011 10:47:51.66 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 监视 nasq 中等 进入监视范围(请求(POST(MyTestDomain:80/_vti_bin/UserGroup.asmx)))

07/15/2011 10:47:51.66 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (POST:MyTestDomain:80/_vti_bin/UserGroup.asmx))

07/15/2011 10:47:51.66 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 记录相关数据 xmnv 中等 名称=请求(POST:MyTestDomain:80/_vti_bin/UserGroup.asmx) bd7b7358-740b-4bc3-aeb8-3c42c5bec4da

07/15/2011 10:47:51.66 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:MyTestDomain:80/_vti_bin/UserGroup.asmx) bd7b7358-740b-4bc3-aeb8-3c42c5bec4da

07/15/2011 10:47:51.66 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 监视 b4ly 中等 离开受监视范围(请求(POST(MyTestDomain:80/_vti_bin/UserGroup.asmx)).执行时间= 2.04998121269603 bd7b7358-740b-4bc3-aeb8-3c42c5bec4da

07/15/2011 10:47:51.66 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:MyTestDomain:80/_vti_bin/UserGroup.asmx)). Execution Time=2.04998121269603 bd7b7358-740b-4bc3-aeb8-3c42c5bec4da

07/15/2011 10:47:51.68 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 监视 nasq 中等 进入监视范围(请求(POST(MyTestDomain:80/_vti_bin/UserGroup.asmx)))

07/15/2011 10:47:51.68 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (POST:MyTestDomain:80/_vti_bin/UserGroup.asmx))

07/15/2011 10:47:51.68 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 记录相关数据 xmnv 中等 名称=请求(POST:MyTestDomain:80/_vti_bin/UserGroup.asmx) 584ac118-9ad4-4960-9cb2-dc8257ba4f24

07/15/2011 10:47:51.68 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:MyTestDomain:80/_vti_bin/UserGroup.asmx) 584ac118-9ad4-4960-9cb2-dc8257ba4f24

07/15/2011 10:47:51.68 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 监视 b4ly 中等 离开受监视范围(请求(POST(MyTestDomain:80/_vti_bin/UserGroup.asmx)).执行时间= 0.717688980023998 584ac118-9ad4-4960-9cb2-dc8257ba4f24

07/15/2011 10:47:51.68 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:MyTestDomain:80/_vti_bin/UserGroup.asmx)). Execution Time=0.717688980023998 584ac118-9ad4-4960-9cb2-dc8257ba4f24

07/15/2011 10:47:51.68 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 监视 nasq 中等 进入监视范围(请求(POST(MyTestDomain:80/_vti_bin/UserGroup.asmx)))

07/15/2011 10:47:51.68 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (POST:MyTestDomain:80/_vti_bin/UserGroup.asmx))

07/15/2011 10:47:51.68 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 记录相关数据 xmnv 中等 名称=请求(POST:MyTestDomain:80/_vti_bin/UserGroup.asmx) 765027f3-12eb-4cb9-86b6-ff56d751b1c6

07/15/2011 10:47:51.68 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:MyTestDomain:80/_vti_bin/UserGroup.asmx) 765027f3-12eb-4cb9-86b6-ff56d751b1c6

07/15/2011 10:47:51.68 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 常规 fbv5 中等 SoapAction:"schemas.microsoft/sharepoint/soap/directory/GetUserCollectionFromGroup"" 765027f3-12eb-4cb9-86b6-ff56d751b1c6

07/15/2011 10:47:51.68 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation General fbv5 Medium SoapAction: "schemas.microsoft/sharepoint/soap/directory/GetUserCollectionFromGroup" 765027f3-12eb-4cb9-86b6-ff56d751b1c6

07/15/2011 10:47:51.68 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 常规 fbv6 中等 <?xml version ="1.0" encoding ="utf-8"?< SOAP-ENV:Envelope xmlns:SOAPSDK1 ="www.w3/2001/XMLSchema"; xmlns:SOAPSDK2 ="www.w3/2001/XMLSchema-instance"; xmlns:SOAPSDK3 ="schemas.xmlsoap/soap/encoding/" xmlns:SOAP-ENV ="schemas.xmlsoap/soap/envelope/"< SOAP-ENV:Body>< ns1:GetUserCollectionFromGroup xmlns:ns1 ="schemas.microsoft/sharepoint/soap/directory/">< ns1:groupName> IT支持</ns1:groupName></ns1:GetUserCollectionFromGroup></SOAP-ENV:Body</SOAP-ENV:Envelope> 765027f3-12eb-4cb9-86b6-ff56d751b1c6

07/15/2011 10:47:51.68 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation General fbv6 Medium <?xml version="1.0" encoding="utf-8"?><SOAP-ENV:Envelope xmlns:SOAPSDK1="www.w3/2001/XMLSchema" xmlns:SOAPSDK2="www.w3/2001/XMLSchema-instance" xmlns:SOAPSDK3="schemas.xmlsoap/soap/encoding/" xmlns:SOAP-ENV="schemas.xmlsoap/soap/envelope/"><SOAP-ENV:Body><ns1:GetUserCollectionFromGroup xmlns:ns1="schemas.microsoft/sharepoint/soap/directory/"><ns1:groupName>IT Support</ns1:groupName></ns1:GetUserCollectionFromGroup></SOAP-ENV:Body></SOAP-ENV:Envelope> 765027f3-12eb-4cb9-86b6-ff56d751b1c6

07/15/2011 10:47:51.69 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 记录相关数据 xmnv 中等 Site =/ 765027f3-12eb-4cb9-86b6-ff56d751b1c6

07/15/2011 10:47:51.69 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 765027f3-12eb-4cb9-86b6-ff56d751b1c6

07/15/2011 10:47:51.69 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 常规 8e2s 中等 发​​生未知的SPRequest错误.详细信息:0x80070005 765027f3-12eb-4cb9-86b6-ff56d751b1c6

07/15/2011 10:47:51.69 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070005 765027f3-12eb-4cb9-86b6-ff56d751b1c6

07/15/2011 10:47:51.69 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 常规 avfx 高 SOAP异常:System.Threading.ThreadAbortException:线程被中止. 在System.Threading.Thread.AbortInternal()处在System.Threading.Thread.Abort(Object stateInfo)处在System.Web.HttpResponse.End() 在Microsoft.SharePoint.Utilities.SPUtilityInternal.SendResponse(HttpContext上下文,Int32代码,String strBody)处在Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(HttpContext上下文)处在Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(异常 例如) 在Microsoft.SharePoint.Library.SPRequest.GetGroupsDataAsSafeArray(String bstrUrl,UInt32 dwGroupsScope,String bstrValue,UInt32 dwValue,UInt32& pdwColCount,UInt32& pdwRowCount,Object& pvarDataSet)中在Microsoft.SharePoint.SPGroup.InitMember() 在Microsoft.SharePoint.SPGroup..c ... 765027f3-12eb-4cb9-86b6-ff56d751b1c6

07/15/2011 10:47:51.69 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation General avfx High SOAP exception: System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.End() at Microsoft.SharePoint.Utilities.SPUtilityInternal.SendResponse(HttpContext context, Int32 code, String strBody) at Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(HttpContext context) at Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(Exception ex) at Microsoft.SharePoint.Library.SPRequest.GetGroupsDataAsSafeArray(String bstrUrl, UInt32 dwGroupsScope, String bstrValue, UInt32 dwValue, UInt32& pdwColCount, UInt32& pdwRowCount, Object& pvarDataSet) at Microsoft.SharePoint.SPGroup.InitMember() at Microsoft.SharePoint.SPGroup..c... 765027f3-12eb-4cb9-86b6-ff56d751b1c6

07/15/2011 10:47:51.69 * w3wp.exe(0x1358) 0x0CF0 SharePoint基础 常规 avfx 高 ... tor(SPWeb网站,SPSecurableObject范围,SPUser用户,字符串GroupName,Object [,] arrGroupsData,UInt32索引,Int32 iByParamId,SPGroupCollectionType groupCollectionType) 在Microsoft.SharePoint.SPGroupCollection.get_Item(字符串名称) 在Microsoft.SharePoint.SoapServer.UserGroupImpl.GetUserCollectionFromGroup(String strGroupName)处在Microsoft.SharePoint.SoapServer.UserGroup.GetUserCollectionFromGroup(String groupName) 765027f3-12eb-4cb9-86b6-ff56d751b1c6

07/15/2011 10:47:51.69* w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation General avfx High ...tor(SPWeb web, SPSecurableObject scope, SPUser user, String GroupName, Object[,] arrGroupsData, UInt32 index, Int32 iByParamId, SPGroupCollectionType groupCollectionType) at Microsoft.SharePoint.SPGroupCollection.get_Item(String name) at Microsoft.SharePoint.SoapServer.UserGroupImpl.GetUserCollectionFromGroup(String strGroupName) at Microsoft.SharePoint.SoapServer.UserGroup.GetUserCollectionFromGroup(String groupName) 765027f3-12eb-4cb9-86b6-ff56d751b1c6

2011/07/15 10:47:51.71 w3wp.exe(0x1358) 0x0CF0 SharePoint基础 监视 b4ly 中等 离开受监视范围(请求(POST(MyTestDomain:80/_vti_bin/UserGroup.asmx)).执行时间= 22.1424790022196 765027f3-12eb-4cb9-86b6-ff56d751b1c6

07/15/2011 10:47:51.71 w3wp.exe (0x1358) 0x0CF0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:MyTestDomain:80/_vti_bin/UserGroup.asmx)). Execution Time=22.1424790022196 765027f3-12eb-4cb9-86b6-ff56d751b1c6

2011/07/15 10:47:51.71 w3wp.exe(0x1358) 0x0CEC InfoPath Forms Services 运行时-数据连接 7tfk 中等 在OnLoad期间数据适配器失败:远程服务器返回错误:(401)未经授权. 0f508bad-b1f4-486b-9368-b17f72a19757

07/15/2011 10:47:51.71 w3wp.exe (0x1358) 0x0CEC InfoPath Forms Services Runtime - Data Connections 7tfk Medium Data adapter failed during OnLoad: The remote server returned an error: (401) Unauthorized. 0f508bad-b1f4-486b-9368-b17f72a19757

2011/07/15 10:47:51.71 w3wp.exe(0x1358) 0x0CEC InfoPath Forms Services 运行时-数据连接 eq8l 警告 以下查询失败:GetUserCollectionFromGroup(用户:0#.w | steinertest \ david.cano,表单名称:UserChangeRequestUsingListTemplate,IP :,连接目标:,请求:MyTestDomain/Lists/用户更改请求/AllItems.aspx,表单ID:urn:schemas-microsoft-com:office:infopath:UserChangeRequestUsingListTemplate:-dataFormSolution 类型:DataAdapterException,异常消息:远程服务器返回错误:(401)未经授权.远程服务器返回错误:(401)未经授权.) 0f508bad-b1f4-486b-9368-b17f72a19757

07/15/2011 10:47:51.71 w3wp.exe (0x1358) 0x0CEC InfoPath Forms Services Runtime - Data Connections eq8l Warning The following query failed: GetUserCollectionFromGroup (User: 0#.w|steinertest\david.cano, Form Name: UserChangeRequestUsingListTemplate, IP: , Connection Target: , Request: MyTestDomain/Lists/User Change Request/AllItems.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:UserChangeRequestUsingListTemplate:-dataFormSolution Type: DataAdapterException, Exception Message: The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401) Unauthorized.) 0f508bad-b1f4-486b-9368-b17f72a19757

07/15/2011 10:47:51.77 w3wp.exe(0x1358) 0x0CEC SharePoint基础 Web控件 cm8z 中等 无法从GroupID获取SPGroupName.错误消息:找不到组. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id) 在Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 值). 0f508bad-b1f4-486b-9368-b17f72a19757

07/15/2011 10:47:51.77 w3wp.exe (0x1358) 0x0CEC SharePoint Foundation Web Controls cm8z Medium Failed to get SPGroupName from GroupID. Error Message: Group cannot be found. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id) at Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 value). 0f508bad-b1f4-486b-9368-b17f72a19757

07/15/2011 10:47:51.77 w3wp.exe(0x1358) 0x0CEC SharePoint基础 Web控件 cm8z 中等 无法从GroupID获取SPGroupName.错误消息:找不到组. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id) 在Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 值). 0f508bad-b1f4-486b-9368-b17f72a19757

07/15/2011 10:47:51.77 w3wp.exe (0x1358) 0x0CEC SharePoint Foundation Web Controls cm8z Medium Failed to get SPGroupName from GroupID. Error Message: Group cannot be found. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id) at Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 value). 0f508bad-b1f4-486b-9368-b17f72a19757

07/15/2011 10:47:51.77 w3wp.exe(0x1358) 0x0CEC SharePoint基础 Web控件 cm8z 中等 无法从GroupID获取SPGroupName.错误消息:找不到组. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id) 在Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 值). 0f508bad-b1f4-486b-9368-b17f72a19757

07/15/2011 10:47:51.77 w3wp.exe (0x1358) 0x0CEC SharePoint Foundation Web Controls cm8z Medium Failed to get SPGroupName from GroupID. Error Message: Group cannot be found. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id) at Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 value). 0f508bad-b1f4-486b-9368-b17f72a19757

我已经尝试过其他论坛上的建议...

I have already tried your suggestion from other forums...

首先,我删除了对UserGroup.asmx的调用,并试图单独修复UserProfileService.asmx却没有成功,尽管我将其更改为UDC

First, I removed the call to UserGroup.asmx and tried to fix UserProfileService.asmx alone without success, eventhough I changed it to UDC

(我检查了数据连接库是否已允许所有用户进行读取访问).

(I checked that the data connection library has allowed read access to all users).

我知道了:

08/03/2011 15:52:37.45 w3wp.exe(0x0C68) 0x1390 SharePoint基础 记录相关数据 xmnv 中等 名称=请求(POST:intranet.steinertest:80/_vti_bin/UserProfileService.asmx) d8baffcb-2fef-4b49-9349-90f5650c24b4

08/03/2011 15:52:37.45 w3wp.exe (0x0C68) 0x1390 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:intranet.steinertest:80/_vti_bin/UserProfileService.asmx) d8baffcb-2fef-4b49-9349-90f5650c24b4

08/03/2011 15:52:37.45 w3wp.exe(0x0C68) 0x1390 SharePoint Portal Server 用户个人资料 fvg3 中等 SoapAction:"microsoft/webservices/SharePointPortalServer/UserProfileService/GetUserProfileByName" d8baffcb-2fef-4b49-9349-90f5650c24b4

08/03/2011 15:52:37.45 w3wp.exe (0x0C68) 0x1390 SharePoint Portal Server User Profiles fvg3 Medium SoapAction: "microsoft/webservices/SharePointPortalServer/UserProfileService/GetUserProfileByName" d8baffcb-2fef-4b49-9349-90f5650c24b4

08/03/2011 15:52:37.45 w3wp.exe(0x0C68) 0x1390 SharePoint Portal Server 用户个人资料 fvg4 中等 <?xml version ="1.0" encoding ="utf-8"?< SOAP-ENV:信封xmlns:SOAPSDK1 ="www.w3/2001/XMLSchema"; xmlns:SOAPSDK2 ="www.w3/2001/XMLSchema-instance"; xmlns:SOAPSDK3 ="schemas.xmlsoap/soap/encoding/" xmlns:SOAP-ENV ="schemas.xmlsoap/soap/envelope/"< SOAP-ENV:Body>< tns:GetUserProfileByName xmlns:tns ="microsoft/webservices/SharePointPortalServer/UserProfileService"< tns:AccountName> steinertest \ david.cano</tns:AccountName></tns:GetUserProfileByName></SOAP -ENV:Body</SOAP-ENV:Envelope> d8baffcb-2fef-4b49-9349-90f5650c24b4

08/03/2011 15:52:37.45 w3wp.exe (0x0C68) 0x1390 SharePoint Portal Server User Profiles fvg4 Medium <?xml version="1.0" encoding="utf-8"?><SOAP-ENV:Envelope xmlns:SOAPSDK1="www.w3/2001/XMLSchema" xmlns:SOAPSDK2="www.w3/2001/XMLSchema-instance" xmlns:SOAPSDK3="schemas.xmlsoap/soap/encoding/" xmlns:SOAP-ENV="schemas.xmlsoap/soap/envelope/"><SOAP-ENV:Body><tns:GetUserProfileByName xmlns:tns="microsoft/webservices/SharePointPortalServer/UserProfileService"><tns:AccountName>steinertest\david.cano</tns:AccountName></tns:GetUserProfileByName></SOAP-ENV:Body></SOAP-ENV:Envelope> d8baffcb-2fef-4b49-9349-90f5650c24b4

08/03/2011 15:52:37.45 w3wp.exe(0x0C68) 0x1390 SharePoint基础 记录相关数据 xmnv 中等 Site =/ d8baffcb-2fef-4b49-9349-90f5650c24b4

08/03/2011 15:52:37.45 w3wp.exe (0x0C68) 0x1390 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ d8baffcb-2fef-4b49-9349-90f5650c24b4

08/03/2011 15:52:37.47 w3wp.exe(0x0C68) 0x1390 SharePoint Portal Server 用户个人资料 olhl 中等 访问被拒绝调用用户0#.w | nt权限\ iusr的Web服务. d8baffcb-2fef-4b49-9349-90f5650c24b4

08/03/2011 15:52:37.47 w3wp.exe (0x0C68) 0x1390 SharePoint Portal Server User Profiles olhl Medium Access denied calling web service for user 0#.w|nt authority\iusr. d8baffcb-2fef-4b49-9349-90f5650c24b4

08/03/2011 15:52:37.47 w3wp.exe(0x0C68) 0x1390 SharePoint基础 监视 b4ly 中等 离开受监视范围(请求(POST:intranet.steinertest:80/_vti_bin/UserProfileService.asmx)).执行时间= 16.7515703811518 d8baffcb-2fef-4b49-9349-90f5650c24b4

08/03/2011 15:52:37.47 w3wp.exe (0x0C68) 0x1390 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:intranet.steinertest:80/_vti_bin/UserProfileService.asmx)). Execution Time=16.7515703811518 d8baffcb-2fef-4b49-9349-90f5650c24b4

08/03/2011 15:52:37.47 w3wp.exe(0x0C68) 0x0F9C InfoPath Forms Services 运行时-数据连接 7tfk 中等 在OnLoad期间数据适配器失败:远程服务器返回错误:(500)Internal Server Error.服务器无法处理请求. --->尝试执行未经授权的操作. ad1a41e2-3310-4224-b02b-d6e8446f9fa3

08/03/2011 15:52:37.47 w3wp.exe (0x0C68) 0x0F9C InfoPath Forms Services Runtime - Data Connections 7tfk Medium Data adapter failed during OnLoad: The remote server returned an error: (500) Internal Server Error. Server was unable to process request. ---> Attempted to perform an unauthorized operation. ad1a41e2-3310-4224-b02b-d6e8446f9fa3

08/03/2011 15:52:37.47 w3wp.exe(0x0C68) 0x0F9C InfoPath Forms Services 运行时-数据连接 eq8l 警告 以下查询失败:GetUserProfileByName(用户:0#.w | steinertest \ spinfopathadmin,表单名称:UserChangeRequestUsingListTemplate,IP :,连接目标:intranet.steinertest/DataConnections/CreditRequestConnection.udcx,请求:intranet.steinertest/Lists/User 更改Request/AllItems.aspx,表单ID:urn:schemas-microsoft-com:office:infopath:UserChangeRequestUsingListTemplate:-dataFormSolution类型:DataAdapterException,异常消息:远程服务器返回错误:(500)内部服务器错误.服务器 无法处理请求. --->试图执行未经授权的操作.远程服务器返回错误:(500)内部服务器错误.) ad1a41e2-3310-4224-b02b-d6e8446f9fa3

08/03/2011 15:52:37.47 w3wp.exe (0x0C68) 0x0F9C InfoPath Forms Services Runtime - Data Connections eq8l Warning The following query failed: GetUserProfileByName (User: 0#.w|steinertest\spinfopathadmin, Form Name: UserChangeRequestUsingListTemplate, IP: , Connection Target: intranet.steinertest/DataConnections/CreditRequestConnection.udcx, Request: intranet.steinertest/Lists/User Change Request/AllItems.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:UserChangeRequestUsingListTemplate:-dataFormSolution Type: DataAdapterException, Exception Message: The remote server returned an error: (500) Internal Server Error. Server was unable to process request. ---> Attempted to perform an unauthorized operation. The remote server returned an error: (500) Internal Server Error.) ad1a41e2-3310-4224-b02b-d6e8446f9fa3

08/03/2011 15:52:37.49 w3wp.exe(0x0C68) 0x0F9C SharePoint基础 Web控件 cm8z 中等 无法从GroupID获取SPGroupName.错误消息:找不到组. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id) 在Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 值). ad1a41e2-3310-4224-b02b-d6e8446f9fa3

08/03/2011 15:52:37.49 w3wp.exe (0x0C68) 0x0F9C SharePoint Foundation Web Controls cm8z Medium Failed to get SPGroupName from GroupID. Error Message: Group cannot be found. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id) at Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 value). ad1a41e2-3310-4224-b02b-d6e8446f9fa3

08/03/2011 15:52:37.49 w3wp.exe(0x0C68) 0x0F9C SharePoint基础 Web控件 cm8z 中等 无法从GroupID获取SPGroupName.错误消息:找不到组. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id) 在Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 值). ad1a41e2-3310-4224-b02b-d6e8446f9fa3

08/03/2011 15:52:37.49 w3wp.exe (0x0C68) 0x0F9C SharePoint Foundation Web Controls cm8z Medium Failed to get SPGroupName from GroupID. Error Message: Group cannot be found. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id) at Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 value). ad1a41e2-3310-4224-b02b-d6e8446f9fa3

08/03/2011 15:52:37.49 w3wp.exe(0x0C68) 0x0F9C SharePoint基础 Web控件 cm8z 中等 无法从GroupID获取SPGroupName.错误消息:找不到组. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id)

08/03/2011 15:52:37.49 w3wp.exe (0x0C68) 0x0F9C SharePoint Foundation Web Controls cm8z Medium Failed to get SPGroupName from GroupID. Error Message: Group cannot be found. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id)

我还检查了NT Authority \ Authenticated Users是否具有用户配置文件服务应用程序"中的读取权限.

I've also checked that NT Authority\Authenticated Users has read permissions in "User Profile Service Application".

我尝试了DisableLoopbackCheck选项

I've tried the DisableLoopbackCheck option

我的想法不多了...

I am running out of ideas...

谢谢

推荐答案

单击您的UPA,然后通过完全控制"给相应的组权限".我不建议这种方法,但是应该可以.

Click on your UPA then give the appropriate group Permissions with Full Control. I wouldn't advise this approach, but it should work.

更多推荐

将UserProfileService.asmx和UserGroup.asmx与Infopath表单一起使用

本文发布于:2023-10-09 18:04:29,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1476402.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:表单   asmx   UserProfileService   Infopath   UserGroup

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!