带有SharePoint 2013的OfficeWebApps在ULS日志中提供“缺少访问令牌”消息 [英] OfficeWebApps with SharePoint 2013 giving 'missing access token' message in ULS logs
问题描述
Hello
我们正在尝试与SharePoint 2013建立Office Web Apps集成。在阅读了各种在线论坛和msdn链接之后,能够设置Office Web应用程序与SharePoint 2013绑定。
We are trying to setup a Office Web Apps integration with SharePoint 2013. After having read through various online forums and msdn links, was able to setup the Office Web Apps Binding with SharePoint 2013.
但是当我们尝试"查看"word文档时,所有步骤都已完成,我们收到错误消息"抱歉有问题,我们无法打开此文档。如果再次发生这种情况,请尝试在Microsoft Word中打开文档。
However post all the steps are completed when we try to 'view' the word document, we get an error message "sorry there was a problem and we can't open this document. If this happens again,try opening the document in Microsoft word".
在SharePoint 2013 ULS日志中,我们会看到以下消息。
On the SharePoint 2013 ULS logs we see the following messages.
## ########################################
##########################################
输入监控范围(请求(POST:https://komra-vm1.ca.com:443 / _layouts / 15 / inplview.aspx?List =%7B8B43B880-F7B2-4E8F-B7F0-DFC560FBD1E5% 7D&安培;查看=%7B2D9F0DE8-E16E-4DCF-A02E-8FF1348B8ADB%7D&安培;观看次数= 0&安培; IsXslView = TRUE&安培; IsCSR = TRUE&安培; IsRibbon = TRUE&安培; CMD = EcbView))。
父母否
名称=请求(POST:https://komra-vm1.ca.com:443 / ?_layouts / 15 / inplview.aspx列表=%7B8B43B880-F7B2-4E8F-B7F0-DFC560FBD1E5%7D&安培;查看=%7B2D9F0DE8-E16E-4DCF-A02E-8FF1348B8ADB%7D&安培;观看次数= 0&安培; IsXslView = TRUE&安培; IsCSR = TRUE&安培; IsRibbon = TRUE& Cmd = EcbView)
44bd219c-710e-f0d5-b916-f7e75e634276
非OAuth请求。 IsAuthenticated = True,UserIdentityName = 0?.t | smtip | paaaaa,ClaimsCount = 14
44bd219c-710e-f0d5-b916-f7e75e634276 >
网站= / 44bd219c-710e-f0d5-b916-f7e75e634276
SPShareByLinkHandler.IsShareableByLink:在SPSite上禁用ShareByLink或租户级别
44bd219c-710e-f0d5-b916-f7e75e634276
SPShareByLinkHandler.CanManageSharingLinkForNewDocument:容器不可共享
44bd219c-710e-f0d5-b916-f7e75e634276
离开监控范围(请求(POST:https:// komra-vm1。 ca.com:443/_layouts/15/inplview.aspx?List=%7B8B43B880-F7B2-4E8F-B7F0-DFC560FBD1E5%7D&View=%7B2D9F0DE8-E16E-4DCF-A02E-8FF1348B8ADB%7D&ViewCount=0&IsXslView= TRUE&安培; IsCSR = TRUE&安培; IsRibbon = TRUE&安培; CMD = EcbView))。
执行时间= 31.6822389437764 44bd219c-710e-f0d5-b916-f7e75e634276
输入监控范围(请求(GET:https) ://komra-vm1.ca.com:443 / _layouts / 15 / WopiFrame.aspx sourcedoc =%2FShared%20Documents%2FChange%20orcladmin%20password%2Edocx&安培;行动= interactivepreview&安培; wdSmallView = 1))。父否
名称=请求(获取:https://komra-vm1.ca.com:443 / _layouts / 15 / WopiFrame.aspx?sourcedoc =%2FShared%20Documents%2FChange%20orcladmin%20password%2Edocx& action = interactivepreview& wdSmallView = 1)
44bd219c-a12e-f0d5-b916-f51ae9156631
非OAuth请求。 IsAuthenticated = True,UserIdentityName = 0?.t | smtip | paaaaa,ClaimsCount = 14
44bd219c-a12e-f0d5-b916-f51ae9156631 >
网站= / 44bd219c-a12e-f0d5-b916-f51ae9156631
输入监控范围(请求(POST:https) ://komra-vm1.ca.com:443 / _vti_bin / client.svc / ProcessQuery))。父否
名称=请求(POST:https://komra-vm1.ca.com:443 / _vti_bin / client.svc / ProcessQuery)
44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
SPShareByLinkHandler.Initialize:Not ShareByLink请求 - 缺少访问令牌
44bd219c-a12e-f0d5-b916-f51ae9156631
非OAuth请求。 IsAuthenticated = True,UserIdentityName = 0?.t | smtip | paaaaa,ClaimsCount = 14
44bd219c-a12e-f0d5-b916-f0d1cb22b3ae >
开始CSOM请求ManagedThreadId = 30,NativeThreadId = 8640
44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
Site = / 44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
serviceHost_RequestExecuting 44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
WcfSendRequest:RemoteAddress:'net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc'Channel:'Microsoft.SharePoint.IdentityServices。 IApplicationSecurityTokenServiceContract'动作:'http://schemas.microsoft.com/sharepoint/2011/05/securitytokenservice/IApplicationSecurityTokenServiceContract/Issue'
MessageId:'urn:uuid:805ea06c-4518-4482-9cd2-deab2b103659'
44bd219c-a12e-f0d5-b916-f51ae9156631
Ent监视范围(ExecuteWcfServerOperation)。父否
WcfReceiveRequest:LocalAddress:'net.pipe://goyne01-sp.spfarm.com/SecurityTokenServiceApplication /appsts.svc'Channel:'System.ServiceModel.Channels.ServiceChannel'动作:'http://schemas.microsoft.com/sharepoint/2011/05/securitytokenservice/IApplicationSecurityTokenServiceContract/Issue'
MessageId:'urn: uuid:805ea06c-4518-4482-9cd2-deab2b103659'
44bd219c-a12e-f0d5-b916-f51ae9156631
离开受监视的范围(ExecuteWcfServerOperation)。执行时间= 10.0448520691876
44bd219c-a12e-f0d5-b916-f51ae9156631
离开监控范围(EnsureListItemsData)。执行时间= 18.6900849130267
44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
'wopi /的自发令牌请求komra-vm1.ca.com@d085ebe7-c78c-402b-890a-fc3d27651d5f'成功。
44bd219c-a12e-f0d5-b916-f51ae9156631
离开监控范围(EnsureListItemsData)。执行时间= 13.896179542372
44bd219c-a12e-f0d5-b916-f51ae9156631
离开监控范围(Microsoft.SharePoint.SPObjectSharingInformation) .GetListItemSharingInformation)。执行时间= 40.8808940801135
44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
serviceHost_RequestExecuted 44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
结束CSOM请求。持续时间= 50毫秒。
44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
离开监控范围(请求(GET: https://komra-vm1.ca.com:443/_layouts/15/WopiFrame.aspx?sourcedoc=%2FShared%20Documents%2FChange%20orcladmin%20password%2Edocx&action=interactivepreview&wdSmallView=1))。执行时间= 66.666014814732
44bd219c-a12e-f0d5-b916-f51ae9156631
Entering monitored scope (Request (POST:https://komra-vm1.ca.com:443/_layouts/15/inplview.aspx?List=%7B8B43B880-F7B2-4E8F-B7F0-DFC560FBD1E5%7D&View=%7B2D9F0DE8-E16E-4DCF-A02E-8FF1348B8ADB%7D&ViewCount=0&IsXslView=TRUE&IsCSR=TRUE&IsRibbon=TRUE&Cmd=EcbView)).
Parent No
Name=Request (POST:https://komra-vm1.ca.com:443/_layouts/15/inplview.aspx?List=%7B8B43B880-F7B2-4E8F-B7F0-DFC560FBD1E5%7D&View=%7B2D9F0DE8-E16E-4DCF-A02E-8FF1348B8ADB%7D&ViewCount=0&IsXslView=TRUE&IsCSR=TRUE&IsRibbon=TRUE&Cmd=EcbView)
44bd219c-710e-f0d5-b916-f7e75e634276
Non-OAuth request. IsAuthenticated=True, UserIdentityName=0?.t|smtip|paaaaa, ClaimsCount=14
44bd219c-710e-f0d5-b916-f7e75e634276
Site=/ 44bd219c-710e-f0d5-b916-f7e75e634276
SPShareByLinkHandler.IsShareableByLink : ShareByLink disabled at SPSite or tenant level
44bd219c-710e-f0d5-b916-f7e75e634276
SPShareByLinkHandler.CanManageSharingLinkForNewDocument : container is not shareable
44bd219c-710e-f0d5-b916-f7e75e634276
Leaving Monitored Scope (Request (POST:https://komra-vm1.ca.com:443/_layouts/15/inplview.aspx?List=%7B8B43B880-F7B2-4E8F-B7F0-DFC560FBD1E5%7D&View=%7B2D9F0DE8-E16E-4DCF-A02E-8FF1348B8ADB%7D&ViewCount=0&IsXslView=TRUE&IsCSR=TRUE&IsRibbon=TRUE&Cmd=EcbView)).
Execution Time=31.6822389437764 44bd219c-710e-f0d5-b916-f7e75e634276
Entering monitored scope (Request (GET:https://komra-vm1.ca.com:443/_layouts/15/WopiFrame.aspx?sourcedoc=%2FShared%20Documents%2FChange%20orcladmin%20password%2Edocx&action=interactivepreview&wdSmallView=1)). Parent No
Name=Request (GET:https://komra-vm1.ca.com:443/_layouts/15/WopiFrame.aspx?sourcedoc=%2FShared%20Documents%2FChange%20orcladmin%20password%2Edocx&action=interactivepreview&wdSmallView=1)
44bd219c-a12e-f0d5-b916-f51ae9156631
Non-OAuth request. IsAuthenticated=True, UserIdentityName=0?.t|smtip|paaaaa, ClaimsCount=14
44bd219c-a12e-f0d5-b916-f51ae9156631
Site=/ 44bd219c-a12e-f0d5-b916-f51ae9156631
Entering monitored scope (Request (POST:https://komra-vm1.ca.com:443/_vti_bin/client.svc/ProcessQuery)). Parent No
Name=Request (POST:https://komra-vm1.ca.com:443/_vti_bin/client.svc/ProcessQuery)
44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
SPShareByLinkHandler.Initialize : Not a ShareByLink request - missing access token
44bd219c-a12e-f0d5-b916-f51ae9156631
Non-OAuth request. IsAuthenticated=True, UserIdentityName=0?.t|smtip|paaaaa, ClaimsCount=14
44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
Begin CSOM Request ManagedThreadId=30, NativeThreadId=8640
44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
Site=/ 44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
serviceHost_RequestExecuting 44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
WcfSendRequest: RemoteAddress: 'net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc' Channel: 'Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract' Action: 'http://schemas.microsoft.com/sharepoint/2011/05/securitytokenservice/IApplicationSecurityTokenServiceContract/Issue'
MessageId: 'urn:uuid:805ea06c-4518-4482-9cd2-deab2b103659'
44bd219c-a12e-f0d5-b916-f51ae9156631
Entering monitored scope (ExecuteWcfServerOperation). Parent No
WcfReceiveRequest: LocalAddress: 'net.pipe://goyne01-sp.spfarm.com/SecurityTokenServiceApplication/appsts.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/2011/05/securitytokenservice/IApplicationSecurityTokenServiceContract/Issue'
MessageId: 'urn:uuid:805ea06c-4518-4482-9cd2-deab2b103659'
44bd219c-a12e-f0d5-b916-f51ae9156631
Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=10.0448520691876
44bd219c-a12e-f0d5-b916-f51ae9156631
Leaving Monitored Scope (EnsureListItemsData). Execution Time=18.6900849130267
44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
Self-issued token request for 'wopi/komra-vm1.ca.com@d085ebe7-c78c-402b-890a-fc3d27651d5f' succeeded.
44bd219c-a12e-f0d5-b916-f51ae9156631
Leaving Monitored Scope (EnsureListItemsData). Execution Time=13.896179542372
44bd219c-a12e-f0d5-b916-f51ae9156631
Leaving Monitored Scope (Microsoft.SharePoint.SPObjectSharingInformation.GetListItemSharingInformation). Execution Time=40.8808940801135
44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
serviceHost_RequestExecuted 44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
End CSOM Request. Duration=50 milliseconds.
44bd219c-a12e-f0d5-b916-f0d1cb22b3ae
Leaving Monitored Scope (Request (GET:https://komra-vm1.ca.com:443/_layouts/15/WopiFrame.aspx?sourcedoc=%2FShared%20Documents%2FChange%20orcladmin%20password%2Edocx&action=interactivepreview&wdSmallView=1)). Execution Time=66.666014814732
44bd219c-a12e-f0d5-b916-f51ae9156631
##########################################
##########################################
我想了解这些行的含义,是否与Office Web Apps Integration无关。
I would like to understand what these lines mean and does it have any bearing on the Office Web Apps Integration not working.
1. SPShareByLinkHandler.Initialize:不是ShareByLink请求 - 缺少访问令牌。
1. SPShareByLinkHandler.Initialize : Not a ShareByLink request - missing access token.
2. 在SPSite或租户级别禁用ShareByLink。
2. ShareByLink disabled at SPSite or tenant level.
我们正在使用基于声明的身份验证模型,并配置了可信身份提供程序。我们所有的网址都在https上。
We are using Claim Based Authentication Model with Trusted Identity Provider configured. All our URLs are on https.
还附加执行的命令序列以便它可以理解到目前为止所做的工作。
Also attaching the sequence of commands executed so that it could be understood as to what has been done so far.
########################### #########
####################################
WebApp服务器端: -                
http://technet.microsoft.com/en-us/library/ jj219455.aspx
New-OfficeWebAppsFarm -InternalUrl" HTTPS:// goyne01-SQL " -ExternalUrl" https://goyne01-sql.spfarm.com " -CertificateName" goyne01-sql"
-EditingEnabled
New-OfficeWebAppsFarm -InternalUrl "https://goyne01-sql" -ExternalUrl "https://goyne01-sql.spfarm.com" –CertificateName "goyne01-sql" -EditingEnabled
%systemroot%\ Microsoft's.NET\Framework64\v4.0.30319\aspnet_regiis.exe -iru
%systemroot%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -iru
iisreset / restart / noforce
iisreset /restart /noforce
现在访问https://goyne01-sql.spfarm.com/hosting/discovery并打开页面详细信息。
Now access https://goyne01-sql.spfarm.com/hosting/discovery and the page opens up with the details.
SharePoint Server端: -   ;            
http://technet.microsoft.com/en-us/library/ff431687.aspx
SharePoint Server side:- http://technet.microsoft.com/en-us/library/ff431687.aspx
New-SPWOPIBinding -ServerName" https://goyne01-sql.spfarm.com "
New-SPWOPIBinding -ServerName "https://goyne01-sql.spfarm.com"
Get-SPWOPIZone(结果是internal-https)
############################### #####
####################################
谢谢
Hubert
推荐答案
你好
你能否验证Windows令牌服务的声明正在运行?
Can you verify the claims to windows token service is running?
这篇关于带有SharePoint 2013的OfficeWebApps在ULS日志中提供“缺少访问令牌”消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!