'Word Add-in only works with debugger open in browser based Word
I have a Word Task Pane Add-in that works as expected in the desktop version of word, but fails in the browser-based version with a message of:
Add-in Error Something went wrong and we couldn't start this add-in. Please try again later or contact your system administrator."
This appears exactly 10 seconds after the task pane is opened. There's a retry button below this text, and if I "retry" twice, the third time it offers me an option to start the add-in anyway - if I go this route, everything works. An interesting note: The error message and retry button are just DOM overlays - if I open the dev tools and remove them, the app is open and running fine underneath.
One confusing part about it is that it works properly on the first try if the Developer Tools are open in the browser - I don't need to do anything else, just have the Dev Tools open, and it works fine.
I've looked at the traffic to the web server hosting this add-in while this is all going on, and I don't see any errors or unexpected traffic, so there don't seem to be any leads there.
It seems like something is timing out in the background, but I can't figure out what that could be or how to fix it.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
