This is an old revision of the document!
Requirements
If you do not have .NET 4.0 installed, you will need to do so before continuing.
ASP.NET Registration Tool
aspnet_regiis.exe allows you to register ASP.NET in IIS and update the script maps for all application pools or specific paths.
Run Command Prompt as Administrator.
If you have no other ASP.NET applications
32-bit machines:
code_formatdos|code_formatdos|code_formatdos|code format="dos"
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -i
<code> 64-bit machines: code_formatdos|code_formatdos|code_formatdos|code format="dos"
%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis -i
<code> NOTE: If you receive the message “aspnet_regiis is not a recognized operable program or batch file” when you run this command you may be missing key files in your .NET 4.0 install. To fix this: visit the following website, http://www.microsoft.com/en-us/download/details.aspx?id=17851, and install 4.0 again.
If you have other ASP.NET applications
Where path is the root directory of the website in IIS. 32-bit machines: code_formatdos|code_formatdos|code_formatdos|code format="dos"
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -iru
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -s path
<code> 64-bit machines: code_formatdos|code_formatdos|code_formatdos|code format="dos"
%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis -iru
%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis -s path
<code>