I don't know what's going on when I reinstall the system this time. IIS was not installed successfully, and I couldn't find it in the management tool. However, the C disk still has the inetpub directory, so I just had to reinstall IIS, after installing IIS, you can find it, but it cannot parse ASP normally. net file, the title will appear in the error, So Baidu once, find the solution as follows:
(The following is transferred from http://www.cnblogs.com/wangjlh/articles/741177.aspx)
The process account used to run ASP. NET must have read access to the IIS metabase (for example, IIS: // servername/W3SVC.
This problem occurs mostly because. NET Framework is installed first and IIS is installed later.
Solution:
Start->Program-> Microsoft. NET Framework SDK V2.0-> SDK Command Prompt
Input
Aspnet_regiis-I press ENTER
Solve the problem!