If you see this error you havent installed the prerequistes for ASP.NET 4.

Try This

1. Open Visual Studio Command Prompt
2. Type the following:

aspnet_regiis.exe -i

3.
Run the command

4. Try your service again... it should be working :-)

This basically installs the necessary ASP pieces to get your service up and working!