RVY200518: RayVentory Scan Engine fails to Upload Inventory Files to RayVentory Server

By default, the IIS on the RayVentory Server machine is configured to only allow files up to a size of 20 MB to be uploaded. 

In some cases, the file size of inventory files can exceed this value for certain machine inventories (for example when a file scan is enabled in RayVentory Scan Engine).

This will cause RayVentory Scan Engine to fail in the upload process (usually with the error "(500) Internal Server Error" logged in the RayVentory.ScanEngine.UI.log file).

To increase the cap of the file size (for example to 100 MB) it needs to be changed in two different places:


  1. It needs to be changed in the IIS configuration as shown in the screenshot below. For the example size, the value needs to be set to 104857600 (in bytes).


  2. It also needs to be changed in the Web.config file of the web resolver (the file is located in the [RayVentory Server Installation path]\DotNet folder). For the example size, the value needs to be set to 102400 (in kilobytes).

    For this, change the "maxRequestLength" value in the following line:
    <httpRuntime maxRequestLength="20480" executionTimeout="3600" />
    <httpRuntime maxRequestLength="102400" executionTimeout="3600" />


For the changes to take effect, the IIS needs to be restarted.


Powered by Zendesk