Sometimes when you try to create a Web Project Visual Studio complains that it cant create ASP.NET project. This happens when you deploy ASP.NET application to a new web server it shows all code and not output. Usually its the fact that ASP.NET is not registered with IIS. If we register it it will work cool.
Go to Start –> All Programs–> Visual Studio .NET 2003 –> Visual Studio Tools–> Visual Studio Command Prompt. Type the following command, it will fix most of the stuff. This should work even if you install .NET framework after IIS or other way round. If you dont have Visual Studio.NET installed on PC, then you just need to go to C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 (replace with your Windows Directory and .NET version) through command prompt and type below command.