Failed to execute request because the App-Domain cocould not be created. Error: 0 × 80131902

Source: Internet
Author: User

Install IIS and. after the net2.0 framework, open ASP. the Server Application Error occurs on the. NET Website. Generally, first check the system's "event manager". Then, view the "Application" log in the "event manager" of the Server, the error message is:

Failed to execute request because the App-Domain cocould not be created. Error: 0x80131902

Basically, this condition most likely occurs when. Net work 2.0 is executed for the first time. There are two possible causes:

1. The net2.0 component is not correctly registered with IIS.
2..net website program directory permissions are not set.

Solution:

We should start from the first case:
1. First, go to cmd and switch the directory to % SystemRoot % \ Microsoft. Net \ work \ (% SystemRoot % is your Windows installation directory, which is generally C: \ Windows)
2. Enter the command "net stop w3svc" to stop the w3svc service first;
3. Run the following command to switch to the lower-level Directory: cd v2.0.5 *;
4. Run “aspnet_regiis.exe-ua to uninstall. Net;
5. reinstall. Net to IIS and restart aspnet_regiis.exe-I"
6. Restart w3svc and enter: net start w3svc.

If the problem cannot be solved according to the above method, please find your. net website directory, run. net program users (usually Network Service) to add the "full control" permission, it should be OK.

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.