The IIS Admin Service service stopped due to the following error.

  

Recently, a website on a server was found to be inaccessible, so I logged in and looked at the reason. I found that after logging in, I was prompted to see what service could not be started. Open IIS Manager. There was a crash, and finally the event was found to be IIS. I found out that there was an error event: The IIS Admin Service service stopped with the following error: The system could not find the file specified. There is such a mistake, the real egg hurts, a lot of websites above, do you want to reinstall IIS? Fortunately, after the research problem has been solved, it is easy to share.

In fact, the cause of IIS dying is that the IIS settings file has been maliciously modified or lost. The file storage path is C:\\WINDOWS\\system32\\inetsrv\\metabase.xml, but fortunately Windows Server 2003 will To automatically back up the IIS settings file, we only need to restore the metabase.xml with the backup file in the C:\\WINDOWS\\system32\\inetsrv\\history folder. The specific method is as follows:

Put C:\\WINDOWS The file like MBSchema_0000000156_0000000000.xml in system32\\inetsrv\\history is renamed to metabase.xml and then copied to the C:\\WINDOWS\\system32\\inetsrv\\ folder. If the file already exists, it will be overwritten. Finally restart the computer to solve the problem.

Copyright © Windows knowledge All Rights Reserved