Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Went through the same pain points... </p> <p>With the default settings on the IIS server, you will not be able to push large repositories to the server, as IIS has a default maximum request length of only 4 MB, and a timeout for CGI scripts of 15 min, making it impossible to upload large files. To enable the uploading of large files (and this is not easy to find on the web…), do the following:<br> 1. In IIS Manager, click on the web site node, and click the Limits… link.<br> 2. Then specify a connection time-out sufficiently large (I chose 1 hour here, or 3600 seconds)<br> 3. Next, click the node containing hg (as per the installation procedure), then double-click CGI<br> 4. Specify a sufficiently-long time out for CGI scripts (e.g., 10 hours) </p> <p>Now, edit C:\inetpub\wwwroot\hg\web.config, so that it has a new <code>&lt;security&gt;</code> section under <code>&lt;system.webserver&gt;</code>, and a <code>&lt;httpRuntime&gt;</code> specification under <code>&lt;system.web&gt;</code>: </p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;configuration&gt; &lt;system.webServer&gt; […] &lt;security&gt; &lt;requestFiltering&gt; &lt;requestLimits maxAllowedContentLength ="2147482624" /&gt; &lt;/requestFiltering&gt; &lt;/security&gt; &lt;/system.webServer&gt; &lt;system.web&gt; &lt;httpRuntime executionTimeout="540000" maxRequestLength="2097151"/&gt; &lt;/system.web&gt; &lt;/configuration&gt; </code></pre> <p>This specifies an http timeout of a bit more than 6 days, and a maximum upload limit of about 2 GB.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload