We’ve developed some resources to help you work effectively from home during COVID-19 Click to learn more

Maillink - can't save document

Hi Community.

For some reason, I can't archive emails from Outlook. I'm given the error below.

I'm able to create emails and document from Super Office, and open them as well.

'Test connection' also gives me a green 'good-to-go' box.


The logfile doesn't help much:

SuperOffice.MailLink.Exceptions.SoDocumentErrorException: Kan document niet opslaan.
bij SuperOffice.MailLink.Client.FileUploadHelper.DoWork(Object sender, DoWorkEventArgs e)
bij System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
bij System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) (+261386ms)
[2017.01.26 12:43:41] OUTLOOK.EXE: Saving document to file as: C:\Users\pst\AppData\Local\Temp\23-118-741.msg (+9956ms)


Maillink error

(Can't save document)

I moved this one, since this is related to the product and not community.

When it comes to archiving emails it is useful to know if you have win or web?

If it's web, then there are some temploations you should look at too. In the product configurator for web you have the Document archive chapter, and here you have two locations: Archive path and Temporary Path, when archiving it will save first to temp and then move it to archive, so the user who performs this action needs access to read/write and delete here. It will use the impersonate user from the box below, verify that the user have sufficient permissions to both locations.

If it's win, then enable debug in the win client too and you may get a better indication when you compare the maillink log with the so_log you can specify extra logging for in SuperOffice.ini:


Av: Margrethe Romnes 26. jan 2017

Sorry about the missing information.

Its a Windows installation.

I think I found the source of the problems - it appears to be the customers anti-virus software, who caught the files. In SO_ARC, the files was created with name and format but with 0kb size.

Sometimes this can be hard to deduce from the error message, though :).

Av: Kasper Rosenlund 26. jan 2017

Hello Kasper!

When troubleshooting MailLink, the logfile from MailLink is not the only source of information. MailLink is using Netserver and Netserver can be configured to output verbose information to log files. I would assume there would be log entries in the netserver log file regarding your issues (if Netserver logging was enabled). 

For Windows: Netserver debugging can be configured and enabled in th auto-generated netserver.config in the MailLink AppData directory. 

For Web: Debugging can be enabled in the web.config file. Note that this will affect the entire Web-installation.


With that said, in my experience, anti-virus software tend to be the culprit when archiving mails fail. While this is extremely annoying and counter-productive, it is also understandable. Malware may be distributed through emails. If possible, I would suggest to put the temp folder of the SuperOffice installation in the white-list of the AV-software. This configuration is far from optimal, I have to admit. It does prevent the locking behaviour from the AV-sofware, while we are uploading the archived emails from the user's Outlook to the temp folder, before it is being moved to the correct location in SoArc.




MailLink Developer

Av: Hans Oluf Waaler 26. jan 2017