Quantcast
Channel: Geekswithblogs.net
Viewing all articles
Browse latest Browse all 6441

This option is not supported on this version of the operating system. Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog

$
0
0

Originally posted on: http://geekswithblogs.net/naijacoder/archive/2014/01/14/155192.aspx

I was trying yo setup MVC and VS 2012 on my Windows 8 PC.
But when i ran a sample MVC page i keep getting a blank page.
So I taught i haven't registered ASP.NET 4 in IIS so i wanted to to use the aspnet_regiis.exe  from the cmd I later found out that you can't use that to register it anymore...its old schol now :(

Any for you to get it working just try any of these:

To install or uninstall ASP.NET 4.5 on Windows 8 or Windows Server 2012, use one of the following options:
  • Run the following command from an administrative command prompt: dism /online /enable-feature /featurename:IIS-ASPNET45
  • For Windows 8 client computers, turn on "IIS-ASPNET45" in "Turn Windows Features On/Off" under "Internet Information Services-> World Wide Web Services -> Application Development Features -> ASP.NET 4.5".
  • For Windows Server 2012 computers, enable "IIS-ASPNET45" using Server Manager, under "Web Server (IIS) -> Web Server ->Application Development -> ASP.NET 4.5".
The first one did the trick for me.
You can read more here


Viewing all articles
Browse latest Browse all 6441

Trending Articles