Office Web Apps 错误

owa安装完后,在sharepoint网站上打开word,excel,报错,Sorry, something went wrong, 通过correlation id找到错误信息(如何在sharepoint里通过correlation id查找详细的错误信息):

Area     : SharePoint Foundation
Category : WOPI
Level    : Unexpected
EventID  : ajc39
Message  : WOPIFrame - Unhandled exception: System.NotSupportedException: Can not create an identity context for system account user token. 
               at Microsoft.SharePoint.IdentityModel.SPIdentityContext.Create(SPUserToken token, Boolean isShareByLinkGuestUser)     at Micr
           osoft.SharePoint.IdentityModel.SPIdentityContext.Create(SPUser user)     at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2Sec
           urityTokenManager.IssueLoopbackTokenString(Uri endpointAddress, SPUser user, String applicationContext, DateTime& validTo)     at
            Microsoft.SharePoint.Utilities.SPWOPIHost.GetAccessToken(SPWeb web, Guid uniqueId, String proofKeyId, SPUrlZone zone, SPBasePerm
           issions perms, Boolean hasEditLicense, Int64& ttl)     at Microsoft.SharePoint.Utilities.SPWOPIHost.GetAccessToken(SPFile file, S
           tring proofKeyId, SPUrlZon...

发现不能用system account, 于是换了用户登录,页面上还是不能正常priview, 最终重新run下面的power shell命令解决:

#           New-OfficeWebAppsFarm -InternalUrl $interalURL -ExternalUrl $externalURL -SSLOffloaded -EditingEnabled
            New-OfficeWebAppsFarm -InternalUrl $interalURL -AllowHttp -EditingEnabled

转载于:https://www.cnblogs.com/fengwenit/p/3534759.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值