An error occurred while accessing the IIS metadatabase and the server application was unavailable.

Source: Internet
Author: User
Tags metabase

Solution to IIS metabase access failure

Recently, I debugged the Asp.net program and encountered an error message "failed to access the IIS metabase". Finally, I found a solution to the problem after searching. The solution is as follows:

1. Click Start> Run ".

2. In the "run" column, enter

"C: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_regiis.exe-I"(Without quotation marks), and then click" OK.

3. The displayed cmd window displays "start to install ASP. net xxx" and other content. Wait until the window is closed automatically.

Now, the problem is solved. If the problem persists, refer to the following article. Source: Internet.

------------------------------------

After installing vs2005 and then IIS, some minor problems have occurred.

An error occurred while accessing the IIS metadatabase.

Thinking may be due to a problem in order to solve the problem.

1. Open CMD and go to C: \ WINDOWS \ Microsoft. NET \ framework \ v2.0.50727.

2. Enter aspnet_regiis.exe-I

Wait a moment and the registration will solve the problem.

The "failed to create mutex" problem also occurs.

Solution:

1. Disable vs2005 first.

2. Open c: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ temporary

ASP. NET files find the directory of the program you just debugged and delete it.

3. Disable the IIS server and restart it once.

4. Use IE to browse your program and solve the problem

 

 

Server application unavailable Solution

Error: the server application is unavailable. The web application you attempt to access on this web server is currently unavailable. Please click "refresh" in the web browser to try your request again. Administrator Note: you can find the error details for the specific request failure cause in the system event log of the Web server. Check this log item to find out the cause of this error.

 

Solution:

The following methods are different. You can select different solutions based on your actual situation. However, if you try the following methods one by one, you can definitely solve the problem.

 

1)     First, make sure that your IIS is on. The easiest way is to restart your IIS server.

 

2)     Re-register. NET 2.0. If you first install. NET and then install IIS, we recommend that you try this method.

C: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ as.net_regiis.exe-I

Aspnet_regiis.exe in c: \ winnt \ Microsoft. NET \ framework \ v1.1.4322

Run it and register. Net again.

Aspnet_regiis.exe -U Uninstall first

Aspnet_regiis.exe -I Reinstall

Restart the server.

 

3) Add users

If the following information is found in the System Event Log:

Event Type: Error

Event Source: ASP. NET 2.0.50727.0

Event Type: None

Event ID: 1088

Date: 2006-11-7

Event: 11:13:11

User: N/

COMPUTER: Web-first

Description: failed to execute the request because the application domain cannot be created. Error: 0x80070005 Access denied.

Method: Choose "current website directory"> "right-click"> "properties"> "security"> "add"> "advanced"> "Search now"> select "users user"> "OK"> "OK ".

 

4) right-click a site and choose "add"> "advanced"> "Search now". Select "users" and set the permission to 'all permissions except 'full control'. Finally, check your permission settings. Otherwise, follow the steps above to grant the three accounts ASPnet, network service, and Internet Guest account the corresponding permissions. If it still cannot be solved, we can hold up the computer, raise it up, and do the free fall!

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.