Error when archiving from the GitHub version of the Outlook plugin

We have downloaded and built version 3.0.11 from https://github.com/salesagility/SuiteCRM-Outlook-Plugin/releases.

The plugin has been installed successfully and has been configured to connect to the demo installation at https://demo.suiteondemand.com/ with username “will” and password “will” (i.e. the demo account provided there).

The plugin connects successfully to the demo site and is able to search for contacts when trying to archive an email. However, when clicking on the “Archive” button the plugin throws error “There was an error while archiving”. Any ideas how to solve this?

I don’t know the answer, but maybe it’s easier to test with your own server, instead of the live demo, where there probably are more restrictions in place (namely with everything related to email).

On your own server you can also check server-side logs…

Thanks for the reply. I understand that it would be better to test on my own server, but this would require to set it up first. At the moment I am evaluating the application and if possible I would like to be able to test the outlook plugin without having to set up my own server.

Can you find any client-side logs? I’m sorry, I really don’t know much about the plugin to help you properly…

I checked the error logs of the module and found this

SuiteCRM Outlook Add-In v3.0.29.0 in Outlook version 15.0.0.4937
Auto-archiving: off
Logging level: Error

2018-04-02 12:25:15,372 | VSTA_Main | ERROR | Auto-archiving: off
2018-04-02 12:25:15,372 | VSTA_Main | ERROR | Logging level: Error
2018-04-02 12:25:30,070 | VSTA_Main | ERROR | btnArchive_Click
System.DllNotFoundException: Unable to load DLL ‘tidy.x64.dll’: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at TidyManaged.Interop.PInvoke.tidyCreate64()
at TidyManaged.Document.FromString(String htmlString)
at SuiteCRMAddIn.Extensions.MailItemExtensions.Tidy(String html)
at SuiteCRMAddIn.Extensions.MailItemExtensions.AsArchiveable(MailItem olItem, EmailArchiveReason reason)
at SuiteCRMAddIn.Extensions.MailItemExtensions.Archive(MailItem olItem, EmailArchiveReason reason, IEnumerable1 moduleKeys, String excludedEmails) at SuiteCRMAddIn.Dialogs.ArchiveDialog.<>c__DisplayClass34_0.<btnArchive_Click>b__0(MailItem mailItem) at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at SuiteCRMAddIn.Dialogs.ArchiveDialog.btnArchive_Click(Object sender, EventArgs e)
Data:System.Collections.ListDictionaryInternal
HResult:-2146233052

Why is this looking for Tidy and how do I fix the error?

I really don’t know. Maybe you missed some dependency while compiling?

https://www.google.pt/search?q=tidymanaged

If you think it’s a bug in the Plugin you can try opening an Issue for it here:

https://github.com/salesagility/SuiteCRM-Outlook-Plugin/issues