If like me you’ve been tinkering with your Lumia 1020 smartphone and snapping some high-resolution photos over the holidays, you may be wondering whether Microsoft Dynamics NAV 2013 R2 can handle such large photo sizes on the Microsoft Dynamics NAV Web client.
Let's say you want to capture photos of your product catalogue (using the Photo action on the Item card). When uploading large files such as high-resolution photos, Microsoft Dynamics NAV will show the following error:
The file that you are trying to use is too large. Clearly. Whilst Microsoft Dynamics NAV defaults to 4MB uploads on the Web client, you will be pleased to hear it takes just a minor tweak to your IIS configuration to support larger file uploads:
The new settings should take effect immediately without the need for an IIS or site reset.
Go ahead and try to upload a large file now and BANG! the upload succeeds.
You can read more about the maxRequestLength property here:
Lukasz Zoglowek and Mike Borg Cardona
Am I missing something? In the Request Filtering field, you advise to enter 100000000 (in bytes). This is only is only .01 GB. This is a lot less than the 4 GB limit. The max limit in that field is 4294967285 bytes which is 4 GB. You can't increase it.
Thanks for sharing your observation.
You are correct in that the example only raises the limit to around 100Mb.
This value makes sense when supporting the upload of high quality photos, as in the scenario described earlier. However, you are free to stretch this limit further depending on what kind of file transactions you need to support. Keep in mind that such fields are there for a reason, as they help control resource consumption and availability of your servers.
Mike Borg Cardona
Microsoft Dynamics NAV