SharePoint 2013中Office Web Apps的一次排错
转自http://www.cnblogs.com/awpatp/archive/2013/06/06/3121420.html, 仅供自己查看
笔者尝试在自己的测试环境中为SharePoint 2013配置Office Web Apps, 遇到了下面的问题.
文档无法在IE中打开, 报错如下.
排查的过程如下:
1. 查看SharePoint的ULS Log, 发现下面的条目:
06/05/2013 23:37:59.16 w3wp.exe (0x067C) 0x0124 SharePoint Foundation Claims Authentication aj0os Exception Exception occurred while creating an SPIdentityContext from SPUserToken '47e03bd70000000034000000efeeebea030000000c00000000000000dfdedbda0100000000000000010100000000000000000000'. System.NotSupportedException: Can not create an identity context for system account user token. at Microsoft.SharePoint.IdentityModel.SPIdentityContext.Create(SPUserToken token, Boolean isShareByLinkGuestUser) StackTrace: at onetnative.dll: (sig=6aba1f5f-ccc4-4590-af00-b8ffe7fe99a0|2|onetnative.pdb, offset=28BE6) at onetnative.dll: (offset=152A9) 19a6229c-9bdd-2062-33bb-ed8cf11e8631
2. 改用普通帐号登录SharePoint站点, 问题依然存在. 但是SharePoint ULS log已经不再报错了.
3. 登录WAC服务器, 在如下的位置找到ULS日志:
C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS
发现如下的报错:
06/05/2013 23:38:56.21 w3wp.exe (0x1780) 0x2130 Office Web Apps WAC Hosting Interaction adhrj Monitorable HttpRequestAsync (WOPICheckFile,WACSERVER), request failure [HttpResponseCode:Forbidden, HttpResponseCodeDescription:Forbidden, url:http://sp2013-ca/_vti_bin/wopi.ashx/files/ee46dad3597f414b91d547007d786394?access_token=REDACTED_1056&access_token_ttl=1370536736053] 9bc1abde-e31f-4ec4-9bbc-741b8a169ac6
06/05/2013 23:38:56.21 w3wp.exe (0x1780) 0x258C Office Web Apps WAC Hosting Interaction agw2h Unexpected WOPI Check, non-200 return [code:Forbidden, url:http://sp2013-ca/_vti_bin/wopi.ashx/files/ee46dad3597f414b91d547007d786394] 9bc1abde-e31f-4ec4-9bbc-741b8a169ac6
06/05/2013 23:38:56.21 w3wp.exe (0x1780) 0x258C Office Web Apps WAC Hosting Interaction adhsk Unexpected WOPI CheckFile: Catch-All Failure [exception:Microsoft.Office.Web.Common.EnvironmentAdapters.FileUnknownException: WOPI Check File at Microsoft.Office.Web.Apps.Common.WopiDocument.CheckWopiFile()] 9bc1abde-e31f-4ec4-9bbc-741b8a169ac6
06/05/2013 23:38:56.21 w3wp.exe (0x1780) 0x258C Services Infrastructure Services Infrastructure Logging ai94t Unexpected FileUnknownException while loading the app. [FileSourceId: -1088102096] [ClusterId: 0] [ExtraErrorInfo: ] 9bc1abde-e31f-4ec4-9bbc-741b8a169ac6
06/05/2013 23:44:27.28 w3wp.exe (0x2BC4) 0x1DC4 ULS Logging Unified Logging Service b8fx High ULS Init Completed (w3wp.exe, uls.native.dll)
4. 谷歌这条报错, 发现可能跟AllowOAuthOverHttp的设置有关. 于是follow这篇文章的步骤, 配置AllowOAuthOverHttp.
使用的命令如下:
(Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp
$config = (Get-SPSecurityTokenServiceConfig)
$config.AllowOAuthOverHttp = $true
$config.Update()
(Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp
配置之后, 问题解决!
有图有真相.
参考资料
========================
SharePoint 2013 Office Web Apps Problem - Unable to Open/View/Edit
Configure SharePoint 2013 to use Office Web Apps
http://technet.microsoft.com/en-us/library/ff431687.aspx
SharePoint 2013中Office Web Apps的一次排错的更多相关文章
- sharepoint 2013 和 office web apps server 2013集成
环境: 三台服务器 系统:window 2008 R2server01: 192.168.10.162(office web app)server02: 192.168.10.163(AD)serv ...
- Exchange 2013与 Office Web Apps 整合
好久没写什么新文章了,这里有关Office Web Apps 的部署我就省略了,只是在创建web场我一般 会创建2个url, 如: New-OfficeWebAppsFarm -InternalUrl ...
- [转载]部署Office Web Apps Server并配置其与SharePoint 2013的集成
Office Web Apps Server 是新的 Office 服务器产品,它提供 Word.PowerPoint.Excel 和 OneNote 的基于浏览器的版本.单个 Office Web ...
- 部署Office Web Apps Server并配置其与SharePoint 2013的集成
部署Office Web Apps Server并配置其与SharePoint 2013的集成 Office Web Apps Server 是新的 Office 服务器产品,它提供 Word.P ...
- Office Web Apps Server 2013与PDF(一)
好吧--这个消息有点旧,迟了将近4个月. Office Web Apps是微软各大服务产品系列中的一个基础服务,可以为SharePoint 2013.Exchange 2013.Lync 2013提供 ...
- Office Web Apps安装部署(一)
来源于:http://www.cnblogs.com/poissonnotes/p/3238238.html 系统要求为Windows Server 2012, 注意:安装Office Web App ...
- Office Web Apps安装部署(二)
SharePoint 2013调用Office Web Apps 注意:调用OfficeWebApps的sharepoint应用的身份认证必须是基于声明的身份认证(claims-based authe ...
- Office Web Apps Server(1)
Office Web Apps Server runs on one or more servers and provides browser-based Office file viewi ...
- Office Web Apps Server 概述
Office Web Apps Server 是新的 Office 服务器产品,它提供 Word.PowerPoint.Excel 和 OneNote 的基于浏览器的版本.单个 Office Web ...
随机推荐
- SQL Server 2008 Windows身份验证改为混合模式身份验证
1.在当前服务器右键进入“属性页”->“安全性”->勾选Sql Server和Windows身份验证模式->确定. 由于默认不启用sa,所以如果启用sa账户登录,则还需要如下设置: ...
- JavaScript 32位整型无符号操作
在 JavaScript 中,所有整数字变量默认都是有符号整数,这意味着什么呢? 有符号整数使用 31 位表示整数的数值,用第 32 位表示整数的符号,0 表示正数,1 表示负数. 数值范围从 -2^ ...
- common.css
/* global */ document,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockqu ...
- C# 通过WebService方式 IIS发布网站 上传文件到服务器
应用场景:要将本地的文件 上传到服务器的虚拟机上 网络环境:公司局域网(如下图中第二种) 开发环境:VS2010 服务器环境:WinServer2008 虚拟机环境:WinServer2008 ...
- shell 和awk性能对比
time for ((i=0;i<10000;i++)) do ((sum+=i)); done real 0m0.086suser 0m0.079ssys 0m0.007s ...
- 这些年你需要注意的SQL
[20141114]这些年你需要注意的SQL *:first-child { margin-top: 0 !important; } body>*:last-child { margin-bot ...
- set -x与set +x指令
转载自:http://www.2cto.com/os/201304/205118.html 参考: http://blog.csdn.net/t0nsha/article/details/860688 ...
- [Node.js] OAuth 2 和 passport框架
原文地址:http://www.moye.me/?p=592 OAuth是什么 OAuth(开放授权)是一个开放标准,允许用户让第三方应用访问该用户在某一网站上存储的私密的资源(如照片,视频,联系人列 ...
- [Latex]实现行内高亮
Latex的行内高亮 前两天想要在做的小操作系统实验指导书里使用行内高亮,一开始虽然有命令 \mint{Language}|contents| 但是无奈只能实现跳行高亮,即不能实现行内高亮.即代码高亮 ...
- web面试题大全
$HTML, HTTP,web综合问题 常见排序算法的时间复杂度,空间复杂度 前端需要注意哪些SEO web开发中会话跟踪的方法有哪些 <img>的title和alt有什么区别 docty ...