Master some tips for optimizing and tuning the IIS Console

Source: Internet
Author: User

A website has become a fashion stage for self-demonstration and self-promotion. If you have already joined a fashion group, you will certainly want to build a website that can show your personal style. It is not difficult to create a website in reality, as long as we have installed server systems such as Windows 2000 and 2003 on our own computers, and then use the IIS console programs that come with these server systems, you can quickly set up a website of your own!

After having a site, how can we make our site efficiently provide external services? In fact, to achieve this, you must master some tips for optimizing and tuning the IIS console. After all, by default, the IIS console imposes many restrictions on the efficient operation of websites! This is not the case. This article will start with breaking through the default restrictions of IIS to provide you with several management skills that can make your website run efficiently!

1. Break through the Capacity Limit to upload large files

By default, the IIS console on Windows 2003 Server only allows users to upload files with a maximum size of KB through webpages. If the size of uploaded files exceeds this limit, the webpage will automatically display a message similar to "Request object error.

Is there any way to break through the IIS server's file capacity limit to upload larger files to the website? In fact, through the following operation steps, we can customize the capacity standards of the files uploaded to the website as needed, so that large files can be uploaded easily:

When using the IIS console, first click "start"/"run" command, and then enter the string command "Services. msc, click OK to go to the System Service list page.

Find the "World Wide Web Hing Service" Service option on the page, and double-click it with the left mouse to open the attribute settings window for the Service, and then click "stop" in the window, temporarily stop the System Service "World Wide Web Publishing Service.

Next, open the system resource manager window, go to the "system32" and "inesrv" subfolders, and find "metabase. xml file, right-click the file, and execute the "edit" command from the pop-up context menu. The system will automatically call the file editing tool such as NotePad to open the file.

Next, we will find the "AspMaxRequestEntityAllowed" string (1) on the open text editing interface. We find that the default value of this string is "204800 ", this value is used by the ASP Website to customize the maximum size of files allowed to be uploaded, the default value "204800" indicates that, by default, the maximum file upload standard for a website is "kb ".

Now we can modify the value here as needed to meet our own file upload requirements.

For example, if you want to upload a 10 M file, you only need to change "204800" to "10485760", and then save the file again.

To make the above settings take effect, we also need to enter the system Service list window, restart the "World Wide Web Publishing Service" Service, and then enter the system's IIS Console window, restart the ASP website so that the target website can officially upload large files.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.