If you open up Windows 2012 Server Manager, go to Roles and Features. Then click on the IIS Web Server Role and make sure:

a) You have the IIS Web Server Role installed with the following features enabled:

b) You have the IIS Web Server - Application Development features enabled:

c) You have the following .NET 4.5 Features installed: