000017678 - In RSA Archer 5.x, Attachment cannot be uploaded using REST API when the file size is more than 2.99 MB: Internal Server error 500

Document created by RSA Customer Support Employee on Aug 4, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000017678
Applies ToRSA Product Set: Archer
RSA Version/Condition: 5.x
IssueAttachment cannot be uploaded when the file size is more than 2.99MB by using RESTFUL API.  Internal Server error 500 occurs.
The same attachment can be uploaded via web GUI.
 
CauseThe web.config file in the API sub folder (Archer web site's virtual directory \Archer\api) has the default value in maxRequestLength and maxAllowedContentLength.
ResolutionAdd or modify the maxRequestLength and maxAllowedContentLength values in the web.config located in Archer web site's virtual directory (\Archer\api).
<httpruntime maxRequestLength="400000" executionTimeout="3600"/>
<security>
  <requestFiltering>
    <requestLimits maxAllowedContentLength="419430400" />
  </requestFiltering>
</security>

 
Legacy Article IDa65124

Attachments

    Outcomes