zoukankan      html  css  js  c++  java
  • SharePoint2010在线查看Excel出错

    SharePoint2010在线查看Excel出错:
     
    Symptoms: A document library or Report library was created within a site on SharePoint 2010 and an excel document was uploaded. Once the file was uploaded , upon clicking on the excel document , an error is displayed saying the workbook cannot be opened as shown below:
     

    image.png

     
     

    The reason behind this is usually due to the following:-

    1. For excel services and to open the excel document within the browser make sure you have the following Hotfix installed: Windows6.1-KB976462-v2-x64.msu available here.
    2. Or it could be because you use a custom Service Account for all your service application / Excel Services then you need to do either one of the following :
    • Add the Service account to be a Dbowner on your content database that holds the web application
    • Or copy the following script and run it
       
      Add-PSSnapin Microsoft.SharePoint.PowerShell -EA 0
      $webApp = Get-SPWebApplication "REPLACE_NAME_OF_WEBAPP"
      $webApp.GrantAccessToProcessIdentity("REPLACE_NAME_OF_SERVICEACCOUNT")
      "Completed"

  • 相关阅读:
    博客推荐
    oracle11g dataguard 安装手册(转)
    Linux文件系统介绍(转)
    降低磁盘IO使Oracle性能优化(转)
    关于AWR报告命中率指标的解释(转)
    oracle 锁的介绍 (转)
    oracle undo redo 解析
    oracle sqlplus 连接不正常
    Oracle技术嘉年华
    断线的回忆
  • 原文地址:https://www.cnblogs.com/sunjunlin/p/2325144.html
Copyright © 2011-2022 走看看