Cómo solucionar el error de carga de archivos grandes 404 en IIS | Guía paso por 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 clicComenzar, hacer clicProgramas, hacer clicHerramientas administrativas, hacer clicInternet Information Services (IIS) Gerente;
2. Expand the website that you want to increase the maxAllowedContent Length;
3. Double-click theRequest Filtering icon in the main window
NOTA: if you don’t have the Request Filtering icon, you need to install it through theAdd Roles opción. Get the instructions below.
4. Haga clic en elHidden SegmentTab;
5. Botón derecho del ratón web.config y haga clicEdit Feature Setting;
6. A new window namedEdit Request Filtering Settings aparece;
7. BajoRequest Limitstítulo. enter a new larger value in theMaximum allowed content length (Bytes) box;
8. Hacer clicDE 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 de windows 2012 R2
1. On the taskbar, hacer clic Administrador del servidor.
2. En Administrador del servidor, haga clic en el Administrar menu and then click Agregar funciones y funciones.
3. En el Agregar funciones y funciones wizard, hacer clic Próximo. Select the installation type and click Próximo. Select the destination server and click Próximo.
4. Sobre el Funciones del servidor página, expandir Servidor web (IIS), expandir Servidor web, expandir Seguridad, y luego seleccione Request Filtering. Hacer clic Próximo.
5. Sobre el Select features página, hacer clic Próximo.
6. Sobre el Confirm installation selections página, hacer clic Instalar.
7. Sobre el Resultados 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 o ventanas 8.1:
- Hold down the ventanas llave, press the letter X, 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 el Hidden Segments pestaña, y luego haga clic Add Hidden Segment… en el 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.