添加错误 - 此添加未响应 [英] Add in Error-This add in is not responding

查看:85
本文介绍了添加错误 - 此添加未响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我们正在使用Office.js和Angular 2开发Word-2016 office 加载项。有时我们会收到"加载项错误:此加载项没有响应"加载项左上角的警告消息。我们在加载项中使用Tree控件,我们相信
它是导致以下警告消息的原因。您能否告诉我们如何在加载项中删除此警告消息。

We are developing Word-2016 office  add-in using Office.js and Angular 2. Some times we are getting "Add-in Error: This add-in is not responding" warning message on left top of the Add-in. We are using Tree control in add-in and we belive that it is the cause of the following warning message. Can you please tell us the way how to remove this warning message in Add-in.

非常感谢。

推荐答案

你运行了桌面或Word在线项目?

Did you run your project in desktop or Word online?

>>我们在加载项中使用Tree控件,我们相信它是以下警告消息的原因

>> We are using Tree control in add-in and we belive that it is the cause of the following warning message

要检查它是否与Tree控件相关,我建议您删除此控件,并再次进行测试。

To check whether it is related with Tree control, I would suggest you remove this control, and make a test again.

我建议您在加载Word加载项时尝试Fiddler捕获请求以查看是否有任何错误。

I would suggest you try Fiddler to capture the requests when loading the Word Add-in to see whether there is any error.

对于此错误消息,您似乎运行了长时间操作并阻止了UI。我建议你试试WebWorker。

Per to this error message, it seems you run a long-time operation and block the UI. I would suggest you try WebWorker.

我建议你参考下面的链接获取更多信息。

I suggest you refer below link for more information.

#设计和实现技巧

https://dev.office.com/docs /加载项/开发/资源限制和性能优化


这篇关于添加错误 - 此添加未响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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