Our plugin is causing the UI to get stuck Outlook 365-2016

Copper Contributor

We developing an Add-in project by using C# and vsto. Add-in receives list of operations to be performed from the server with a Task sending HTTP request. Our Add-in operates creating a hidden folder, searching around folders, moving an email to the hidden folder and flagging emails. Before performing operations on the hidden folder, we unhide that folder. When the operation is done, we hide the folder again. The UI thread gets stuck when the Outlook is minimized and reopened, but Add-in operations can still be performed. What could cause the user interface to freeze?

3 Replies

@gorhem Hello, I have no idea. But take a look at this page for guidance how to test and debug Office Add-ins https://docs.microsoft.com/en-us/office/dev/add-ins/testing/test-debug-office-add-ins

@ChristianBergstrom Thank you for your advice, we can debug our Outlook Add-in with Visual Studio, but we can't find what's causing the UI stuck. It would be great if you know a way, like logging, to get Outlook to tell us clearly why it's frozen. By the way, the Outlook logs are very complicated :). 

@gorhem Hello, maybe this can provide some answers https://support.microsoft.com/en-us/office/what-is-the-enable-logging-troubleshooting-option-0fdc446...

 

If it doesn't I suggest you open up a support case with the official MS support and provide requested logs to them.

 

Good luck!