重新安装ASP.NET命令

重新安装ASP.NET

c:\windows\microsoft.net\framework\v4.0139\aspnet_regiis.exe -i(安装aspnet 4.0)

如果服务器上运行web站点,需要在站点的属性中调整成aspnet.2.0,并确认是否已经在web扩展中启用了aspnet4.0

重新安装ASP.NET

c:\windows\microsoft.net\framework\v4.0139\aspnet_regiis.exe -i(安装aspnet 4.0)

如果服务器上运行web站点,需要在站点的属性中调整成aspnet.2.0,并确认是否已经在web扩展中启用了aspnet4.0