cd c:\
net stop w3svc
cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
aspnet_regiis.exe -ua
aspnet_regiis.exe -i
net start w3svc
还可以试一下
You may get an error as above, which suggests that you should run: %systemroot%\system32\inetsrv\APPCMD.EXE migrate config "site_name" For once the instructions are correct... just open an admin command window, paste the command from your error message in there and run it.