How to Fix Large File Upload Error 404 on IIS | चरण-दर-चरण मार्गदर्शिका. 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.
टिप्पणी: 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शुरू, क्लिकPrograms, क्लिकAdministrative Tools, क्लिकInternet Information Services (IIS) Manager;
2. Expand the website that you want to increase the maxAllowedContent Length;
3. Double-click theRequest Filtering icon in the main window
टिप्पणी: if you don’t have the Request Filtering icon, you need to install it through theAdd Roles विकल्प. Get the instructions below.
4. क्लिक करेंHidden SegmentTab;
5. Right-click web.config और क्लिक करेंEdit Feature Setting;
6. A new window namedEdit Request Filtering Settings appears;
7. UnderRequest Limitsheading. enter a new larger value in theMaximum allowed content length (Bytes) box;
8. क्लिकठीक है 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.
विंडोज़ सर्वर 2012 आर2
1. On the taskbar, क्लिक सर्वर प्रबंधक.
2. में सर्वर प्रबंधक, क्लिक करें Manage menu and then click Add Roles and Features.
3. In the Add Roles and Features wizard, क्लिक अगला. Select the installation type and click अगला. Select the destination server and click अगला.
4. On the Server Roles page, expand Web Server (IIS), expand Web Server, expand Security, and then select Request Filtering. क्लिक अगला.
5. On the Select features page, क्लिक अगला.
6. On the Confirm installation selections page, क्लिक स्थापित करना.
7. On the Results page, क्लिक बंद करना.
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
- खुला Internet Information Services (IIS) Manager:
- If you are using Windows Server 2012 or Windows Server 2012 आर2:
- On the taskbar, क्लिक सर्वर प्रबंधक, क्लिक Tools, and then click Internet Information Services (IIS) Manager.
- If you are using Windows 8 or Windows 8.1:
- Hold down the खिड़कियाँ key, press the letter एक्स, and then click Control Panel.
- क्लिक Administrative Tools, and then double-click Internet Information Services (IIS) Manager.
- If you are using Windows Server 2008 or Windows Server 2008 आर2:
- On the taskbar, क्लिक शुरू, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
- If you are using Windows Vista or Windows 7:
- On the taskbar, क्लिक शुरू, 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 or Windows Server 2012 आर2:
- In the Connections pane, go to the connection, site, application, or directory for which you want to modify your request filtering settings.
- In the घर pane, double-click Request Filtering.
- In the Request Filtering pane, क्लिक करें Hidden Segments टैब, and then click Add Hidden Segment… in the Actions pane.
- In the Add Hidden Segment dialog box, enter the relative path that you want to hide, and then click ठीक है.