Limite subida de archivos en IIS - File Upload limit
When trying to upload files over 200KB on IIS 6 the file may never upload and you either get an error or are sent to a blank screen. By default Windows 2003 server limits file uploads to about 200KB in size. To overcome this limit you must edit the IIS metabase.xml file.
- Before you can edit the metabase.xml file you must tell IIS to allow you to edit the file. In IIS, right click the name of the server and select properties. Check "Enable Direct Metabase Edit".
- Find the metabase.xml file located in C:\windows\sytem32\inetserv and open the file in Notepad.
- Search for AspMaxRequestEntityAllowed and increase the value. The default value is 204800 (200K). Setting the value to 1000000 will allow 1 MB file uploads.
- You may now wish to uncheck the IIS property called "Enable Direct Metabase Edit".
To increase the file download size limit, repeat all steps above but in Step 3 find the parameter called AspBufferingLimit. The default download limit is 4MB.
Comentarios