zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    图的深度遍历
    判断森林中有多少棵树
    基于邻接矩阵的广度优先搜索
    第三届程序设计知识竞赛网络赛
    大数相乘
    a+b=x,ab=y
    poj3278
    不敢死队
    单链表中重复元素删除
    poj2506
  • 原文地址:https://www.cnblogs.com/TNSSTAR/p/3580381.html
Copyright © 2011-2022 走看看