By using this site, you agree to the Privacy Policy.
Accept
EnterinITEnterinITEnterinIT
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Reading: How to Fix Large File Upload Error 404 on IIS | Step-by-Step Guide
Font ResizerAa
EnterinITEnterinIT
Font ResizerAa
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
  • WINDOWS
  • SCCM Query Collection List
Search
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
IT Pro

How to Fix Large File Upload Error 404 on IIS | Step-by-Step Guide

Published: February 18, 2024
4 Min Read
SHARE

How to Fix Large File Upload Error 404 on IIS | Step-by-Step Guide. The following error occurs when uploading large files to the website.

Contents
Setup Request FilteringWindows Server 2012 R2How ToHow to add a hidden segment

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.

NOTE: 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. Log on to the server that holds the IIS website, and then click Start, click Programs, click Administrative Tools, click 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

NOTE: 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 and click Edit Feature Setting;

6. A new window named Edit Request Filtering Settings appears;

7. Under Request Limits heading. enter a new larger value in the Maximum allowed content length (Bytes) box;

8. Click 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, click Server Manager.

2. In Server Manager, click the Manage menu and then click Add Roles and Features.

3. In the Add Roles and Features wizard, click Next. Select the installation type and click Next. Select the destination server and click Next.

4. On the Server Roles page, expand Web Server (IIS), expand Web Server, expand Security, and then select Request Filtering. Click Next.

5. On the Select features page, click Next.

6. On the Confirm installation selections page, click Install.

7. On the Results page, click Close.

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

  1. Open Internet Information Services (IIS) Manager:
    • If you are using Windows Server 2012 or Windows Server 2012 R2:
      • On the taskbar, click Server Manager, click Tools, and then click Internet Information Services (IIS) Manager.
    • If you are using Windows 8 or Windows 8.1:
      • Hold down the Windows key, press the letter X, and then click Control Panel.
      • Click 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, click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
    • If you are using Windows Vista or Windows 7:
      • On the taskbar, click Start, and then click Control Panel.
      • Double-click Administrative Tools, and then double-click Internet Information Services (IIS) Manager.
  2. In the Connections pane, go to the connection, site, application, or directory for which you want to modify your request filtering settings.
  3. In the Home pane, double-click Request Filtering.
  4. In the Request Filtering pane, click the Hidden Segments tab, and then click Add Hidden Segment… in the Actions pane.
  5. In the Add Hidden Segment dialog box, enter the relative path that you want to hide, and then click OK.
TAGGED:IISMicrosoft Windows ServerWEBWindows Server 2012R2Windows Server 2016Windows Server 2019
Previous Article Skype 8.55 release notes
Next Article What are the minimum requirements for a domain controller server?
Leave a Comment Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translation

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
by Transposh - translation plugin for wordpress

Popular Posts

System Requirements for Windows Server 2016
Windows Server
Configuration Manager Query Collection List
Configuration Manager Query Collection List
ConfigMgr
Structured/Managed Navigation enabled on Modern Pages in Classic Team Sites
Tech
SCCM Failed to get DP locations as the expected version from MP
ConfigMgr

Recent Posts

Installing and Configuring Fail2ban for SSH Protection on Ubuntu 24.04
Linux
Enabling and Configuring FirewallD on AlmaLinux
Linux
User Creation and SSH Key Setup in AlmaLinux
Linux
How to reset password on AlmaLinux
Linux

© 2023 EnterinIT

Go to mobile version
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?