2

Since I updated Office 365 to Version 1908 (Build 11929.20658) I am having issues using our own developed Outlook add-in in the Outlook Desktop Client. Outlook reports the following error: "ADD-IN ERROR This add-in could not be started. Close this dialog to ignore the problem or click "Restart" to try again"

The same add-in works fine in the Outlook Web in different browsers (IE, Chrome, Edge).

I followed the instructions from https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/troubleshoot-outlook-add-in-activation, but it didn't help to solve the issue.

Looking into Fiddler logs, it seems that the Outlook doesn't try to reach the server to download the add-in files.

I read about Enable Protected Mode on IE https://learn.microsoft.com/en-us/office/troubleshoot/error-messages/apps-for-office-not-start However, the newer Office version uses EdgeView as a web browser engine. I also have installed on this machine the Edge Chromium version.

  • Is a similar configuration change need also on EdgeView?
  • Is there a way to troubleshoot the or collect logs when starting up the add-in inside Outlook desktop?

I rolled back Office 365 to Version 1902 (Build 11328.20492). In this version, the add-ins work fine.

But, when updating to the latest version available Version 2002 (Build 12527.20278) the problem remains.

I've attached screenshots from Outlook Destkop (Error) and Outlook Web (OK) as additional information. Outlook Desktop (ERROR) Outlook Web (OK)

Looking into the Event Viewer / Windows Logs / Application I see the following Application Error(s) when opening the add-in inside Outlook Desktop

Event 1000, Application Error

Faulting application name: Win32WebViewHost.exe, version: 10.0.18362.329, time stamp: 0x65f1ccce Faulting module name: edgemanager.dll, version: 11.0.18362.693, time stamp: 0xb50be940 Exception code: 0xc0000409 Fault offset: 0x0000000000032baf Faulting process id: 0x15b0 Faulting application start time: 0x01d5f97c03220670 Faulting application path: C:\Windows\SystemApps\Microsoft.Win32WebViewHost_cw5n1h2txyewy\Win32WebViewHost.exe Faulting module path: C:\WINDOWS\SYSTEM32\edgemanager.dll Report Id: 240488bf-a9e4-43ef-abc6-832c8b0f8a79 Faulting package full name: Microsoft.Win32WebViewHost_10.0.18362.449_neutral_neutral_cw5n1h2txyewy Faulting package-relative application ID: DPI.PerMonitorAware

Event 1000, Application Error

Faulting application name: RuntimeBroker.exe, version: 10.0.18362.1, time stamp: 0x4539d5a0 Faulting module name: EdgeManager.dll, version: 11.0.18362.693, time stamp: 0xb50be940 Exception code: 0xc0000409 Fault offset: 0x0000000000022f44 Faulting process id: 0x18d8 Faulting application start time: 0x01d5f97c035dfbc5 Faulting application path: C:\Windows\System32\RuntimeBroker.exe Faulting module path: C:\Windows\System32\EdgeManager.dll Report Id: 9add408f-632f-4b25-8786-eced0492536d Faulting package full name: Microsoft.Win32WebViewHost_10.0.18362.449_neutral_neutral_cw5n1h2txyewy Faulting package-relative application ID: runtimebroker07f4358a809ac99a64a67c1

6
  • do you see any error logged in on windows event viewer > Application and Service Logs > Microsoft > Microsoft Office Alerts?
    – Pallav
    Commented Mar 12, 2020 at 15:50
  • check this learn.microsoft.com/en-us/office/dev/add-ins/testing/…
    – Pallav
    Commented Mar 12, 2020 at 16:25
  • @Pallav, I see the error in the Event Viewer entry Microsoft Office Alerts. It shows an error code 0x80004005 - <EventData> <Data>Add-in Error</Data> <Data>This add-in could not be started. Close this dialog to ignore the problem or click "Restart" to try again.</Data> <Data>Apps for Office</Data> <Data>16.0.12527.20260</Data> <Data>0x80004005</Data> <Data /> </EventData> Commented Mar 13, 2020 at 19:48
  • ok. Could you look at this article and verify. support.microsoft.com/en-us/help/2785498/…
    – Pallav
    Commented Mar 15, 2020 at 5:59
  • @Pallav, Thanks, but that article describes an issue on OLK 2013/2010. I am running Outlook Office 365 (16.0). I ran the tests described in the article and the OLK doesn't have issues with autodiscover. Commented Mar 16, 2020 at 13:11

2 Answers 2

0

We had the same issue in our VDI environment and we found out that WebView2 was missing. After installing it issue is resolved. Hope that will help.

1
  • 1
    As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented May 4, 2022 at 0:37
-1

I have the same issue with VDI.

To solve this issue I try :

  • Reinstall M365

  • Delete Microsoft folder into the user's profile :

    c:\users\username\appdata\local\microsoft  
    c:\users\username\appdata\locallow\microsoft  
    c:\users\username\appdata\roaming\microsoft*
    

It seems to be a profile issue because when I delete the user's profile, everything works perfectly. I perform some test on a user profile to find the correct file

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.