部署Office Web Apps
工作需要部署OfficeWebApps(OWA),于是部署了下.
安装
环境: WindowsServer2008R2
需要的文件:
软件 | 文件名 |
---|---|
.Net Framework4.5(.1) | NDP451-KB2858728-x86-x64-AllOS-ENU.exe |
PowerShell V3(Windows Management Framework 3.0) | Windows6.1-KB2506143-x64.msu |
office web apps server 2013 | cn_office_web_apps_server_2013_with_sp1_x64_dvd_3832995.iso |
安装需要在非dc的ad域中
1 | Import-Module ServerManager |
安装后在该服务器访问127.0.0.1按照提示即可预览测试.
安装后发现好像没有方便的方式去修改80端口
报错解决
错误0
Office Web Apps装好后发现,多个界面报错,错误为处理程序 “PageHandlerFactory-Integrated” 在其模块列表中有一个错误模块 “ManagedPipelineHandler”
,搜索后发现,这一问题的原因为.net框架在iis前安装:
1 | C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i |
运行上述命令即可解决
错误1
Office Web Apps安装好后发现,word/excel都可以正常使用,但是powerpoint不能正常使用,提示错误.查看位于的日志后发现抛出了以下异常
Timestamp|Process|TID|Area
–|–|–|–|–|–|–|–|–
PowerPoint Front End|a22x|Medium|WacConversionResultErrorInfo; ItemRetrivalStatus: ConversionError; ErrorCode: ErrorWacConversionWorkerException; ConversionResult: WorkerException;
Office Viewing Architecture|al1c3|Medium|AsyncResult::SetCompleted - Completed with unthrown exception Microsoft.Office.Server.Powerpoint.Pipe.Interface.PipeApplicationException: Exception of type ‘Microsoft.Office.Server.Powerpoint.Pipe.Interface.PipeApplicationException’ was thrown. at Microsoft.Office.Server.Powerpoint.Pipe.Web.WacViewServices.EndGetItem(IAsyncResult asyncResult) at Microsoft.Office.Server.Powerpoint.Pipe.Interface.ResourceRequest.End(IAsyncResult asyncResult) at Microsoft.Office.Server.Powerpoint.Pipe.Interface.PipeManager.OnRequestComplete(IAsyncResult result)WacConversionResultErrorInfo; ItemRetrivalStatus: ConversionError; ErrorCode: ErrorWacConversionWorkerException; ConversionResult: WorkerException;
PowerPoint Web Services|a23u|Monitorable|Pipe application exception caught when executing web method handler: Microsoft.Office.Server.Powerpoint.Pipe.Interface.PipeApplicationException: Exception of type ‘Microsoft.Office.Server.Powerpoint.Pipe.Interface.PipeApplicationException’ was thrown. at Microsoft.Office.Web.Common.AsyncResult1.WaitForCompletion() at Microsoft.Office.Server.Powerpoint.Web.Services.PptViewingService.EndGetPresentationInternal(IAsyncResult result) at Microsoft.Office.Server.Powerpoint.Web.Services.WebMethodExecuteHandler.<>c__DisplayClass7
1.
PowerPoint Web Services|a23u|Monitorable|…WacConversionResultErrorInfo; ItemRetrivalStatus: ConversionError; ErrorCode: ErrorWacConversionWorkerException; ConversionResult: WorkerException;
以Microsoft.Office.Server.Powerpoint.Pipe.Interface.PipeApplicationException
为关键字搜索,发现
1 | rd /s /q "C:\ProgramData\Microsoft\OfficeWebApps\Working\d\" |
运行上述命令即可解决.至此,可以正常预览使用