first of all you have to install the dotnet framework 2 then in command prompt go to
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>
directory whrer C:\ is your system dir.
then just type “aspnet_regiis.exe -i” command (without quots)

then tool will show something like 

Start installing ASP.NET (2.0.50727).
-------------------------------------

Finished installing ASP.NET (2.0.50727).

and now you can host your ASP.NET 2.0 website with few changes in your webconfig file in your project.

Have a good day.