The specified file cannot be found in IIS (2147942402,80070002)

Source: Internet
Author: User
Tags metabase

My server has a virus. There is only one "Internet Information Service" menu in the Internet Information Service (IIS) manager, which is blank, in the event viewer, "the IIS Admin Service is stopped due to the following error: the specified file cannot be found ". Now we can write down the solution for your reference to avoid detours.
This is mostly because windowssystem32inetsrvmetabase. if the xml file is damaged and IIS cannot be started, you can use the backup file in the windowssystem32inetsrvhistory folder to restore metabase. xml (change the MetaBase_0000000134_0000000000.xml file in windows system32inetsrvhistory to metabase. copy xml to the windowssystem32inetsrv directory to overwrite the original file), and then manually start "IIS Admin Service" or restart the computer.

The windows2003 server can upload up to 204800 bytes (200 KB) of files. You can use NotePad to open C: windowssystem32inetsrvmetabase. xml, find ASPMaxRequestEntityAllowed and change it to the expected value (204800 by default, that is, 200 K), and change it to 51200000 (50 M ).
Restart the IIS Admin Service.

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.