System. Web. Hosting. hostingenvironmentexception: failed to access IIS metabas

Source: Internet
Author: User
Tags hosting
System. Web. Hosting. hostingenvironmentexception: failed to access IIS metabas:
Today is a weekend. I like it very much because it can make me forget many things. Especially for a weekend that has been raining all day, I can forget more, especially the pig head director.

When I get up, the window is raining, and Shanghai is raining every day, but every rain is different. 'The light is clear and clear, and the mountains are blank and the rain is strange. 'This is the rain of Su Shi; 'There are plenty of rain in the Ching Ming Dynasty, and there are endless people on the road. 'This is
Du Mu's rain; 'Night sleep listen to the wind and the rain, the iema glacier dream come to ', This is the rain of land travel; 'mountain river broken wind highlights, the life of the rain and the ping', this is Wen Tianxiang. I have never known what the rain is like, but I know my
Rain is definitely not a good rain season, but it happens in spring, because I was summoned to work overtime today and work overtime on weekends, resentment ......................................

Today's problem is very simple: the new server, XP + vs2005 environment, website deployment is not accessible, internal problems are excluded, only the possibility of external environment changes.

System. Web. Hosting. hostingenvironmentexception: failed to access IIS metabas. This proves that there is a problem in the IIS direction. Ask the server deployment personnel carefully,
I found that the deployment group first installed v2005 in the new XP environment, and then the IIS components installed (shame, I always thought there was no IIS component, XP could not install vs2005, ). Then deploy the website and find the problem.

The preliminary judgment is that ASP. net2.0 is not registered. After carefully reading the KB of MS, I decided to use aspnet_regiis-ga <user_name> to add permissions. The result is invalid.

Then I decided to use aspnet_regiis-I-enable to start registration. Practice has proved that all websites can be accessed normally.

In fact, this is really a small problem caused by a small installation step, but he ruined my perfect weekend. The deployment of Asp.net 2.0 websites is a very simple problem, but it is a 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.