How to Fix Large File Upload Fout 404 op IIS | Stapsgewijze gids. The following fout occurs when uploading large files to the website.
Server Fout
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.
OPMERKING: The limit is approximately 28,6 MB because the limit of maxAllowedContent Length is 30000000 bytes.
To change the maximum upload setting, named “maxAllowedContent Length”, do the following:
1. Logboek on to the server that holds the IIS website, and then click Begin, klik Programs, klik Administrative Tools, klik Internet Information Services (IIS) Manager;
2. Expand the website that you want to increase the maxAllowedContent Length;
3. Double-click the Request Filtering icon in the main window
OPMERKING: if you don’t have the Request Filtering icon, you need to install it through the Add Roles option. Get the instructions below.
4. Click the Hidden Segment Tab;
5. Right-click web.config en klik Edit Feature Setting;
6. A new window named Edit Request Filtering Settings appears;
7. Onder Request Limits heading. enter a new larger value in the Maximum allowed content length (Bytes) box;
8. Klik OK 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.
Windows-server 2012 R2
1. On the taskbar, klik Server Manager.
2. In Server Manager, click the Manage menu and then click Add Roles and Features.
3. In de Add Roles and Features wizard, klik Volgende. Select the installation type and click Volgende. Select the destination server and click Volgende.
4. On the Server Roles page, uitbreiden Web Server (IIS), uitbreiden Web Server, uitbreiden Security, and then select Request Filtering. Klik Volgende.
5. On the Select features page, klik Volgende.
6. On the Confirm installation selections page, klik Installeren.
7. On the Results page, klik Dichtbij.
How To
Note for IIS 7.0 users: 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
- Open Internet Information Services (IIS) Manager:
- If you are using Windows-server 2012 of Windows-server 2012 R2:
- On the taskbar, klik Server Manager, klik Tools, and then click Internet Information Services (IIS) Manager.
- If you are using Ramen 8 of Ramen 8.1:
- If you are using Windows-server 2008 of Windows-server 2008 R2:
- On the taskbar, klik Begin, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
- If you are using Ramen Vista or Ramen 7:
- On the taskbar, klik Begin, and then click Control Panel.
- Double-click Administrative Tools, and then double-click Internet Information Services (IIS) Manager.
- If you are using Windows-server 2012 of Windows-server 2012 R2:
- In de Connections pane, go to the connection, site, application, or directory for which you want to modify your request filtering settings.
- In de Home pane, double-click Request Filtering.
- In de Request Filtering pane, click the Hidden Segments lab, and then click Add Hidden Segment… in the Actions pane.
- In de Add Hidden Segment dialog box, enter the relative path that you want to hide, and then click OK.