Go to the following directory on the machine hosting IIS. Navigate to the following directory.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 (or other .NET folder)
Execute the following command:
aspnet_regiis -i
Now your .NET applications should execute through IIS, provided you have IIS configured correctly.
