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.