IIS prompts Service Unavailable error Solution

Source: Internet
Author: User

When using the iis server environment, you can often find that the Service Unavailable prompt appears on your website. There are many reasons for the prompt "Service Unavailable". Below I will summarize the common solutions to this problem.

Question 1

. Symptom description

1) The "Service Unavailable" error occurs during Website access.

2) check that the application pool in IIS is automatically disabled

3) Computer Management-System Tools-Event Viewer-Application: Error (Source:. NET Runtime 2.0, type: error, event ID

: 1000, Description: Faulting application w3wp.exe, version 6.0.20.0.3959, stamp 45d6968e, faulting module

Kernel32.dll, version 5.2.20.0.4480, stamp 49c51ee2, debug? 0, fault address 0x0000bef7 .)

4) Computer Management-System Tools-Event Viewer-system: Error (Source: W3SVC, type: error, event ID: 1002, Description: Yes

The application pool 'asp. NET V2.0 'is automatically disabled because a series of errors occur in the process that provides services for the application pool)

2. Solution

Add the iis service access permission to the user's network service.

Start-control panel-Administrative Tools-component services-computer-my computer-DCOM-iis admin service-properties-security-start

Activate and activate permissions-Customize-Add the Account "network service" and grant the account the "local start" and "Local activation" permissions-in

Run the "IISRESET" command under cmd (without quotation marks) to restart IIS.


Question 2


If you are using the iis + php environment, refer to the following solution for the prompt "Service Unavailable ".

In PHP configuration, the prompt "Service Unavailable" is displayed on the page. Naturally, ASP cannot run normally. Later, check the PHP configuration in IIS,

It is found that php5isapi. dll is not properly loaded by the ISAPI filter, and is a red downward arrow. Normally, it should be a green upward arrow, indicating Loading

Successful! So after deleting it, restart IIS. The result page is displayed normally! So I re-checked the PHP configuration and did not find any exceptions. Finally

I thought it might be a permission issue, so I checked the permissions of the PHP installation folder and found that I didn't have the EVERYONE permission. I don't know when to grant the EVERYONE permission

Deleted, so the read-only permission (read-only permission is enough) is added to EVERYONE. After IIS is restarted, everything is normal!


Question 3

1. First, open the IIS manager. Check the application pool. "DefaultAppPool" has an error and is not a stop icon.

2. Try to restart the "DefaultAppPool" application pool, but it didn't take long before the pool went wrong again.

3. It is time to view the event log. The following types of logs are found:

Event Type: Warning
Event Source: W3SVC
Event Type: None
Event ID: 1009
Date:
Event: 16:12:33
User: N/
COMPUTER: MAIL
Description:
The process that provides services for the application pool 'defaultapppool 'is unexpectedly terminated. The process ID is '20140901 '. The process exit code is '0xffffffff '.

For more information, see Help and Support Center in http://go.microsoft.com/fwlink/events.asp.

4. Will it be a problem with the default program pool? So, try to create a new program pool. Change the default website program pool to a new one. But the problem persists.

. Similar logs appear.

Event Type: Error
Event Source: W3SVC
Event Type: None
Event ID: 1002
Date:
Event: 14:17:04
User: N/
COMPUTER: MAIL
Description:
The application pool 'apppool # 1' is automatically disabled because a series of errors occur in the process that provides services for the application pool.

For more information, see Help and Support Center in http://go.microsoft.com/fwlink/events.asp.


5. Another log in the event log caught my attention as follows:

Event Type: Error
Event Source: DCOM
Event Type: None
Event ID: 10016
Date:
Event: 16:12:33
User: NT AUTHORITYNETWORK SERVICE
COMPUTER: MAIL
Description:
Application-the COM server application (CLSID is
{A9E69610-B80D-11D0-B9B9-00A0C922E750}
) To grant the user nt authoritynetwork service sid (S-1-5-20 ). You can use the component service management tool to modify this

Security permissions.

For more information, see Help and Support Center in http://go.microsoft.com/fwlink/events.asp.

6. A little bit. Look at what service CLSID is for {A9E69610-B80D-11D0-B9B9-00A0C922E750} First. Finally find in the registry entry below

To it:

The Code is as follows: Copy code

HKEY_CLASSES_ROOTAppID {A9E69610-B80D-11D0-B9B9-00A0C922E750}


C. Grant local startup and activation permissions to save and exit.

Solve this problem.

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.