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.