0

I am simply following the tutorials to create the Office AddIn using Office API and it is not working well. I am getting an error - This add in could not be started. Close this dialog to ignore the problem or click "Restart" to try again.

Tutorial Ref. - Build your first PowerPoint task pane add-in

Environment (I tried/have)

  1. Windows 11
  2. Visual studio - 2019 (16.11.33801.447) / Visual studio - 2022 (17.6.33723.286)
  3. Office 365 (Version 2305 Build 16.0.16501.20074) 32-bit
  4. Microsoft Edge WebView2 Runtime (114.0.1823.58)
  5. Checking for PowerPoint

Issue enter image description here

Observation

Question

  1. How to figure this out what's the problem here?
  2. Am I missing anything to make it run?
  3. Is this known issue of Office API and VS?
Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45
savan_03
  • 67
  • 6
  • 1
    When you get situation #1 or #2, try putting the URL (from the `` element in the manifest) into a browser and see if the add-ins home page opens. Also, install the [Fiddler tool](https://www.telerik.com/fiddler) and compare the raw Request and Response in each of your three situations. – Rick Kirkham Jun 30 '23 at 16:35
  • My guess is an issue w/ your Manifest.xml. Did you build project w/ Yeoman or VS? – FreeSoftwareServers Jun 30 '23 at 19:48
  • When posting a question, it helps to follow this (make a reproducible, minimal example) https://stackoverflow.com/help/minimal-reproducible-example . With out this, we can only guess and take shots in the dark. Half the time, you will resolve your own issue while trying to make your question as "minimal" as possible. – FreeSoftwareServers Jun 30 '23 at 19:52
  • Can you update w/ some code and/or your manifest? Happy to revert downvote if you include steps to reproduce. – FreeSoftwareServers Jun 30 '23 at 19:53
  • @rickkirkham - In all the cases (working and not working), the `` location URL is working well on the browser. Regarding the fiddler, I have seen a 403 error but it seems to be seen during the working case as well. So. no luck at all. – savan_03 Jul 04 '23 at 13:28
  • @FreeSoftwareServers - It looks like you haven't read the details well. But fine, let me answer your questions here. 1. I simpling following the tutorial steps - nothing else. https://learn.microsoft.com/en-us/office/dev/add-ins/quickstarts/powerpoint-quickstart?tabs=visualstudio 2. I am checking with Visual Studio 3. Yeoman working fine. 4. I knew, the question should have "minimal" details, but to reduce back and forth, I have tried to add all cases which I tried. Hope this will help you to answer my question. Thanks – savan_03 Jul 04 '23 at 13:35
  • Good luck! No code = no help from me! – FreeSoftwareServers Jul 04 '23 at 19:28
  • Based on your symptoms, I think that the built-in VS debugger is causing the problem. The Office Add-in project templates in VS haven't been updated in years. 2 things to try: (1) Launch with Ctrl-F5 and then attach the VS debugger to the process after the add-in is running. (2) Launch with Ctrl-F5 and use the browser tools to debug: https://learn.microsoft.com/office/dev/add-ins/develop/debug-office-add-ins-in-visual-studio#use-the-browser-developer-tools – Rick Kirkham Jul 04 '23 at 19:56
  • I would try uninstalling `Microsoft Edge WebView2 Runtime (114.0.1823.58)` to see if thats the issue. – FreeSoftwareServers Jul 07 '23 at 17:48

0 Answers0