如果,你先装的.net,再装的iis的话:Aspnet_regiis.exe -iASP.NET IIS Registration Tool (Aspnet_regiis.exe) Allows an administrator or installation program to update the scriptmaps for an ASP.NET application to point to the ASP.NET ISAPI version associated with the tool. You can also use the tool to perform other ASP.NET configuration operations. Note: Aspnet_regiis.exe can be found in "%windir%\Microsoft.NET\Framework\v1.1.xxxx" where xxxx is the build number of the .NET Framework you are using.
Allows an administrator or installation program to update the scriptmaps for an ASP.NET application to point to the ASP.NET ISAPI version associated with the tool. You can also use the tool to perform other ASP.NET configuration operations.
Note: Aspnet_regiis.exe can be found in "%windir%\Microsoft.NET\Framework\v1.1.xxxx" where xxxx is the build number of the .NET Framework you are using.