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"

作者:johnny 出处:http://www.cnblogs.com/sunjunlin 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

posted on 2012-01-18 01:33 孙俊林 阅读(86) 评论(0) 编辑 收藏

发表评论

昵称: [登录] [注册]

主页:

邮箱:(仅博主可见)

评论内容:

  登录  注册

[使用Ctrl+Enter键快速提交评论]

0 2325144 XFr2nwM4HuY=

导航

<2012年1月>
25262728293031
1234567
891011121314
15161718192021
22232425262728
2930311234

公告

大圣

网名:齐天大圣

English Name:Johnny

MSN: johnnysun2010@live.cn

荣誉:微软社区精英

   性格开朗;熟悉sharepoint平台开发,MOSS UI定制;熟悉Sharepoint的工作流、EventHander、自定义webpart等功能应用开发.

 

作者:johnny

出处:http://www.cnblogs.com/sunjunlin 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

昵称:孙俊林
园龄:3年7个月
粉丝:10
关注:17

常用链接

最新随笔

我的标签

随笔分类(109)

随笔档案(133)

文章分类

相册

SharePoint

积分与排名

  • 积分 - 35905
  • 排名 - 2991

最新评论

阅读排行榜

评论排行榜

推荐排行榜