Asp.net 2 fails to execute the request because the application domain cannot be created. Error: 0 × 80070005 access denied)

Source: Internet
Author: User

 1:
After IIS 2.0 is installed, an ASP. NET label is added to the attribute settings of the virtual directory of IIS, where the runtime is adjusted to 2.0. The default Runtime is 1.1.

2:
This is a permission issue,
First check the applicationProgramThe properties of the pool to see which user It is running. Generally, it is the network service and ensures that this user has access permission to the. NET Framework 2.0 directory. In fact, it should be there. The directory is systemroot: \ windows \ Microsoft. NET \ frameworks \ 2.0.xxxx

If both of the above are correct, unfortunately, you have encountered a very strange problem. The last time I changed the user identity of the application pool to a local system for running.

Configure according to solution 2: Set the access user of the running pool"Local System", And then run the program. The error is not displayed and solved successfully. However, when I select" Local System ", IIS prompts that there will be a security problem. I was worried about it, however, I was not so worried after reading the following replies:
You don't have to worry about permissions. for a large number of systems, you need to set a local system,
The simplest example is to set a network hard disk to a local system, let alone anything else.
No headache. Have you ever heard of hacker intrusion caused by setting it as a local system?
Not many people in China have this capability. If you encounter a real hacker, it's not safe to do anything about it.

Related Article

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.