I am getting MIME is not registered error when I run WCF service. I used this link to resolve this issue. After that I started getting another error which asked me to regist
I had tried this once before on a Server Core Installation with the GUI installed. Similar to what the original poster saw I was Dropped into a Black Screen. not sure if he saw the same thing, but you can recover from this by reinstalling the GUI instead of starting a clean install. On 2012, Uninstall .NET 4.5 as a last resort, and if you completey remove all .net, don't be surprised to see the Command prompt on reboot. For help on GUI re installation see: https://www.linkedin.com/pulse/20140618170857-12975178-procedure-to-recover-gui-in-windows-2012-and-2012r2-net-framework-feature-dependency-in-windows-2012-2012-r2
we have to uninstall the 4.5 which comes under the Server roles not features. I am also attaching screen for the reference.
For this open the Server manager -> Dashboard -> 2) Roles and Features and follow the following steps which are mentioned in screenshots.
Note: I am showing you how to Add Roles and Features wizard (install new features/roles) but if you want to uninstall/remove (uninstall new features/roles) then you have to click on “Start the Remove Roles and Features Wizard”. Please make sure that, first we have to install IIS and then .NET framework.

Select the server

You have to check ASP.NET 3.5 and ASP.NET 4.5 (based on requirement) options for register the .NET framework with IIS.

To install any features/roles, we have to check that option which we want to install. For uninstall any features/roles you have to uncheck it.
Please find the reference links below.
http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45
http://www.iis.net/learn/get-started/whats-new-in-iis-8/installing-iis-8-on-windows-server-2012