Cómo corregir el error de carga de archivos grandes 404 en iis | Guía paso a paso. The following error occurs when uploading large files to the website.
Server Error
404 – File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
To enable uploading large files you have to change a setting in IIS.
NOTA: The limit is approximately 28,6 MB because the limit of maxAllowedContent Length es 30000000 bytes.
To change the maximum upload setting, named “maxAllowedContent Length", haz lo siguiente:
1. Log on to the server that holds the IIS website, y luego haga clic Comenzar, hacer clic Programas, hacer clic Herramientas administrativas, hacer clic Internet Information Services (IIS) Gerente;
2. Expand the website that you want to increase the maxAllowedContent Length;
3. Haga doble clic en el Request Filtering icon in the main window
NOTA: if you don’t have the Request Filtering icon, you need to install it through the Add Roles opción. Get the instructions below.
4. Haga clic en el Hidden Segment Tab;
5. Hacer clic con el botón derecho web.config y haga clic Edit Feature Setting;
6. A new window named Edit Request Filtering Settings appears;
7. Bajo Request Limits heading. enter a new larger value in the Maximum allowed content length (Bytes) box;
8. Hacer clic DE ACUERDO to apply the change.
Setup Request Filtering
The default installation of IIS 7 and later includes the Request Filtering role service or feature. If the Request Filtering role service or feature is uninstalled, you can reinstall it using the following steps.
Servidor Windows 2012 R2
1. On the taskbar, hacer clic Administrador del servidor.
2. En Administrador del servidor, haga clic en Administrar menu and then click Agregar roles y características.
3. En el Agregar roles y características wizard, hacer clic Próximo. Select the installation type and click Próximo. Select the destination server and click Próximo.
4. en el Server Roles página, expandir Servidor web (IIS), expandir Servidor web, expandir Seguridad, y luego seleccione Request Filtering. Hacer clic Próximo.
5. en el Select features página, hacer clic Próximo.
6. en el Confirm installation selections página, hacer clic Instalar.
7. en el Results página, hacer clic Cerca.
How To
Note for IIS 7.0 usuarios: Some of the steps in this section may require that you install the Microsoft Administration Pack for IIS 7.0, which includes a user interface for request filtering. To install the Microsoft Administration Pack for IIS 7.0, please see the following URL iis.net/expand/AdministrationPack
How to add a hidden segment
- Abierto Internet Information Services (IIS) Gerente:
- If you are using Windows Server 2012 or Windows Server 2012 R2:
- On the taskbar, hacer clic Administrador del servidor, hacer clic Herramientas, y luego haga clic Internet Information Services (IIS) Gerente.
- If you are using Windows 8 or Windows 8.1:
- Hold down the ventanas llave, press the letter incógnita, y luego haga clic Panel de control.
- Hacer clic Herramientas administrativas, and then double-click Internet Information Services (IIS) Gerente.
- If you are using Windows Server 2008 or Windows Server 2008 R2:
- On the taskbar, hacer clic Comenzar, point to Herramientas administrativas, y luego haga clic Internet Information Services (IIS) Gerente.
- If you are using Windows Vista or Windows 7:
- On the taskbar, hacer clic Comenzar, y luego haga clic Panel de control.
- Double-click Herramientas administrativas, and then double-click Internet Information Services (IIS) Gerente.
- If you are using Windows Server 2012 or Windows Server 2012 R2:
- En el Connections pane, go to the connection, site, application, or directory for which you want to modify your request filtering settings.
- En el Hogar pane, double-click Request Filtering.
- En el Request Filtering pane, haga clic en Hidden Segments pestaña, y luego haga clic Add Hidden Segment… in the Actions pane.
- En el Add Hidden Segment caja de diálogo, enter the relative path that you want to hide, y luego haga clic DE ACUERDO.