Upload and Download Large Attachments

2014/07/23 18:18

In Windows 2003 operating system, you can not upload and download large attachments. This is because that Windows 2003 allows uploading and downloading 200k files at most. If you want to upload and download large files, you must modify the "AspMaxRequestEntityAllowed" parameter in "MetaBase1.xml" file.

The steps are as follows.

1) Click the "Start" button, in the "Run" edit box, enter "cmd" and then press the "Enter" key.

2) In the pop up "Command Prompt" window, type "iisreset/stop" to stop the IIS Admin Service (Figure 1-1).

Command Prompt

Figure 1-1

3) Navigate to "C:\WINDOWS\system32\inetsrv" folder, and then open the "MetaBase1.xml" file with Notepad.

4) In the opened Notepad, search "AspMaxRequestEntityAllowed" field, modify the value (the default value is "204800", which means the allowed uploading and downloading size is 200K) (Figure 1-2).

AspMaxRequestEntityAllowed

Figure 1-2

Note: In IIS 6 global configuration, the allowed maximum upload size is 4 GB.

"102400" means"100K", "1024000" means "1M". So "20M" is "1024000*20=20480000".

5) In the "Command Prompt" window, type "iisreset", and then restart the IIS service.



Related: