IIS 500 error or cannot display this web page workaround

Source: Internet
Author: User

Do not know is not XP version of the original reason, found that more and more XP system installed IIS after the default Web site is not open, (other systems do not notice) there are several characters, IIS 500 error. I believe that people who encounter this problem have a deep understanding, It's really annoying. Unloading IIS reload is also not possible. Accessing any page is an IIS 500 error. Search on the Internet, the solution is not written very clear, this point, yesterday a friend again encountered this problem, so I intend to write down today. The following processes have been thoroughly tested, not reversed in order, 500 errors are completely taken care of.

It is recommended that you uninstall IIS, restart your computer, and then install IIS before you perform the following actions.

  1. "Start" → "Run" → input "cmd" → "OK", start the MSDTC service first, enter the net start MSDTC return
  2. If the results show "distributed Transaction Coordinator service cannot Start", Workaround: Rename the C:\WINDOWS\system32\dtclog directory (if there is one, omit this step directly), and then re-establish the directory.
  3. Under the command line: Msdtc-resetlog Enter
  4. Then net start MSDTC, the display service started successfully, the CMD window does not have to be closed, also useful.
  5. Then right-click "My Computer"--"manage"-"Local Users and Groups", give "IUSR_ machine name" and "IWAM_ machine name" Two user password: 111 (I have set the 111, I like to set anything, but two password to the same)
  6. Next, execute the following command in the cmd window: %systemdrive% Enter
  7. CD%systemdrive%\inetpub\adminscripts Enter
  8. cscript.exe adsutil.vbs set W3svc/wamuserpass 111 back to the car (and the same password that I set in the local user group, here I am 111)
  9. cscript.exe adsutil.vbs set W3svc/anonymoususerpass 111 back to the car (and the same password that I set in the local user group, here I am 111)
  10. open IE, enter http://localhost/ Check to see if it can be opened, if not, then execute the following command: Cscript.exe synciwam.vbs-v enter
  11. IISReset enter, to this step or not, and finally execute the following command: CD%SystemRoot%\System32\Inetsrv Enter
  12. rundll32 Wamreg.dll, CreateIISPackage return
  13. regsvr32 Asptxn.dll Enter, close all IE windows and reopen http://localhost/ .

IIS 500 error or cannot display this web page workaround

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.