HTTP 500-Internal Server Error Solution

Source: Internet
Author: User

 

Method 1

 

After IIS installation is complete, "HTTP 500-internal server error" is displayed on the line of operation. After a circle is found on the Internet, the processing method is complicated. After studying the complex method, the problem can be solved in three steps.
1. Run: regsvr32 % WINDIR %/system32/VBScript. dll (in fact, this step can also be saved. Make sure to execute it if necessary)
2. Run: MSDTC-resetlog
3. reinstall IIS

Note:
1. Microsoft only provides a management script adsutil. vbs with iis5. this script is located in the C:/inetpub/adminscripts subdirectory. First register VBScript. dll.
2. msdtc.exe is a distributed transmission Coordination Program of Microsoft. This process calls Microsoft Personal Web server and Microsoft SQL Server. This service is used to manage multiple servers and must be enabled properly.
(1) control panel> Management Tools> component services
(2) choose "component service"> "computer"> "my computer"> "COM + application"> "IIS Out-of-process pooled Applications"

 

3. if "IIS Out-of-process pooled Applications" is not found, or you cannot open "COM + application" after clicking "MSDTC-resetlog", reinstall IIS.

 

From http://www.cnblogs.com/wf225/archive/2008/08/03/1178058.html

 

 

Method 2

 

Step 1: "Start"-> "Settings"-> "Control Panel"-> "Administrative Tools"-> "component service, "console root directory"-> "component service"-> "computer"-> "my computer"-> "COM + application, there is an "IIS Out-of-process pooled" right-click "attribute" -- "ID" -- Adjust "this user" to "Interactive User -- currently logged-on user ". Then click "OK" and Right-click "properties"> "start ".

Step 2: "Start"-> "Administrative Tools"-> "Internet Information Service"-> expand local computer on the left-> right-click "website" properties-> select "Directory Security"-> click "edit". In the displayed dialog box, make sure that only "Anonymous Access" and "Integrated windows Verification" are selected, click Edit in Anonymous Access, remove "allow IIS to control the password", and then save the settings.

Step 3: Right-click "Default web site", go to the "Directory Security" tab, and click "edit" in "Anonymous Access and verification control, in the dialog box that appears, click the "edit" button in "anonymous access" to remove the "allow IIS to control the password", and then return the result. Now all the steps for installing iis5.1 in XP simplified version are completed.

 

Method 3

 

 

Server application error ultimate solution (HTTP 500 error, IIS cannot parse ASP)

The specific error is as follows:

Server application error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for maintenance.

First, do you store ASP code in NTFS or FAT32?
If NTFS is used, right-click the folder where ASP code is stored, open the security tag, and set the permission to allow access and change by everyone.

Conventions:(Only the XP system is described. For other operating systems, please query the information on your own)

  • Enter the DOS environment: click "start"> "All Programs"> "attachment"> "C:/command prompt" (or enterCMDPress ENTER ).
  • Go to Registry Editor: EnterRegeditPress enter.
  • View COM + applications: Go to Control Panel> Management Tools> component services ", "view component services"-> "computer"-> "my computer"-> "COM + application"
  • View User Accounts: click "start"> "Settings"> "Control Panel"> "Management Tools"> "Computer Management ", "System Tools"-> "local users and groups"-> "users"
  •  

    Suggestions: After I run the second sentence of 2.2.6 on the local machine, the message "dllregisterserver in asptxn. dll failed. The Returned Code is 0x8004d01c. After clicking OK, I found that no out-of-process pooled applications were found in my COM + application. However, at this time, my IIS can work normally!
    Therefore, we recommend that you refresh your http: // localhost/to check whether IIS is working at any time in the following steps.

    1. Change the password of the iwam_computername account.

    1. View the user account.
    2. Select IWAM _Computername(ComputernameFor the local computer name), right-click and select Change Password, as shown in"Uonun";

     

    2. Modify iis iwam _ComputernameAccount password.

    1. Enter the DOS environment.
    2. In the C:/inetpub/adminscripts/directory (the default directory for IIS installation), enter adsutil set w3svc/wamuserpass"Uonun".
    3. After the modification is successful, the message "wamuserpassstring)" ******* "" is displayed )"******""

     

    3. Confirm the account role.

    1. In "start"> "Settings"> "Control Panel"> "Management Tools"> "Computer Management, "System Tools"-> "local users and groups"-> "users", confirm IWAM _(Computername) The user is only in the guest group.
    2. In "local user and group"-> "group", right-click the Users Group attribute and add it to the nt authority/Authenticated Users and nt authority/Interactive User Members. OK.

     

    4. Set the user of the COM + program

    1. Enter the DOS environment.
    2. Run the following command to enter the C:/inetpub/adminscripts/directory (the default directory for IIS installation): EnterSynciwam. vbs-VPress enter. (Change the user of the COM + program back to the IWAM user .)

     

    5. If the error "error: 8004e00f:" is displayed in the previous step.(The following is only a reference)

    1. First, choose Control Panel> Administrative Tools> component services, view component services> computers> my computers> COM + applications, the error "COM + cannot talk to Microsoft Distributed Transaction Coordinator" and cannot view the objects in it.
    2. Go to the Event Viewer and find that the MSDTC Service is not started properly.
    3. Go to the Registry Editor and delete the keys in the registry:
      HKEY_LOCAL_MACHINE/system/CurrentControlSet/services/MSDTC
      HKEY_LOCAL_MACHINE/software/Microsoft/MSDTC
      Hkey_classes_root/CID
    4. Go to the DOS environment and reinstall the MSDTC Service.
      InputNet stop MSDTCPress enter.
      InputMSDTC-uninstallPress enter.
      InputMSDTC-installPress enter.

     

    6. Check the COM + application. If no out-of-process pooled is found, perform the following operations:

    1. Enter the DOS environment.
    2. Switch directory:
      InputCd % WINDIR %/system32/inetsrvPress enter.
    3. Register dll:
      InputRundll32 wamreg. dll, createiispackagePress enter.
      InputRegsvr32 asptxn. dllPress enter.
    4. View the COM + application again
      Right-click the newly added "IIS Out-of-process pooled" and choose "properties"> "ID"> "this user" to "Interactive User-currently logged on "user ". Then, click "OK" and Right-click "properties"> "start ". From http://www.ourome.com/lab/ServerApplicationError/

     

     

     

     

    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.