Remember my blogpost about WebClient crashing? Yes, this one: How to crash the WebClient in Business Central in seconds. Well, I just wanted to give the credits to the Microsoft support that was able to reproduce the issue and escalate it further in short time. The fix is expected to be releases soon – hopefully with Update 3 for BC24. I am really happy about the fact that the issue was addressed this fast.
In the meanwhile, there are two more setting worth mentioning in context of Document Attachments that have an impact on which files will be possible to upload to Document Attachments . The keywords for those two properties are ClientServicesAllowedFileTypes and ClientServicesProhibitedFileTypes. What do those two properties do? This is described in Microsoft documentation: Client Services. By default, the property ClientServicesProhibitedFileTypes is the only one present in the CustomSettings.config on a Service Tier and the value it contains is:
value=”ade;adp;asp;bas;bat;chm;cmd;com;cpl;csh;exe;fxp;gadget;hlp;hta;inf;ins;isp;its;js;jse;ksh;lnk;mad;maf;mag;mam;maq;mar;mas;mat;mau;mav;maw;mda;mdb;mde;mdt;mdw;mdz;msc;msi;msp;mst;ops;pcd;pdf;pif;prf;ps1;psm1;prg;pst;reg;scf;scr;sct;shb;shs;url;vb;vbe;vbs;vsmacros;vss;vst;vsw;ws;wsc;wsf;wsh”
By changing this property, we can influence file types that are disallowed for upload. We can however use the property ClientServicesAllowedFileTypes instead in order to define which file types are allowed to be uploaded. By using the property ClientServicesAllowedFileTypes the other property ClientServicesProhibitedFileTypes is no longer valid and will be ignored.
However, even if we allow ALL file types, some files (executables) will still be blocked. Let’s add the line in the CustomSettings.config that allowss upload of all file types and restart the Service Tier.
<add key=”ClientServicesAllowedFileTypes” value=”*” />
If we try to upload the *.exe file as Document Attachment, we will get an error:

Once again, I would like to know what the limitations are and to which extent those can be influenced but the documentation is not elaborate enough. If you happen to have some more info, please drop a comment.