Symptoms

When you are uploading data manually to XIA Configuration Server using the upload page, you may receive one of the following errors depending on the browser in use:


  • The connection to the server was reset while the page was loading.

  • Internet Explorer cannot display the webpage.




When uploading using the XIA Configuration Client, the following error may be shown in the results file:

The request failed with HTTP status 404: Not Found.



Cause

This error can be seen when the data file being uploaded exceeds the maximum request length configured by ASP.NET. 



Resolution

The maximum size can be modified by opening the web.config file found in the XIA Configuration Server installation directory and modifying the maxRequestLength property of the httpRuntime section to be the same or greater than the size of the data file being uploaded.


    <!-- 

        The maxRequestLength in kilobytes determines the maximum file size that can be sent to XIA Configuration

        This can be extended to a higher amount if the Output from the XIA Configuration Client exceeds this amount.

    --> 

    <httpRuntime maxRequestLength ="30000" />



For IIS7 and above, the following must also be modified in the system.webServer configuration section which controls the request filtering settings for this platform:


    <security>

      <requestFiltering>

        <requestLimits maxAllowedContentLength="35000000"/>

      </requestFiltering>

    </security>