问题描述
我有一个用于MS Word的Office Web插件,当它在IIS Express(通过VS 2017)中托管时,可以在桌面和在线Word中正常工作。 但是,当我将站点移动到IIS时,Office.Initialize()处理程序无法执行。 显示初始
网页,但没有执行任何javascripting。 任何答案为什么? 我是否遗漏了IIS的一些配置?
I have an Office web add-in for MS Word that works just fine in both desktop and online Word when it is hosted in IIS Express (via VS 2017). However, the Office.Initialize() handler fails to execute when I move the site to IIS. The initial web page displays, but none of the javascripting is executed. Any answers why? Am I missing some configuration of IIS?
推荐答案
如何运行添加 - 在您将站点部署到IIS之后? 您是否将清单部署到Office加载项目录中?
How do you run the add-in after you deploy the site to IIS? Do you deploy the manifest into Office Add-ins Catalogs?
请访问
Sideload Office加载项用于测试 检查如何侧载加载 - 用于测试。
Please visit Sideload Office Add-ins for testing to check how to sideload the add-in for testing.
问候,
Celeste
这篇关于在IIS上托管办公室Web加载项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!