PROBLEM
When attempting to add attachments to a feature service in a web map, only files less than 100 KB can be added. Attachments above 100 KB cannot be attached without returning error messages.
The DEBUG level ArcGIS Server logs returns the error message below after attempts to add an attachment over 100 KB in the Portal for ArcGIS web map fail.
Error: Unable to process request. Error parsing multi-part request.
Following attempts to add the attachments in ArcGIS Collector, another error message is returned.
Error: Attachment failed to upload
Attempts to add the attachments to the feature service in ArcGIS Pro also fail and the error message below is returned.
Error: Edit operation failed. Internal Server error. (Status code 500).
Increase the uploadReadAheadSize property value in Internet Information Services (IIS) Manager
Increase the disk space of the ArcGIS Server site machine
The following measures can be taken to increase the disk space on the ArcGIS Server site machine:
Add attachments using the ArcGIS Server REST services
An alternative is to upload attachments using the ArcGIS Server REST services. Refer to How To: Add large attachments to a feature using the ArcGIS REST Services Directory for more instructions and information.
Get help from ArcGIS experts
Download the Esri Support App