How to Fix Large File Upload Error 404 on IIS | Útmutató lépésről lépésre. 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.
JEGYZET: The limit is approximately 28,6 MB because the limit of maxAllowedContent Length van 30000000 bytes.
To change the maximum upload setting, named “maxAllowedContent Length”, csináld a következőt:
1. Log on to the server that holds the IIS website, majd kattintsonRajt, kattintsonPrograms, kattintsonAdministrative Tools, kattintsonInternet Information Services (IIS) Manager;
2. Expand the website that you want to increase the maxAllowedContent Length;
3. Kattintson duplán aRequest Filtering icon in the main window
JEGYZET: if you don’t have the Request Filtering icon, you need to install it through theAdd Roles választási lehetőség. Get the instructions below.
4. Kattints aHidden SegmentTab;
5. Right-click web.config és kattintsonEdit Feature Setting;
6. A new window namedEdit Request Filtering Settings Megjelenik;
7. AlattRequest Limitsheading. enter a new larger value in theMaximum allowed content length (Bytes) box;
8. Kattintsonrendben 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, kattintson Szerverkezelő.
2. Ban ben Szerverkezelő, kattints a Manage menu and then click Add Roles and Features.
3. Ban,-ben Add Roles and Features wizard, kattintson Következő. Select the installation type and click Következő. Select the destination server and click Következő.
4. A Szerver szerepkörök oldalon, expand Web szerver (IIS), expand Web szerver, expand Biztonság, majd válassza ki Request Filtering. Kattintson Következő.
5. A Select features oldalon, kattintson Következő.
6. A Confirm installation selections oldalon, kattintson Telepítés.
7. A Results oldalon, kattintson Bezárás.
How To
Note for IIS 7.0 felhasználókat: 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
- Nyisd ki Internet Information Services (IIS) Manager:
- If you are using Windows Server 2012 or Windows Server 2012 R2:
- On the taskbar, kattintson Szerverkezelő, kattintson Tools, majd kattintson Internet Information Services (IIS) Manager.
- If you are using Windows 8 or Windows 8.1:
- Hold down the ablakok key, press the letter x, majd kattintson Kezelőpanel.
- Kattintson Administrative Tools, and then double-click Internet Information Services (IIS) Manager.
- If you are using Windows Server 2008 or Windows Server 2008 R2:
- On the taskbar, kattintson Rajt, point to Administrative Tools, majd kattintson Internet Information Services (IIS) Manager.
- If you are using Windows Vista or Windows 7:
- On the taskbar, kattintson Rajt, majd kattintson Kezelőpanel.
- Double-click Administrative Tools, and then double-click Internet Information Services (IIS) Manager.
- If you are using Windows Server 2012 or Windows Server 2012 R2:
- Ban,-ben Connections pane, go to the connection, site, application, or directory for which you want to modify your request filtering settings.
- Ban,-ben Home pane, double-click Request Filtering.
- Ban,-ben Request Filtering pane, kattints a Hidden Segments lapon, majd kattintson Add Hidden Segment… ban,-ben Actions pane.
- Ban,-ben Add Hidden Segment dialog box, enter the relative path that you want to hide, majd kattintson rendben.