Error In Upload Large File RRS feed

  • Question

  • User338455301 posted

    i upload a file (200 mb) but during upload show this message in chrome console and upload stop it,
    Failed to load resource: net::ERR_CONNECTION_RESET

    and set session for 1 day 

        options.IdleTimeout = TimeSpan.FromDays(1);

    whats a problem ? how to prevent from this error ? 

    Sunday, June 28, 2020 8:13 AM

All replies

  • User-474980206 posted

    you need to increase the max request size:


    Sunday, June 28, 2020 11:10 PM
  • User338455301 posted

    but when i use this code in web.config in host i  have error 500 , why ?

    <?xml version="1.0" encoding="utf-8"?>
      <location path="." inheritInChildApplications="false">
            <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
          <aspNetCore processPath=".\itsaco_RefrencenetCoreCMS.exe" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="OutOfProcess" />
              <!-- This will handle requests up to 50MB -->
              <requestLimits maxAllowedContentLength="5242880000" />
    <!--ProjectGuid: 637b3f43-694c-41d5-b77b-158dff42ad09-->

    Monday, June 29, 2020 5:20 AM
  • User-17257777 posted

    Hi elahi1mahdi,

    Seems 5242880000 is larger than the maximum value.

    See the below link:


    Best Regards,

    Jiadong Meng

    Monday, June 29, 2020 9:28 AM