安装AspNetMVC1-RC2出错
安装AspNetMVC1-RC2出错,错误提示如下:
Microsoft ASP.NET MVC 1.0 RC2 Setup Wizard ended prematurely
Microsoft ASP.NET MVC 1.0 RC2 Setup Wizard ended prematurely because of an error. Your system has not been modified. To install this program at a alter time, run the Setup Wizard again.
找了很多资料,发现两个服务需要安装:
.Net Optimization Service
ASP.Net State Service.
安装.Net Optimization Service执行如下命令
%WINDIR%\Microsoft.NET\Framework\v2.0.50727\mscorsvw.exe -i
然后启动.Net Optimization Service服务,重新安装AspNetMVC1-RC2,就可以了。