尝试使用Office Web App Server和自定义WOPI主机打开Word文档时出错 [英] Got errors when trying to open word document with Office Web App Server and customized WOPI host

查看:275
本文介绍了尝试使用Office Web App Server和自定义WOPI主机打开Word文档时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用基于此示例的ASP.NET MVC WOPI主机配置Office Web App Server。 https://code.msdn.microsoft.com/office/Building-an-Office-Web-f98650d6。虽然已经设置了OWA服务器和WOPI服务器,但我现在可以使用Excel和PowerPoint
应用程序来打开和编辑xls和ppt文件,无论我启用还是禁用编辑功能,都会出现打开word文档的问题。 OWA服务器。


当我在启用编辑时打开word文档时出现此错误:



如果我禁用编辑,我收到此消息:





我已经尝试了几个文件,所以我认为这不是文件的问题。此外,我在OWA服务器的日志中没有发现任何异常。 

解决方案

嗨Gary Jiang,


感谢您在MSDN论坛上发帖。


此论坛面向开发人员讨论有关
适用于Office的应用


根据说明,您在部署代码示例时似乎遇到了问题。如果我理解清楚,我建议您联系"Q和A"代码示例的作者。 tab。


如果你有关于WOPI的问题,我建议你从
得到更有效的回复 Office

协议论坛


问候&费


I am configuring the Office Web App Server with our ASP.NET MVC WOPI host based on this example. https://code.msdn.microsoft.com/office/Building-an-Office-Web-f98650d6. While both the OWA server and WOPI server has been set up and I can use Excel and PowerPoint app to open and edit xls and ppt file now, there are problems opening word documents no matter I enable or disable the editing function of OWA server.

When I open a word document while enabling editing I got this error:

If I disable editing I got this message:

I have tried several file so I thought it is not the files' problem. Also I didn't find any exception in the log of OWA server. 

解决方案

Hi Gary Jiang,

Thanks for posting in MSDN forum.

This forum is for developers discussing issues about apps for Office.

Based on the description, it seems that you got an issue when you deploy the code sample. If I understood clearly, I suggest that you contact the author of the code sample from the "Q and A" tab.

Also if you have the question about WOPI, I suggest that you get more effective response from Office
Protocols forum
.

Regards & Fei


这篇关于尝试使用Office Web App Server和自定义WOPI主机打开Word文档时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆