远程服务器返回错误:(401)未经授权.在SharePoint中加载InfoPath表单时 [英] The remote server returned an error: (401) Unauthorized" when loading the InfoPath form in SharePoint

查看:101
本文介绍了远程服务器返回错误:(401)未经授权.在SharePoint中加载InfoPath表单时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

加载InfoPath表单时遇到问题.错误在加载期间数据适配器失败:远程服务器返回错误:(401)未经授权".在SharePoint中加载InfoPath表单时(日志ID-5566).请你帮助我好吗?请 在下面找到日志详细信息.

I am facing an issue when loading InfoPath form. The error "Data adapter failed during OnLoad: The remote server returned an error: (401) Unauthorized" when loading the InfoPath form in SharePoint (Log id-5566). Could you please help me? Please find the log details below.

消息:名称=请求(GET:https://urlname/FB/Lists/test/Item/newifs.asp
         x?List = aa6a4fc0%2Dd836%2D48f6%2Db799%2D79c8ad5b1b71& Source = hhh%2Easpx& RootFolder =& Web = dsffdfdrd91%2D977b%2
         daa108f053a58l)

Message : Name=Request (GET:https://urlname/FB/Lists/test/Item/newifs.asp
          x?List=aa6a4fc0%2Dd836%2D48f6%2Db799%2D79c8ad5b1b71&Source=hhh%2Easpx&RootFolder=&Web=dsffdfdrd91%2D977b%2
          Daa108f053a58l)

消息:非OAuth请求. IsAuthenticated = True,UserIdentityName = 0#.w | domain \ username,ClaimsCount = 31

Message : Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|domain\username, ClaimsCount=31

消息:花费0毫秒绑定4627字节文件流

Message : Spent 0 ms to bind 4627 byte file stream

消息:花费0毫秒发送4627字节文件流

Message : Spent 0 ms to send 4627 byte file stream

消息:站点=/

消息:离开监视范围(PostResolveRequestCacheHandler).执行时间= 23.2983521648701

Message : Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=23.2983521648701

消息:Web请求:开头url = https://url/_vti_bin/UserGroup.asmx
        操作= http://schemas.microsoft.com/sharepoint/soap/directory/GetUserCollectionFromGroup

Message : Web Request: Begins url=https://url/_vti_bin/UserGroup.asmx
          action=http://schemas.microsoft.com/sharepoint/soap/directory/GetUserCollectionFromGroup

消息:Web请求:准备SOAP消息

Message : Web Request:  Preparing SOAP message

消息:Web请求:正在准备WebRequest

Message : Web Request:  Preparing WebRequest

消息:未启用内部Web服务路由.

Message : Internal web service routing is NOT enabled.

消息:Web请求:编写请求流

Message : Web Request:  Writing request stream

消息:Web请求:得到回应

Message : Web Request:  Getting response

消息:System.Net.WebException:远程服务器返回错误:(401)未经授权.在
         System.Net.HttpWebRequest.GetResponse()   在
         Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.GetResponseHelper(WebRequest请求,
         DataAdapterCredentials凭据,秒表计时器,ExecWebRequestExceptionState状态,字符串adapterName,
        布尔值isQuery)    在
         Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.ExecWebRequestSync(XPathNavigator
         inputSubDOM,Boolean [] inputUseDataset,XPathNavigator resultsSubDOM,布尔resultUseDataset,
         XPathNavigator错误SubDOM,Uri serviceUrl,Uri soapAction,Int64 timeOutMillisec,DataAdapter适配器,
        文档文档,DataAdapterCredentials凭据,布尔值useDcl,布尔值useProxy,布尔值useSelf)
         StackTrace:在M ...

Message : System.Net.WebException: The remote server returned an error: (401) Unauthorized.     at
          System.Net.HttpWebRequest.GetResponse()     at
          Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.GetResponseHelper(WebRequest request,
          DataAdapterCredentials credentials, Stopwatch timer, ExecWebRequestExceptionState state, String adapterName,
          Boolean isQuery)     at
          Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.ExecWebRequestSync(XPathNavigator
          inputSubDOM, Boolean[] inputUseDataset, XPathNavigator resultsSubDOM, Boolean resultUseDataset,
          XPathNavigator errorsSubDOM, Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec, DataAdapter adapter,
          Document document, DataAdapterCredentials credentials, Boolean useDcl, Boolean useProxy, Boolean useSelf)
          StackTrace:  at M...

消息:Watson存储桶参数:SharePoint Server 2013,ULSException14、41b7c39f信息路径表单服务",
         0f0011db"15.0.4571.0&",18b0be27系统",0400766f"4.0.30319.0&",53e4511c"2014年8月8日12:25:00",
         000021bc"000021bc",0000023a"0000023a",4380fbf4"webexception",003032df"amdl5"

Message : Watson bucket parameters: SharePoint Server 2013, ULSException14, 41b7c39f "infopath forms services",
          0f0011db "15.0.4571.0", 18b0be27 "system", 0400766f "4.0.30319.0", 53e4511c "fri aug 08 12:25:00 2014",
          000021bc "000021bc", 0000023a "0000023a", 4380fbf4 "webexception", 003032df "amdl5"

消息:Web请求: WebException抓到了

Message : Web Request:  WebException Caught

消息:Web请求:将响应复制到DOM

Message : Web Request:  Copying response to DOMs

消息:Web请求:将响应复制到DOM

Message : Web Request:  Copying response to DOMs

消息:Web请求:结束url = https://url/_vti_bin/UserGroup.asmx
        操作= http://schemas.microsoft.com/sharepoint/soap/directory/GetUserCollectionFromGroup

Message : Web Request: Ends url=https://url/_vti_bin/UserGroup.asmx
          action=http://schemas.microsoft.com/sharepoint/soap/directory/GetUserCollectionFromGroup

消息:OnLoad期间数据适配器失败:远程服务器返回错误:(401)未经授权.

Message : Data adapter failed during OnLoad: The remote server returned an error: (401) Unauthorized.

消息:以下查询失败:FB产品紧急批准(用户:0#.w |域名\用户名,表格名称:FB
        产品,IP:,连接目标:,请求: https://url/_layouts/15/start.aspx ,表格
         ID:urn:schemas-microsoft-com:office:infopath:test:-dataFormSolution类型:DataAdapterException,
        异常消息:远程服务器返回错误:(401)未经授权.远程服务器返回了
        错误:(401)未经授权.)

Message : The following query failed: FB Product Emergency Approval (User: 0#.w|domainname\username, Form Name: FB
          Prod, IP: , Connection Target: , Request: https://url/_layouts/15/start.aspx, Form
          ID: urn:schemas-microsoft-com:office:infopath:test:-dataFormSolution Type: DataAdapterException,
          Exception Message: The remote server returned an error: (401) Unauthorized. The remote server returned an
          error: (401) Unauthorized.)

消息:Web请求:开头url = https://url/_vti_bin/UserGroup.asmx
        操作= http://schemas.microsoft.com/sharepoint/soap/directory/GetUserCollectionFromGroup

Message : Web Request: Begins url=https://url/_vti_bin/UserGroup.asmx
          action=http://schemas.microsoft.com/sharepoint/soap/directory/GetUserCollectionFromGroup

消息:Web请求:准备SOAP消息

Message : Web Request:  Preparing SOAP message

消息:Web请求:正在准备WebRequest

Message : Web Request:  Preparing WebRequest

消息:未启用内部Web服务路由.

Message : Internal web service routing is NOT enabled.

消息:Web请求:编写请求流

Message : Web Request:  Writing request stream

消息:Web请求:得到回应

Message : Web Request:  Getting response

消息:System.Net.WebException:远程服务器返回错误:(401)未经授权.在
         System.Net.HttpWebRequest.GetResponse()   在
         Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.GetResponseHelper(WebRequest请求,
         DataAdapterCredentials凭据,秒表计时器,ExecWebRequestExceptionState状态,字符串adapterName,
        布尔值isQuery)    在
         Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.ExecWebRequestSync(XPathNavigator
         inputSubDOM,Boolean [] inputUseDataset,XPathNavigator resultsSubDOM,布尔resultUseDataset,
         XPathNavigator错误SubDOM,Uri serviceUrl,Uri soapAction,Int64 timeOutMillisec,DataAdapter适配器,
        文档文档,DataAdapterCredentials凭据,布尔值useDcl,布尔值useProxy,布尔值useSelf)
         StackTrace:在M ...

Message : System.Net.WebException: The remote server returned an error: (401) Unauthorized.     at
          System.Net.HttpWebRequest.GetResponse()     at
          Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.GetResponseHelper(WebRequest request,
          DataAdapterCredentials credentials, Stopwatch timer, ExecWebRequestExceptionState state, String adapterName,
          Boolean isQuery)     at
          Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.ExecWebRequestSync(XPathNavigator
          inputSubDOM, Boolean[] inputUseDataset, XPathNavigator resultsSubDOM, Boolean resultUseDataset,
          XPathNavigator errorsSubDOM, Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec, DataAdapter adapter,
          Document document, DataAdapterCredentials credentials, Boolean useDcl, Boolean useProxy, Boolean useSelf)
          StackTrace:  at M...

消息:Watson存储桶参数:SharePoint Server 2013,ULSException14、41b7c39f信息路径表单服务",
         0f0011db"15.0.4571.0&",18b0be27系统",0400766f"4.0.30319.0&",53e4511c"2014年8月8日12:25:00",
         000021bc"000021bc",0000023a"0000023a",4380fbf4"webexception",003032df"amdl5"

Message : Watson bucket parameters: SharePoint Server 2013, ULSException14, 41b7c39f "infopath forms services",
          0f0011db "15.0.4571.0", 18b0be27 "system", 0400766f "4.0.30319.0", 53e4511c "fri aug 08 12:25:00 2014",
          000021bc "000021bc", 0000023a "0000023a", 4380fbf4 "webexception", 003032df "amdl5"

消息:Web请求: WebException抓到了

Message : Web Request:  WebException Caught

消息:Web请求:将响应复制到DOM

Message : Web Request:  Copying response to DOMs

消息:Web请求:将响应复制到DOM

Message : Web Request:  Copying response to DOMs

消息:Web请求:结束url = https://url/FB/_vti_bin/UserGroup.asmx
        操作= http://schemas.microsoft.com/sharepoint/soap/directory/GetUserCollectionFromGroup

Message : Web Request: Ends url=https://url/FB/_vti_bin/UserGroup.asmx
          action=http://schemas.microsoft.com/sharepoint/soap/directory/GetUserCollectionFromGroup

消息:OnLoad期间数据适配器失败:远程服务器返回错误:(401)未经授权.

Message : Data adapter failed during OnLoad: The remote server returned an error: (401) Unauthorized.

消息:以下查询失败:Emplyee组(用户:0#.w |域名\用户名,表格名称:TesT,IP:
        连接目标:,请求: https://urlname/_layouts/15/start.aspx ,表格ID:
         urn:schemas-microsoft-com:office:infopath:Test:-dataFormSolution类型:DataAdapterException,异常
        消息:远程服务器返回错误:(401)未经授权.远程服务器返回错误:(401)
        未经授权.)

Message : The following query failed: Emplyee Group (User: 0#.w|domainname\username, Form Name: TesT, IP: ,
          Connection Target: , Request: https://urlname/_layouts/15/start.aspx, Form ID:
          urn:schemas-microsoft-com:office:infopath:Test:-dataFormSolution Type: DataAdapterException, Exception
          Message: The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401)
          Unauthorized.)

消息:无法从GroupID获取SPGroupName.错误消息:找不到组.呼叫堆栈:在
         Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32值).

Message : Failed to get SPGroupName from GroupID. Error Message: Group cannot be found.  Callstack:    at
          Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 value).

消息:无法从GroupID获取SPGroupName.错误消息:找不到组.呼叫堆栈:在
         Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32值).

Message : Failed to get SPGroupName from GroupID. Error Message: Group cannot be found.  Callstack:    at
          Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 value).

消息:无法从GroupID获取SPGroupName.错误消息:找不到组.呼叫堆栈:在
         Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32值).

Message : Failed to get SPGroupName from GroupID. Error Message: Group cannot be found.  Callstack:    at
          Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 value).

消息:无法从GroupID获取SPGroupName.错误消息:找不到组.呼叫堆栈:在
         Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32值).

Message : Failed to get SPGroupName from GroupID. Error Message: Group cannot be found.  Callstack:    at
          Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 value).

消息:无法从GroupID获取SPGroupName.错误消息:找不到组.呼叫堆栈:在
         Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32值).

Message : Failed to get SPGroupName from GroupID. Error Message: Group cannot be found.  Callstack:    at
          Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 value).

消息:输入受监视的范围(渲染功能区.).父SharePointForm控件呈现器

Message : Entering monitored scope (Render Ribbon.). Parent SharePointForm Control Render

消息:离开监视范围(呈现功能区.).执行时间= 0.557333404105829

Message : Leaving Monitored Scope (Render Ribbon.). Execution Time=0.557333404105829

消息:FetchDataFromURL起始于(如果外部):1参数:起始

Message : FetchDataFromURL start at(outside if): 1 param: start

消息:StateManager正在处理并调用ReleaseLockedStates()(Count = 0)

Message : The StateManager is disposing and calling ReleaseLockedStates() (Count=0)

消息:Micro Trace标签:0 nasq,6 agb9s,23 b4ly,46 m1b8,5 m1be,0 m1b9,0 amdlr,0 m1b7,0 m1ba,44 m1bf,0 m1bc,0 m1bc,0
         m1bb,0 m0im,0 m1b8,4 m1be,0 m1b9,0 amdlr,0 m1b7,0 m1ba,44 m1bf,0 m1bc,0 m1bc,0 m1bb,0 m0im,15 cm8z,1 cm8z,1
         cm8z,1 cm8z,1 cm8z,21 nasq,0 b4ly,0 dn4s,12 8kfs

Message : Micro Trace Tags: 0 nasq,6 agb9s,23 b4ly,46 m1b8,5 m1be,0 m1b9,0 amdlr,0 m1b7,0 m1ba,44 m1bf,0 m1bc,0 m1bc,0
          m1bb,0 m0im,0 m1b8,4 m1be,0 m1b9,0 amdlr,0 m1b7,0 m1ba,44 m1bf,0 m1bc,0 m1bc,0 m1bb,0 m0im,15 cm8z,1 cm8z,1
          cm8z,1 cm8z,1 cm8z,21 nasq,0 b4ly,0 dn4s,12 8kfs

消息:离开监视范围(请求(GET:https://url/Lists/../Item/newifs.aspx?List ...)).执行时间= 235.84002994794

Message : Leaving Monitored Scope (Request (GET:https://url/Lists/../Item/newifs.aspx?List...)). Execution Time=235.84002994794

知识就是力量.

推荐答案

您好,Manoj-看起来像是拒绝InfoPath执行查询的简单访问.确保InfoPath有权查询目标.如果您有任何关联的工作流程,请确保它们也具有访问权限.
Hi Manoj- looks like a simple access denied for InfoPath to perform the query. Make sure InfoPath has authorization to query the destination. If you have any workflows associated, make sure they have access as well.


这篇关于远程服务器返回错误:(401)未经授权.在SharePoint中加载InfoPath表单时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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