Uploading Large Files with ILINX Capture and IIS

From time to time I receive questions about large file uploads with ILINX Capture. ILINX Capture can upload files of any size. The limitation is within Internet Information Services(IIS) and or the amount of memory installed in the web server. This is not only true for ILINX Capture, but and ASP or ASP.Net application.

Depending on the architecture of the ASP or ASP.Net application files being uploaded to the web server are typically streamed into the web server’s memory during the upload process before being written to disk. Depending on the number of user concurrently uploading files and the size of the files being uploaded will determine how much physical memory should be installed in the server. By default IIS has a 200KB size limit for uploading a single file. This can be increased, but not any higher than necessary or you may risk overconsumption of the web server’s memory.

Configuring File Upload Size in IIS 6

1. Open Internet Information Services Manager by clicking the Windows Start Menu and Run. Type inetmgr and click OK.

2. Once IIS Manger opens navigate the tree and right click the server name and click properties.

3. From the server properties window check the Enable Direct Metabase Edit checkbox and click OK.

4. Browse to the C:windowssystem32inetsrv directory and edit the Metabase.xml file with a text editor such as Notepad.

5. Search for the attribute AspMaxRequestEntityAllowed and edit the value to the size in bytes that you want to allow for a maximum upload size. Save and close the Metabase.xml file.

AspMaxRequestEntityAllowed=”204800″

6. Open the Registry editor and navigate to HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSSOAP30SOAPISAP.

7. Modify the MaxPostSize key. Set the decimal value to the maximum upload size in bytes and click OK.

8. Reboot the web server to ensure the changes have taken effect.

Configuring File Upload Size in IIS 7

1. Open Internet Information Services Manager by clicking the Windows Start Menu and Run. Type inetmgr and click OK.

2. Navigate the tree to the Virtual Directory that you would like to enable large file uploads.

3. In the Features View pane double click ASP.

4. In the ASP setting pane edit the Maximum Requesting Entity and Response Buffering Limit columns. Set this to the maximum file upload size in bytes and click Apply.

 

5. Open the Windows Command Prompt and enter the following command. Change the maxAllowedContentLength to your maximum file upload size in bytes and hit enter to execute the command.

C:WindowsSystem32inetsrvappcmd set config “Default Web Site” -section:requestFiltering -requestLimits.maxAllowedContentLength:104857600

9. Open the Registry editor and navigate to HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSSOAP30SOAPISAP.

10. Modify the MaxPostSize key. Set the decimal value to the maximum upload size in bytes and click OK.

11. Reboot the web server to ensure the changes have taken effect.

Bryan Wilhelm
Senior Systems Engineer
ImageSource, Inc.

lila - March 21, 2012

Hi,
my environment : windows 2003 server R2 (5.05 version 3790)
IIS 6

I made the changes, but AspMaxRequestEntityAllowed keeps the old value.
I restarted IIS twice, I restarted the server, but the changes arestill not set.
Can you help me please?

Bryan Wilhelm - March 21, 2012

Hi Lila, does the AspMaxRequestEntityAllowed value revert in the metabase.xml? You can try and stop IIS change the value in the metabase.xml and then restart iis.

To stop iss open inetmgr, right click on the servername and click All Tasks – Restart IIS. Select Stop Internet Service on ‘ServerName’ and click ok.

Modify the Metabase.xml and save the file.

Start IIS by right clicking on the servername in inetmgr anc click All Tasks – Restart IIS. Select Restart Internet Services on ‘ServerName and click OK.

Hopefully this helps.

Thank you,

Bryan

Lila - March 22, 2012

Hi,
at first I allowed the iis upload in mmc.

Here are my tests:
1°/ first test
open metabase.xml with wordpad
change AspMaxRequestEntityAllowed in metabase.xml
close the file
reopen the file
=> AspMaxRequestEntityAllowed had the old value

2°/ second test
stop iis
open metabase.xml with wordpad
change AspMaxRequestEntityAllowed in metabase.xml
close the file
restart iis
reopen the file
=> AspMaxRequestEntityAllowed had the old value
ans iis cannot retart with 1068 error.

3°/ third test
reinstall the old metabase.xml from the history repository
restars iis
=> iis restarts

open metabase.xml with notepad++
change AspMaxRequestEntityAllowed in metabase.xml
close the file
reopen the file
=> AspMaxRequestEntityAllowed keeps the new value
the new value is used.

So the problem was an encoding problem
Now it works.

Thanks for your help.
Lila

http://tinyurl.com/sayypedro06375 - February 3, 2013

“Uploading Large Files with ILINX Capture and IIS « Technical Expertise for ECM” was indeed extremely pleasurable
and educational! Within modern society that’s tricky to deliver.
Thx, Freddie

Comments are closed