OS: Windows 7 Enterprise (English)
IIS Version: 7.5
Operation Steps:
1. Install VS2008 + SP1 + ASP.NET MVC2
2. Install VS2012 (because another project uses VS2012)
3. Install IIS 7.5 (by add windows feature in control panel)
4. Add website in IIS (project uses MVC2)
5. Launch the home page and an error occurred, error no. 0x80070021
after GooBai(google and baidu) it and I guess that's because I installed IIS after VS(ASP.NET) so the ASP.NET didn't regist IIS. We need to regist IIS by invoke the following commands as Administrator:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis -i
C:\Windows\Microsoft.NET\Framework64\v2.0.50727>aspnet_regiis -i
then the website worked. Thank God and GooBai!
本文介绍了一种解决在Windows 7 Enterprise环境下使用IIS 7.5部署ASP.NET MVC2应用程序时遇到的0x80070021错误的方法。通过重新注册ASP.NET到IIS,最终成功部署并运行了网站。

被折叠的 条评论
为什么被折叠?



