IIS prompts service Unavailable error resolution

Source: Internet
Author: User

Question One

. Description of the phenomenon

1 access to the site "Service unavailable" error

2 View 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.3790.3959, Stamp 45d6968e, faulting module

Kernel32.dll, version 5.2.3790.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: should

The program pool ' asp.net V2.0 ' is automatically disabled because of a series of errors in the process that provides service for this application pool

2. The solution

Network Service to the user plus access to the IIS services

Start-Control Panel-Administrative Tools-Component Services-computer-My Computer-dcom-iis ADMIN SERVICE-Properties-security-kai

Move and Activate permissions-custom-Add the account "network SERVICE" to give the account "local startup" and "Local Activation" permissions-

CMD Enter the "IISRESET" command (without quotes) to restart IIS


Question Two


If you are using the iis+php environment we encounter Service Unavailable tips can refer to the following solution

PHP configuration on the prompt on the page prompts the Service unavailable, natural, ASP also can not run normally, and later in IIS to check the configuration of PHP,

Found that the Php5isapi.dll is not properly loaded by the ISAPI filter, is a red downward arrow, and the normal situation should be the green up arrow indicating that the load

Success! Then you remove it and restart IIS, and the results page appears normal! So again check the configuration of PHP, also did not find anything unusual, and finally

Think of the possibility is a permission issue, so check the permissions of the PHP installation folder, found that there is no everyone permissions, I do not know when the Everyone permissions to

deleted, so the new to everyone with read-only permission (read-only permission is sufficient), after restarting IIS, all normal!


Question Three

1. First, open IIS Manager. Check the application pool, and sure enough, "DefaultAppPool" went wrong. And not the usual stop icon.

2. Try to focus on the "DefaultAppPool" application pool, but it didn't take long for the program pool to go wrong again.

3. It's time to view the event log. The following types of logs were found

Event Type: Warning
Event Source: W3SVC
Event Type: None
Event id:1009
Date: 2008-6-24
Event: 16:12:33
Users: N/A
Computer: MAIL
Describe:
The process providing service for application pool ' DefaultAppPool ' terminated unexpectedly. The process ID is ' 3160 '. The process exit code is ' 0xFFFFFFFF '.

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

4. Will it be the default program pool problem? So, try creating a new pool of programs. Change the default Web site's program pool to new. But the problem remains.

. A similar log appears.

Event Type: Error
Event Source: W3SVC
Event Type: None
Event id:1002
Date: 2008-6-25
Event: 14:17:04
Users: N/A
Computer: MAIL
Describe:
The application pool ' AppPool #1 ' was automatically disabled because of a series of errors in the process that serviced the application pool.

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


5. Look up the event log another log caught my attention. As follows:

Event Type: Error
Event Source: DCOM
Event Type: None
Event id:10016
Date: 2008-6-24
Event: 16:12:33
User: NT authoritynetwork SERVICE
Computer: MAIL
Describe:
Application-specific permission settings do not include COM server applications (CLSID as
{a9e69610-b80d-11d0-b9b9-00a0c922e750}
The user NT authoritynetwork SERVICE SID (s-1-5-20) is granted the local activation permission. You can use the Component Services Administration tool to modify this

Security permissions.

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

6. It's a bit of a play. See the CLSID for {a9e69610-b80d-11d0-b9b9-00a0c922e750} is what service first. Finally, look in the following registry key

to it:

The code is as follows Copy Code

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


C. and give local start and activate permissions, save exit.

To 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.