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?
9
  • 1
    When you get situation #1 or #2, try putting the URL (from the <SourceLocation> element in the manifest) into a browser and see if the add-ins home page opens. Also, install the Fiddler tool and compare the raw Request and Response in each of your three situations. Commented Jun 30, 2023 at 16:35
  • My guess is an issue w/ your Manifest.xml. Did you build project w/ Yeoman or VS? Commented Jun 30, 2023 at 19:48
  • When posting a question, it helps to follow this (make a reproducible, minimal example) 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. Commented Jun 30, 2023 at 19:52
  • Can you update w/ some code and/or your manifest? Happy to revert downvote if you include steps to reproduce. Commented Jun 30, 2023 at 19:53
  • @rickkirkham - In all the cases (working and not working), the <SourceLocation> 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. Commented Jul 4, 2023 at 13:28

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.